← Back to team overview

yade-users team mailing list archive

Re: Contact forces

 


Thanks Václav !

Le jeudi 07 janvier 2010 à 11:45 +0100, Václav Šmilauer a écrit :
> > So I need to save my simulation to a file file.xml.bz2 then load it,
> No. Why loading simulation if you already have it in memory?
> > Contactforces are then shown for the last iteration no?
> Yes, the current state.
> > what if I want to see the variation of contact forces along my
> > simulation ? 
> You have to same them along the way.
> > In fact, it will be very useful for me write these contact forces into a
> > file to do some postprocessings on them. can you tell me how ?
> Learn python, write function that will output things you need to a file,
> add an engine like
> 
> 	PeriodicPythonRunner(command="yourFunctionToSaveData()",...)
> 
> and that's it.
> 
> Cheers, v
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp




References