how to ignore the sphere's id in a clump when extract particles's information

Asked by William

Hello,
In order to simulate the rough wall, I used the next code:

bodyList = []
for ii in range(0,5):
bodyList.append(O.bodies.append(sphere([ii,0.5,0.5],.5,material=mat)))
wallClump = O.bodies.clump(bodyList)

The wall is consisted of many spheres. However, when I extract the information of particles (exclude the wall spheres), these wall spheres may be considered automatically by YADE. I want to know how to delete these wall spheres’ id but keep the clump’s.

I don't know if I've stated my problem clearly.

Question information

Language:
English Edit question
Status:
Expired
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

Hi,

Which information do you want to access, exactly ? (while disregarding boundary bodies, if I understood correctly)
Rephrasing the whole question might help, actually ;-)

Jerome

Revision history for this message
William (qfxx-123) said :
#2

Hi,
I want to extract the contact information between soil particles, but the wall spheres are extracted at the same time because they contact with the soil particles as well, which cause a lot of trouble for my post-processing work.

Xujin

Revision history for this message
Jan Stránský (honzik) said (last edit ):
#3

> I don't know if I've stated my problem clearly.

no, sorry.

The answer very much depends on the definition of "extract", "automatically by YADE" etc.
A MWE [1] would help very much.
Anyway, you have all needed information about the boundary particles, so the ignoring is "easy".

> which cause a lot of trouble for my post-processing work

One approach is to export data "automatically" and let the "ignore" step for the postprocessing work..

Cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.