← Back to team overview

yade-users team mailing list archive

Re: Contact forces

 

> 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





Follow ups

References