← Back to team overview

yade-users team mailing list archive

Re: [Question #701803]: Use of O.Step and O.Pause when saving Packing

 

Question #701803 on Yade changed:
https://answers.launchpad.net/yade/+question/701803

    Status: Open => Answered

Robert Caulk proposed the following answer:
>>I assigned a new material and just use O.Step() in a loop.

This is not really the reason for O.step, although it works. The best
way to collect information during a simulation is highlighted in the
documentation: please review our PyRunners [1] and O.run [2].

>> but how O.Step can work if O.engine is not defined?

There is a default engine list assigned to every simulation. Type
"O.engines" in your terminal to see.


[1]https://yade-dem.org/doc/user.html#running-python-code
[2]https://yade-dem.org/doc/user.html#stop-conditions

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.