Fix move/mesh wiggle restart

Submitted by sbateman on Mon, 03/18/2013 - 17:51

Is there a way to restart a simulation that has fix move/mesh with the "wiggle" style, and have the simulation continue the oscillatory motion from where it left off? According to the docs (and some tests that I ran), the wiggle style uses X0 and delta from "the time the fix is specified" in the input file. In a restarted simulation, this time is *not* the same as in the original simulation that produced the restart file. I want the fix move/mesh motion to continue as if from t = 0, not t = whatever in the restart file.

I should also note that, even though the docs for fix move also say that delta is "the time elapsed since the fix was specified", that's actually not true since fix move (not move/mesh) continues the oscillatory motion of the "wiggle" style from the correct phase.

This is for LIGGGHTS version 2.3, by the way.

Thanks.

ckloss's picture

ckloss | Mon, 03/25/2013 - 18:28

Hi Sam,

thanks for the hint.

>> that's actually not true since fix move (not move/mesh)
Fix move and fix move/mesh use different ways of performing the movement. Fix move/mesh was conceived in a way that multiple motions can be superposed, so it has a somehow more complicated way of doing the "move". Anyway, I'll fix that for the next version!

Cheers
Christoph