Dump custom

Dear Lammps users,

I am using the following dump command to view the trajectories of atoms.

Dear Lammps users,

I am using the following dump command to view the trajectories of atoms.

dump 1 all custom 10000 al.lammpstrj id type x y z

It gives output as :

ITEM: TIMESTEP
0
ITEM: NUMBER OF ATOMS
30
ITEM: BOX BOUNDS xy xz yz pp pp pp
-2.37945 4.7589 -2.37945
0 4.12133 0
0 12.99 0
ITEM: ATOMS id type x y z

I would also like to get the temperature at every timestep when I am dumping
the cooridnates in the same dump file. Is it possible to get the temperature
also along with the timestep?

no. there are no provisions to output scalar properties in the LAMMPS
dump file format, only per atom data, either directly or though
computes, fixes or variables. apart from that, there is no program
that would be able to read such a non-canonical dump file with
additional temperature or other non-atomic data.

the only dump file format in LAMMPS supporting the output of custom
global/scalar data is the NetCDF dump style in the USER-NC-DUMP
package.

axel.

axel.