fix rheo/pressure command
Syntax
fix ID group-ID rheo/pressure type1 pstyle1 args1 ... typeN pstyleN argsN
ID, group-ID are documented in fix command
rheo/pressure = style name of this fix command
one or more types and pressure styles must be appended
types = lists of types (see below)
pstyle = linear or tait/water or tait/general or cubic or ideal/gas or background
linear args = none tait/water args = none tait/general args = exponent \(gamma\) (unitless) cubic args = cubic prefactor \(A_3\) (pressure/density^2) ideal/gas args = heat capacity ratio \(gamma\) (unitless) background args = background pressure \(P[b]\) (pressure)
Examples
fix 1 all rheo/pressure * linear
fix 1 all rheo/pressure 1 linear 2 cubic 10.0
fix 1 all rheo/pressure * linear * background 0.1
Description
Added in version 29Aug2024.
This fix defines a pressure equation of state for RHEO particles. One can define different equations of state for different atom types. An equation must be specified for every atom type.
One first defines the atom types. A wild-card asterisk can be used in place
of or in conjunction with the types argument to set values for multiple atom
types. This takes the form “*” or “*n” or “m*” or “m*n”. If
The types definition is followed by the pressure style, pstyle. Current
options linear, taitwater, and cubic. Style linear is a linear
equation of state with a particle pressure
where
Style tait/water is Tait’s equation of state:
Style tait/general generalizes this equation of state
where
Style ideal/gas is the ideal gas equation of state
where
The background style acts differently than the rest as it
only adds a constant background pressure shift
Restart, fix_modify, output, run start/stop, minimize info
No information about this fix is written to binary restart files. None of the fix_modify options are relevant to this fix. No global or per-atom quantities are stored by this fix for access by various output commands. No parameter of this fix can be used with the start/stop keywords of the run command. This fix is not invoked during energy minimization.
Restrictions
This fix must be used with an atom style that includes density such as atom_style rheo or rheo/thermal. This fix must be used in conjunction with fix rheo. The fix group must be set to all. Only one instance of fix rheo/pressure can be defined.
This fix is part of the RHEO package. It is only enabled if LAMMPS was built with that package. See the Build package page for more info.
Default
none