← Back to team overview

yade-users team mailing list archive

Re: [Question #220639]: saving simulation at certain time step

 

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

Bruno Chareyre posted a new comment:
I would not recommend the text save if it can be avoided. 
The reason is that everything is lost (mechanical paremeters, contact forces,...).  A simulation generated on this basis will in most cases give a mechanically unstable state, so you need an additional "initialisation" phase after reloading (maybe not 1million steps, but still).

O.save() works quite well, and it will give you exactly the state of the simulation where you left it.
Note also that O.save("name.xml") is bad.
O.save("name.yade") is a lot faster and gives smaller files.
O.save("name.yade.gz") is even smaller, 20 times smaller than "name.xml".

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.