Pause and resume a simulation with warm start

16 views
Skip to first unread message

Linwei He

unread,
Jun 7, 2022, 11:43:45 AM6/7/22
to ProjectChrono
Hi,

I am trying to write a function that can pause the simulation, and save the state variables to a file, which would allow the simulation to be terminated and then resumed using a warm start mechanism. This function can help create "recovery points" during a simulation.

Currently I am saving state variables covering position, rotation, velocity and acceleration data (for sake of simplicity, I only used gravity load, so no need to save external loads). However, the paused & resumed simulation process is slightly different from a continuous one. I wonder if I have missed some data or settings, could you please help me out?

Thanks!  
Reply all
Reply to author
Forward
0 new messages