PLUTO
|
PVTE EoS header file. More...
Go to the source code of this file.
Classes | |
struct | func_param |
Macros | |
#define | T_CUT_RHOE 10.0 |
Sets the lowest cut-off temperature used in the PVTE_LAW equation of state. More... | |
#define | PV_TEMPERATURE_TABLE YES |
#define | TV_ENERGY_TABLE YES |
PVTE EoS header file.
Contains basic macro definitions, function prototypes and structure definition used by the PVTE_LAW equation of state. In this module, two equations of state 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() |
Definition in file eos.h.
#define T_CUT_RHOE 10.0 |