yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #10067
[Question #253483]: Problem about density Scaling
New question #253483 on Yade:
https://answers.launchpad.net/yade/+question/253483
Hi all,
I want to use the desity scaling in a numerical test. The script as follows:
O.engines=[
ForceResetter(),
……
NewtonIntegrator(damping=0.2, label='Newton'), #damping=0.999
GlobalStiffnessTimeStepper(label='ts'),
……
]
O.timingEnabled=1
timing.reset()
O.dt=.5*utils.PWaveTimeStep()
Newton.densityScaling=True
for b in O.bodies:
if isinstance(b.shape,Sphere):
b.state.mass=1.0e10*b.state.mass
However, when the code run after some steps, all the particles have disappeared.
Anyone can help me?
Thanks a lot!
Henry
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.