32 virtual std::string
fluidName()
const override;
41 virtual Real
T_from_v_e(Real
v, Real e)
const override;
68 virtual Real
p_from_v_e(Real
v, Real e)
const override;
87 virtual void cp_from_v_e(Real
v, Real e, Real & cp, Real & dcp_dv, Real & dcp_de)
const override;
106 virtual void cv_from_v_e(Real
p, Real
T, Real & cv, Real & dcv_dv, Real & dcv_de)
const override;
115 virtual Real
mu_from_v_e(Real
v, Real e)
const override;
124 virtual Real
k_from_v_e(Real
v, Real e)
const override;
145 rho_from_p_T(Real
p, Real
T, Real &
rho, Real & drho_dp, Real & drho_dT)
const override;
147 const ADReal & temperature,
150 ADReal & drho_dT)
const override;
168 virtual void v_from_p_T(Real
p, Real
T, Real &
v, Real & dv_dp, Real & dv_dT)
const override;
188 virtual void h_from_p_T(Real
p, Real
T, Real &
h, Real & dh_dp, Real & dh_dT)
const override;
208 virtual void e_from_p_T(Real
p, Real
T, Real & e, Real & de_dp, Real & de_dT)
const override;
246 virtual void cp_from_p_T(Real
p, Real
T, Real & cp, Real & dcp_dp, Real & dcp_dT)
const override;
264 virtual void cv_from_p_T(Real
p, Real
T, Real & cv, Real & dcv_dp, Real & dcv_dT)
const override;
284 virtual void k_from_p_T(Real
p, Real
T, Real & k, Real & dk_dp, Real & dk_dT)
const override;
305 mu_from_p_T(Real
p, Real
T, Real &
mu, Real & dmu_drho, Real & dmu_dT)
const override;
309 void s_from_p_T(Real, Real, Real &, Real &, Real &)
const override
316 using SinglePhaseFluidProperties::beta_from_p_T;
317 using SinglePhaseFluidProperties::cp_from_p_T;
318 using SinglePhaseFluidProperties::cp_from_v_e;
319 using SinglePhaseFluidProperties::cv_from_p_T;
320 using SinglePhaseFluidProperties::cv_from_v_e;
321 using SinglePhaseFluidProperties::e_from_p_rho;
322 using SinglePhaseFluidProperties::e_from_p_T;
323 using SinglePhaseFluidProperties::h_from_p_T;
324 using SinglePhaseFluidProperties::k_from_p_T;
325 using SinglePhaseFluidProperties::k_from_v_e;
326 using SinglePhaseFluidProperties::mu_from_p_T;
327 using SinglePhaseFluidProperties::mu_from_v_e;
328 using SinglePhaseFluidProperties::p_from_v_e;
329 using SinglePhaseFluidProperties::rho_from_p_T;
330 using SinglePhaseFluidProperties::s_from_p_T;
331 using SinglePhaseFluidProperties::T_from_p_h;
332 using SinglePhaseFluidProperties::T_from_v_e;
333 using SinglePhaseFluidProperties::v_from_p_T;
DualNumber< Real, DNDerivativeType, true > ADReal
const InputParameters & parameters() const
void mooseError(Args &&... args) const
Common class for single phase fluid properties.
e e e e s T T T T T rho T
e e e e s T T T T T rho v v T e h
Fluid properties provided as multiple-variable functions of temperature and pressure.
virtual Real e_from_p_rho(Real p, Real rho) const override
Specific internal energy from pressure and density.
void initialSetup() override
Functions are constructed after fluid properties, so we delay the getting of the Function.
virtual Real cv_from_v_e(Real v, Real e) const override
Isochoric specific heat from specific volume and specific internal energy.
bool _initialized
whether the object is initialized, eg, the functions have been retrieved from the problem
virtual Real T_from_v_e(Real v, Real e) const override
Temperature from specific volume and specific internal energy.
virtual Real k_from_p_T(Real p, Real T) const override
Thermal conductivity from pressure and temperature.
const Real _integration_dT
Size of temperature intervals when integrating the specific heat to compute the specific energy.
const Function * _rho_function
function defining density as a function of temperature and pressure
const bool _cv_is_constant
whether a constant isochoric specific heat is used
void s_from_p_T(Real, Real, Real &, Real &, Real &) const override
virtual Real p_from_v_e(Real v, Real e) const override
Pressure from specific volume and specific internal energy.
const Real _e_ref
Reference specific energy.
virtual Real cv_from_p_T(Real p, Real T) const override
Isochoric specific heat capacity from pressure and temperature.
virtual Real k_from_v_e(Real v, Real e) const override
Thermal conductivity from specific volume and specific internal energy.
virtual Real e_from_p_T(Real p, Real T) const override
Specific internal energy from pressure and temperature.
virtual Real rho_from_p_T(Real p, Real T) const override
Density from pressure and temperature.
const Function * _mu_function
function defining dynamic viscosity as a function of temperature and pressure
virtual Real h_from_p_T(Real p, Real T) const override
Specific enthalpy from pressure and temperature.
virtual Real T_from_p_rho(Real p, Real rho) const
Temperature from pressure and density.
virtual std::string fluidName() const override
Fluid name.
virtual Real beta_from_p_T(Real p, Real T) const override
Thermal expansion coefficient from pressure and temperature.
virtual Real mu_from_v_e(Real v, Real e) const override
Dynamic viscosity from specific volume and specific internal energy.
const Function * _cp_function
function defining specific heat as a function of temperature and pressure
const Function * _k_function
function defining thermal conductivity as a function of temperature and pressure
Real s_from_p_T(Real, Real) const override
virtual Real v_from_p_T(Real p, Real T) const override
Specific volume from pressure and temperature.
virtual Real cp_from_p_T(Real p, Real T) const override
Isobaric specific heat capacity from pressure and temperature.
static InputParameters validParams()
const Real _T_ref
Reference temperature for the reference specific energy.
const Real _cv
constant isochoric specific heat
virtual Real T_from_p_h(Real p, Real h) const override
Temperature from pressure and specific enthalpy.
virtual Real cp_from_v_e(Real v, Real e) const override
Isobaric specific heat from specific volume and specific internal energy.
virtual Real mu_from_p_T(Real p, Real T) const override
Dynamic viscosity from pressure and temperature.