the values of the geometric parameters

Asked by hafsa

hello everybody,
i want just to know if the values of the geometric parameters in the code are correct or not because i think that the dimension of system is the double what i wrote, the values of the dimension which i want to have it are (the system is a channel with a flat frictional plane with boundaries) H(height)=7D, L(length)=20D, W(width)=68.395D and N(number of particles)=10920 and D(particle's diameter)=1.
And in my code i wrote:
r_Prt=.5 #radius of the particles
#Configuration:
length=40. #Streamwise length of the periodic cell, in diameter
width=160 #Spanwise length of the periodic cell, in diameter
height=20 #heigth of the periodic cell

#Definition of the semi-periodic cell
O.periodic = True
O.cell.setBox(length,width,height)

# create inclined flat base and walls
wall=O.bodies.append(geom.facetBox(center=(20,80,9),extents=(20,68.396,7),wallMask=12,wire=False,material='Matwall', color=(1,0,1)))
ground=O.bodies.append(box(center=(20.2,80,2),extents=(20,68.396,0),fixed=True,wire=False,material='Matwall',color=(0.8,0.8,0.8)))

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

documentation of box explicitely state that extents are half-sizes [1].
with facetBox I guess it is the same. The documentation could/should be improved, please open an issue on gitlab if you like [3]

cheers
Jan

[1] https://yade-dem.org/doc/yade.utils.html#yade.utils.box
[2] https://yade-dem.org/doc/yade.geom.html#yade.geom.facetBox
[3] https://gitlab.com/yade-dev/trunk/issues

Can you help with this problem?

Provide an answer of your own, or ask hafsa for more information if necessary.

To post a message you must log in.