About output "step" in *.txt by "print"

Hi,

In log.lammps file has:

Step x y z t u v

0 70 40 39.15 40.265389 40.000036 37.838973
100 69.998102 40 39.162663 40.263491 40.000036 37.851636
200 70.001114 40 39.168254 40.266503 40.000036 37.857227

Step: 0, 100, 200 …

I need output “step” like in this way in *.txt by “print” command.
Anyone has any suggestion.

Hi,

In log.lammps file has:

Step x y z t u v
       0 70 40 39.15 40.265389 40.000036
37.838973
     100 69.998102 40 39.162663 40.263491 40.000036
37.851636
     200 70.001114 40 39.168254 40.266503 40.000036
37.857227

Step: 0, 100, 200 .....

I need output "step" like in this way in *.txt by "print" command.
Anyone has any suggestion.

define and use an equal style variable for each property.

axel

No style in variable is relative with timestep. Could you make it more
clear?

please re-read the documentation more carefully. equal style variables
can access all thermo keywords, that includes timestep.

axel.