forked from lijiext/lammps
74 lines
2.5 KiB
Plaintext
74 lines
2.5 KiB
Plaintext
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
:link(ld,Manual.html)
|
|
:link(lc,Section_commands.html#comm)
|
|
|
|
:line
|
|
|
|
compute temp/deform/eff command :h3
|
|
|
|
[Syntax:]
|
|
|
|
compute ID group-ID temp/deform/eff :pre
|
|
|
|
ID, group-ID are documented in "compute"_compute.html command
|
|
temp/deform/eff = style name of this compute command :ul
|
|
|
|
[Examples:]
|
|
|
|
compute myTemp all temp/deform/eff :pre
|
|
|
|
[Description:]
|
|
|
|
Define a computation that calculates the temperature of a group of
|
|
nuclei and electrons in the "electron force field"_pair_eff.html
|
|
model, after subtracting out a streaming velocity induced by the
|
|
simulation box changing size and/or shape, for example in a
|
|
non-equilibrium MD (NEMD) simulation. The size/shape change is
|
|
induced by use of the "fix deform/eff"_fix_deform_eff.html command. A
|
|
compute of this style is created by the "fix
|
|
nvt/sllod/eff"_fix_nvt_sllod_eff.html command to compute the thermal
|
|
temperature of atoms for thermostatting purposes. A compute of this
|
|
style can also be used by any command that computes a temperature,
|
|
e.g. "thermo_modify"_thermo_modify.html, "fix npt/eff"_fix_nh.html,
|
|
etc.
|
|
|
|
The calculation performed by this compute is exactly like that
|
|
described by the "compute temp/deform"_compute_temp_deform.html
|
|
command, except that the formula for the temperature includes the
|
|
radial electron velocity contributions, as discussed by the "compute
|
|
temp/eff"_compute_temp_eff.html command. Note that only the
|
|
translational degrees of freedom for each nuclei or electron are
|
|
affected by the streaming velocity adjustment. The radial velocity
|
|
component of the electrons is not affected.
|
|
|
|
[Output info:]
|
|
|
|
This compute calculates a global scalar (the temperature) and a global
|
|
vector of length 6 (KE tensor), which can be accessed by indices 1-6.
|
|
These values can be used by any command that uses global scalar or
|
|
vector values from a compute as input. See "this
|
|
section"_Section_howto.html#howto_15 for an overview of LAMMPS output
|
|
options.
|
|
|
|
The scalar value calculated by this compute is "intensive". The
|
|
vector values are "extensive".
|
|
|
|
The scalar value will be in temperature "units"_units.html. The
|
|
vector values will be in energy "units"_units.html.
|
|
|
|
[Restrictions:]
|
|
|
|
This compute is part of the USER-EFF package. It is only enabled if
|
|
LAMMPS was built with that package. See the "Making
|
|
LAMMPS"_Section_start.html#start_3 section for more info.
|
|
|
|
[Related commands:]
|
|
|
|
"compute temp/ramp"_compute_temp_ramp.html, "fix
|
|
deform/eff"_fix_deform_eff.html, "fix
|
|
nvt/sllod/eff"_fix_nvt_sllod_eff.html
|
|
|
|
[Default:] none
|