I have a dump file from a triclinic box and unwrapped coordinates that I wish to read in and process using 0 time steps (if possible) then write out using unwrapped coordinates. My intention is to convert the dump file coordinate from wrapped to unwrapped coordinatesusing for some post processing. I can only get it to work using a time increment of 1 (time_step of 0.001 femtosecond here). It seems to have worked, but I have still moved it slightly, I think. Is there a way to do this without changing the true atom positions?
Here is my file I ran. I could see at least 1 atom that moved from 1 side of the borders to the other in the simulation when I compared the dump file, so I think it did unwrap the coordinates. The dump file here contains atom positions and atom properties from a series of stress controlled experiments from 0 stress to failure as the sample was sheared. The original dump files were written with x y x coordinates and pbc set as yes. I am trying to figure out if the atom positions in an unwrapped condition can be determined by converting the cooridnates to xu yu zu without rerunning the entire simulation sequence from scratch.
Here is an example I could get to run. the 240000 refers to the dumped time step and the stress was -0.2 gpa. There are actually many others starting a 0 gpa stress and being increased to break point. I cant get it to run with time_npt3 value as 0
read_restart restart.equil remap
pair_style eam/alloy
pair_coeff * * PdH_Zhou.eam.alloy Pd H
# ------------------------ VARIABLES -----------------------------
variable time_step equal 0.001
variable time_npt3 equal 1
variable tdamp equal "v_time_step*100"
variable pdamp equal "v_time_step*1000"
# temp1 is 100 and read into file from lammps call as input variable
reset_timestep 240000
read_dump dump_-0.2gpa_${temp1}K.240000.custom 240000 x y z
fix 1 all npt temp \{temp1\} {temp1} \{tdamp\} x 0\.0 0\.0 {pdamp} y 0.0 0.0 \{pdamp\} z 0\.0 0\.0 {pdamp} xy 0.0 0.0 \{pdamp\} xz 0\.0 0\.0 {pdamp} yz 0.0 0.0 ${pdamp} flip yes
dump 3 all custom 240000 dump_-0.2gpa_\{temp1\}K\.240000\.uwt\.custom id xu yu zu
dump\_modify 3 sort id
dump\_modify 3 pbc no
run {time_npt3}
unfix 1
undump 3
# SIMULATION DONE
print "All done"