Wednesday, March 29, 2017

Useful Info on LAMMPS:

Professor.....among the last four column 1st one is the z coordinate value. In our case it is a 2d simulation so this value is always zero.
The last three values are as following.......

"The final 3 nx,ny,nz values on a line of the Atoms entry are optional. LAMMPS only reads them if the "true flag" command is specified in the input command script. Otherwise they are initialized to 0 by LAMMPS. Their meaning, for each dimension, is that "n" box-lengths are added to xyz to get the atom's "true" un-remapped position. This can be useful in pre- or post-processing to enable the unwrapping of long-chained molecules which wind thru the periodic box one or more times. The value of "n" can be positive, negative, or zero. For 2-d simulations specify nz as 0"


This is what true flag command says.....

"read atom positions  and dump atom positions in one of 2 formats
  • flag = 0 -> read/dump only atom positions (remapped to periodic box)
  • flag = 1 -> dump atom positions plus integer box counts
  • flag = 2 -> read atom positions plus integer box counts
  • flag = 3 -> read/dump atom positions plus integer box counts
for each dimension, box count of "n" means add that many box lengths
  to get "true" un-remapped position, "n" can be positive, negative, or zero
 
Default = 0"

No comments:

Post a Comment