Applying a fix after some initial run

Hi all,

Is there a way to apply a fix after some initial run - just to make sure the fix is applied after system equilibrium is reached? Something along the line of:

Run until equilibrium

run ${nrun}

Apply the middle fix

fix some_fix groupiD ${vars}

Run post equilibrium

run ${nrun}

I tried using the syntax above, but the fix ended up being applied during the equilibrium run, not after it. Do I have to rely on restart/rerun or other forms of read/write data to achieve this?

Many thanks,
Quang

Hi all,

Is there a way to apply a fix after some initial run - just to make sure the
fix is applied after system equilibrium is reached? Something along the line
of:

# Run until equilibrium
run ${nrun}

# Apply the middle fix
fix some_fix groupiD ${vars}

# Run post equilibrium
run ${nrun}

I tried using the syntax above, but the fix ended up being applied during
the equilibrium run, not after it. Do I have to rely on restart/rerun or
other forms of read/write data to achieve this?

that makes no sense. what you have above is *exactly* how it should work.
you have to watch your output carefully. you can also use the "info"
command to print out a list of currently defined fixes. you have to
make certain, that your "some_fix" is not already defined and that you
are looking at the correct run commands.

axel.

I figured out the problems (more like my problem but I feel it could be worth sharing): I put the dump command between these run, which mess up my output…

Thanks, Axel.

QT