Reverting to the initial structure (data file)???

Hi,

I want to apply same movement on a sheet structure (same data file), but with different speeds.
What I was thinking is to use a loop, in which data file is read in each iteration (to revert to the initial structure), and movement speed is changed.

Hi,

I want to apply same movement on a sheet structure (same data file), but
with different speeds.
What I was thinking is to use a loop, in which data file is read in each
iteration (to revert to the initial structure), and movement speed is
changed.
-----------------------------------------
label loopa
variable i loop 20
run 50000
variable Rate equal \{Rate\}\+0\.01 fix move sheet move linear {Rate} NULL NULL units box
next i
jump input.in loopa
unfix move
-----------------------------------------
However, I get this error:

ERROR: Cannot read_data after simulation box is defined

This is because I already read the data file at the beginning of the code.

Is there any method to solve this?
(The key issue is that I need the same initial structure for each speed)

you can use the "clear" command.

or you can use "write_dump" and "read_dump"

or you can simply write a small script that generates 20 input files
with the different speeds and then runs them one after the other.

the last approach has the benefit, that it can be trivially parallelized.

axel.