Dear LAMMPS Users
I am trying to extract dipole information to do post-processing using the following setup:
compute 1 all property/atom q xu yu zu
variable dipolex atom c_1[1]*c_1[2]
variable dipoley atom c_1[1]*c_1[3]
variable dipolez atom c_1[1]*c_1[4]
compute 2 all reduce sum v_dipolex
compute 3 all reduce sum v_dipoley
compute 4 all reduce sum v_dipolez
variable totaldipolex equal c_2
variable totaldipoley equal c_3
variable totaldipolez equal c_4
variable mytime equal step*dt
fix printdipole all ave/time 1 1 2 v_mytime v_totaldipolex v_totaldipoley v_totaldipolez file dipole.txt mode scalar format %.10f
run 100000
unfix 1
However, the data is too close together, the numbers are printed in the file without spaces, any suggestions to detect the error?
# Time-averaged data for fix printdipole
# TimeStep v_mytime v_totaldipolex v_totaldipoley v_totaldipolez
00.00000000000.40880711580.2697638354663.0738428181
20.00100000000.45893473980.3240651712663.0305273111
40.00200000000.51323675150.3586117365662.9911098237
60.00300000000.57093022820.3733777670662.9570037439
80.00400000000.63121858240.3686105253662.9295621367
100.00500000000.69330012550.3448037111662.9100017033
...................................................................................................
...................................................................................................
Sincerely
Eduardo