Problem with high value of material density
I would like to reduce the computational cost (increase the time step) by up-scaling the particle density to 109 kg⁄m^3 but when I launch the simulation, the particles dissapeared after a few iterations. It looks like they doesn't contact with the bottom side of the box. My script is attached below. Please give me any suggestions how I should deal with it. Thanks
#######
from math import pi
import os, datetime
from yade import pack, plot, qt, geom
sector_angle = 2*pi
layers_count = 5
x, y, z = (1, 1, 1)
initialAngle = radians(10)
targetVoid = 1
density = 1e6
frictionAngle = initialAngle
# create the box
O.bodies.
# create spheres
sp = pack.SpherePack()
sp.makeCloud((-x/2, -y/2, -z/2), (x/2, y/2, z/2), rMean=.03, rRelFuzz=.5)
# add spheres to simulation
O.materials.
sp.toSimulation
O.engines = [
ForceResett
InsertionSo
Interaction
# handle sphere+sphere and facet+sphere collisions
),
NewtonInteg
Translation
PyRunner(
]
def checkPorosity():
global frictionAngle
u = utils.porosity()
ev = u / (1 - u)
if ev > targetVoid:
else:
O.pause()
O.dt = .5 * PWaveTimeStep()
qt.View()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: