Dump file after minimizing in a loop

Hi all!

(Sorry for my English)
I have read this thread: http://lammps.sandia.gov/threads/msg25791.html
and yet I have not found answer.

I’m trying to dump after a minimization of static Simulation. (see below)
At the log file it seems that all the relevant variables are correct during the minimization.
(indent plane forces, location of the planes…)
Every dump file suppose to correspond to the last time step of the minimization (when the "if"condition is true).
However, each dump file contains the same position of atoms, identical to the position of atoms before the loop (initial position).
What should I change in order to dump the current position of atoms?

Thanks for the help and Happy new year!!
Leon.

Hi all!

(Sorry for my English)
I have read this thread: http://lammps.sandia.gov/threads/msg25791.html
and yet I have not found answer.

why don't you try reading the LAMMPS manual instead, in particular the
documentation for the commands "dump", "dump_modify" and "write_dump".

axel.

I have read the “dump” manual the section about the minimization, and I don’t need the initial time step in each dump, only the last one.
When I tried using “write_dump”, there was no error massage (as the manual is warning from), and it didn’t solve my problem.
And can you be more specific about the “dump_modify”? because minimization is mantioned ,there, only in context of “append”, it has not helped.

I guess it is something more basic that I miss.

Does the dump file contain at least two snapshots, the initial one
before the minimize and the last one after the minimize? It
should contain the last one if the minimization converged (see the
dump command doc page). It if didn’t converge, it won’t. If
the two snapshots have the same coords, it may be that the
atoms didn’t move far enough during minimization to change
the coords at the precision you are dumping them, The dump_modify
format command can be used to change the output precision
in the dump file.

Steve