LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

thermo_style command

Syntax:

thermo_style style args 

Examples:

thermo_style multi
thermo_style custom step temp pe eng press vol 

Description:

Set the style in which thermodynamic data is printed to the screen and log file.

Style one prints a one-line summary of thermodynamic info that is the equivalent of "thermo_style custom step temp epair emol eng press". The line contains only numeric values.

Style multi prints a multiple-line listing of thermodynamic info that is the equivalent of "thermo_style custom eng ke temp pe ebond eangle edihed eimp evdwl ecoul elong press". The listing contains numeric values and a string ID for each quantity.

Style granular is used with atom style granular and prints a one-line numeric summary that is the equivalent of "thermo_style custom step atoms gke grot".

Style custom is the most general setting and allows you to specify which of the quantities listed above you want printed on each thermodynamic timestep.

Also, all styles except custom have vol added to their list of outputs as a final printed quantity when the simulation box volume changes during the simulation.

The time-averaged quantities tave, pave, eave, peave are averaged over the last N thermodynamic outputs to the screen (not the last N timesteps), where N is the value set by the window option of the thermo_modify command (N = 10 by default).

Some fixes also generate quantities that can be appended to these lists each time thermodyanmic info prints out if enabled by the fix_modify command. See invidividual fix commands for more details, e.g. the fix nvt and fix npt commands.

Options invoked by the thermo_modify command can be used to set the one- or multi-line format of the print-out, the normalization of energy quantities (total or per-atom), and the numeric precision of each printed value.

Restrictions:

Atom style granular cannot compute the usual temperature and pressure settings because it stores atom masses differently. The gke and grot settings should be used instead (or use thermo style granular).

This command must come after the simulation box is defined by a read_data, read_restart, or create_box command.

Related commands:

thermo, thermo_modify, fix_modify

Default:

thermo_style one