← Back to team overview

yade-users team mailing list archive

[Question #665314]: save/load precedure

 

New question #665314 on Yade:
https://answers.launchpad.net/yade/+question/665314

Dear all,
i want to run a simulation(scriptA.py) to reach a stable state and save it with O.save('stableState.yade.gz') then do some plots in the same script.
after that i want to load saved file with O.load('stableState.yade.gz') in another script(scrptB.py), do some runs,make some plots and again save it as O.save('firstcaculation.yade.gz') for loading in third script(ScriptC.py)
and finally run ScriptC.py and do the rest of the simulation and finally save my final state with O.save('finalState.yade.gz').

Take a look at [1] please.
here is my question:
what parameters are supposed to be saved in every save/load procedure? and what parameters show be defined again in new script??



[1]    My Simulation Procedure:
##########################
ScrptA.py
.........(define parameters, packing, engines,......)
.........(some runs)
O.Save('StableState.yade.gz')
..............(some plots)
##########################
ScrptB.py
O.load('StableState.yade.gz')
.........(some runs)
O.Save('firstcalculation.yade.gz')
..............(some plots and......)
##########################
ScriptC.py
O.load('firstcalculations.yade.gz')
..........(some runs)
..........(some plots and .....)
O.save('finalsatate.yadegz.py')
##########################

thanks in advance
Azim


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