Loading saved state and GlobalStiffnessTimeStepper

Asked by Timothy Povall

Greetings all,
I'm having a strange problem with the loading of a saved simulation.
The simulation I'm running is a mill with periodic BC along the axis of rotation.
I'm saving (O.save(..)) every 20000 time steps. My problem is that when I try to reload, sometimes (not all the time) the GlobalStiffnessTimeStepper makes the timestep O.dt=NaN and then it crashes.

If I keep the timestep to be O.dt=.5*PWaveTimeStep(), then all is fine.

I'm using the following arguments for the timestepper:
GlobalStiffnessTimeStepper(timeStepUpdateInterval=10,timestepSafetyCoefficient=0.5,defaultDt=.5*PWaveTimeStep(),viscEl=True)

Any ideas as to what's going on here?

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chareyre (bruno-chareyre-9) said :
#1

It sounds like a bug. Could you please report a bug about that?
Does it returns NaN when the save/load occures at the exact iteration
when GSTS is supposed to compute something by any chance?
Bruno

Can you help with this problem?

Provide an answer of your own, or ask Timothy Povall for more information if necessary.

To post a message you must log in.