yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08427
Re: [Question #237426]: Run from a saved Yade model
Question #237426 on Yade changed:
https://answers.launchpad.net/yade/+question/237426
Status: Open => Answered
jduriez proposed the following answer:
Hello,
It's not really related with save/load in fact.
In the example script you are using, triax is a python variable
corresponding to an instance (I hope not mistaking about the words) of a
TriaxialStressController engine. This variable / instance of engine was
then introduced in the list of the Engines of the simulation (l.107)
But, in the code you gave us, triax corresponds to a *new* instance of a
TriaxialStressController engine, that has *nothing* to do with the
simulation ! (since it does not belong to engines list) That's why it
does not affect the model...
The solution is to modify the right Engine belonging to O.engines
(probably by triax = O.engines[4] ?)
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.