LAMMPS Users-
I have an input file with the general format:
-
Create box (p p p with atom_style atomic and units metal)
-
Build atoms
-
Energy Minimization (min_style cg)
-
Assign temperature and pressure via fix NPT
-
Run equilibration MD
-
Deform the lattice at a constant temperature and shear stress via fix NPT
-
Run production MD
I want to run my code with a timestep 0.001 and then again with a timestep 0.002 to check the dependence on step size. If I place the timestep command before step 1, my deformation response in step 6 shows a major dependence on the timestep size (not good). However, if I place my timestep command before steps 4 and 5, without making any other changes to my code, then my deformation response in step 6 is independent of the timestep size (good).
I know that some energy minimization routines require a timestep to be specified, but as far as I understand, min_style cg is not one of them.
Any thoughts on what I might be doing wrong? It’s been a while since I have been stumped by LAMMPS!
Thanks,
-Doug