Helmholtz
-
class Helmholtz : public fprops::SinglePhaseFluidProperties
Base class for fluid properties based on Helmholtz equation of state.
This class is based on
HelmholtzFluidProperties.h
fromidaholab/moose/fluid_properties
moduleSubclassed by fprops::Air, fprops::Ammonia, fprops::CarbonDioxide, fprops::Helium, fprops::Methane, fprops::Nitrogen, fprops::Oxygen
Public Functions
-
Helmholtz(double R, double M, double rho_c, double T_c)
- Parameters:
R – Universal gas constant \([J/(mol-K)]\)
M – Molar mass \([kg/mol]\)
rho_c – Critical density \([kg/m^3]\)
T_c – Critical temperature \([K]\)
-
virtual State rho_T(double rho, double T) const override
Compute thermodynamical state given density and temperature.
- Parameters:
rho – Density \([kg/m^3]\)
T – Temperature \([K]\)
-
virtual State rho_p(double rho, double p) const override
Compute thermodynamical state given density and pressure.
- Parameters:
rho – Density \([kg/m^3]\)
p – Pressure \([Pa]\)
-
virtual State p_T(double p, double T) const override
Compute thermodynamical state given pressure and temperature.
- Parameters:
p – Pressure \([Pa]\)
T – Temperature \([K]\)
-
virtual State v_u(double v, double u) const override
Compute thermodynamical state given specific volume and internal energy.
- Parameters:
v – Specific volume \([m^3/kg]\)
u – Specific internal energy \([J/kg]\)
-
virtual State h_s(double h, double s) const override
Compute thermodynamical state given specific enthalpy and entropy.
- Parameters:
h – Specific enthalpy \([J/kg]\)
s – Entropy \([J/(kg-K)]\)
-
Helmholtz(double R, double M, double rho_c, double T_c)
Models
-
template<typename T>
class IdealGasLead The leading term in the EOS used to set the desired reference state.
\(\alpha = \ln(\delta) + a_1 + a_2 \tau\)
- Template Parameters:
T – The basic data type
-
template<typename T>
class IdealGasLogTau Log(tau) term.
\(\alpha = a_1\ln(\tau)\)
- Template Parameters:
T – The basic data type
-
template<typename T>
class IdealGasPower Sum of powers used for ideal part of \(\alpha\).
\(\alpha = \displaystyle\sum_{i=0}^n N_i \tau^{t_i}\)
- Template Parameters:
T – The basic data type
-
template<typename T>
class IdealEnthalpyEntropyOffset Offset for enthalpy and entropy.
\(\alpha = a_1 + a_2 \tau\)
- Template Parameters:
T – The basic data type
-
template<typename T>
class IdealPlanckEinsteinGeneralized Generalized Planck-Einstein model.
\( \alpha = \displaystyle\sum_{i=0}^{n} N_i \log(c_i + d_i \exp(\theta \tau)) \)
- Template Parameters:
T – The basic data type
-
template<typename T>
class IdealGasPlanckEinstein Planck-Einstein.
\( \alpha = \displaystyle\sum_{i=0}^{n} N_i \log(1 - \exp(-t_i \tau)) \)
- Template Parameters:
T – basic data type
-
template<typename T>
class IdealGasPlanckEinsteinFunctionT Planck-Einstein model as a function of temperature.
\( \alpha = \displaystyle\sum_{i=0}^{n} N_i \log(1 - \exp({v_i \over T_{crit}} \tau)) \)
- Template Parameters:
T – The basic data type
-
template<typename T>
class ResidualPower Power model.
\( \alpha = \displaystyle\sum_{i=0}^{n} N_i \delta^{d_i} \tau^{t_i} \)
- Template Parameters:
T – basic data type
-
template<typename T, typename L>
class ResidualPowerExp Power model with exponential term.
\( \alpha = \displaystyle\sum_{i=0}^{n} N_i \delta^{d_i} \tau^{t_i} \exp(-\delta^{l_i}) \)
- Template Parameters:
T – basic data type
L – type of the
l
-coefficient
-
template<typename T>
class ResidualGaussian Gaussian model for residual part.
\( \alpha = \displaystyle\sum_{i=0}^n N_i \delta^{d_i} \tau^{t_i} \exp(-\eta_i (\delta - \epsilon_i)^2 - \beta_i (\tau - \gamma_i)^2) \)
- Template Parameters:
T – The basic data type