PLUTO
4.4-patch2
|
PVTE EoS header file. More...
Go to the source code of this file.
Macros | |
#define | T_CUT_RHOE 10.0 |
Contains basic macro definitions, function prototypes and structure definition used by the PVTE_LAW equation of sweep. In this module, two equations of sweep are used:
Since these two equations can be nonlinear functions and PLUTO performs conversions between primitive and conservative variables quite often during a single update step, the employment of this EoS is more computationally intensive:
(T,rho) and all the dependencies on X become dependencies on
(T,rho). In this case the operations carried out during primitive to conservative and viceversa are:
The sequence of operation is handled by the following functions:
Main variables | Calling Function | T(p,rho,X) | e = e(rho,T,X) |
---|---|---|---|
(p,rho,X) | PrimToCons() | GetPV_Temperature() | InternalEnergy() |
Main variables | Calling Function | T(rho,e,X) | p = (rho,T,X) |
---|---|---|---|
(rho,e,X) | ConsToPrim() | GetEV_Temperature() | Pressure() |
#define T_CUT_RHOE 10.0 |
Sets the lowest cut-off temperature used in the PVTE_LAW equation of state. Zones with temperature below T_CUT_RHOE will be reset to this value and the internal energy will be redefined accordingly.