← Back to team overview

yade-users team mailing list archive

Re: [Question #705740]: GlobalStiffnessTimestepper gives dt of 0.0 when the saved file is restored


Question #705740 on Yade changed:

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
I was not questioning why you use multiple scripts to produce results, this is your business (although none of the reasons you list are applicable see [1,2], there are better solutions). The point is that it is better to avoid multiple scripts at least when asking questions, namely because nobody wants to go through 3 scripts to try and understand your problem.
And, in fact, by trying to provide a unique script for this question you would have find that reloading wasn't the cause of your problem, at all.
The only problem is to unblock the DOFs of bodies with null mass (facets).

[1]  According to https://www.yade-dem.org/wiki/Howtoask: "If the input of one script is the output of another script, then both scripts should be merged into one. That is: avoid sending multiple scripts just like you avoid sending input files to a script. If needed, the method to save and reload in one single script is illustrated here [2]." 
[2] https://gitlab.com/yade-dev/trunk/-/blob/3e9a209234b7f23241d5f4bdef1b586056e97582/examples/simple-scene/save-then-reload.py

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