No. of spheres in a packing
Hello, I m new in yade. I am trying to fill a box of size 0.1m*0.1m*0.1m with 9500 spheres of mean radius 2 mm and standard deviation of 0.1mm. This condition should be achieved after gravity deposition so that the packing should be stable. I used randomdense packing but it gives approx 16000 spheres. Can anyone help me how to achieve specific no. of spheres in random dense packing.
Below is my script for the same.
#modules import
from yade import pack
#define box of size 0.1*0.1*0.1
O.bodies.
#define packing
pred1=pack.
O.bodies.
#define engines
O.engines=[
]
O.dt=0.
density=2.65e3
mass=sum(
vs=mass/density #fine volume of solids by mass/ density of soil solids
def unbalance():
print('unbalanced Force', unbalancedForce())
poro=utils.
vol=round(
print('volume:', vol)
if vol<=0.001: #stop the simulation when final volume of 0.001m3 is reached
O.pause()
Thank you
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Amrisha Khandelwal for more information if necessary.