Go to the documentation of this file.
46 virtual Real
p_from_v_e(Real v, Real e,
const std::vector<Real> & x)
const override;
61 const std::vector<Real> & x,
65 std::vector<Real> & dp_dx)
const override;
75 virtual Real
T_from_v_e(Real v, Real e,
const std::vector<Real> & x)
const override;
90 const std::vector<Real> & x,
94 std::vector<Real> & dT_dx)
const override;
104 virtual Real
c_from_v_e(Real v, Real e,
const std::vector<Real> & x)
const override;
119 const std::vector<Real> & x,
123 std::vector<Real> & dc_dx)
const override;
133 virtual Real
rho_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
148 const std::vector<Real> & x,
152 std::vector<Real> & drho_dx)
const override;
162 virtual Real
e_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
177 const std::vector<Real> & x,
181 std::vector<Real> & de_dx)
const override;
191 virtual Real
c_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
206 const std::vector<Real> & x,
210 std::vector<Real> & dc_dx)
const override;
220 virtual Real
cp_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
230 virtual Real
cv_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
240 virtual Real
mu_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
250 virtual Real
k_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const override;
260 virtual Real
v_from_p_T(Real p, Real T,
const std::vector<Real> & x)
const;
275 const std::vector<Real> & x,
279 std::vector<Real> & dv_dx)
const;
289 virtual Real
e_from_p_rho(Real p, Real rho,
const std::vector<Real> & x)
const override;
304 const std::vector<Real> & x,
308 std::vector<Real> & de_dx)
const override;
319 void p_T_from_v_e(Real v, Real e,
const std::vector<Real> & x, Real & p, Real & T)
const;
338 const std::vector<Real> & x,
342 std::vector<Real> & dp_dx,
346 std::vector<Real> & dT_dx)
const;
356 Real
T_from_p_v(Real p, Real v,
const std::vector<Real> & x)
const;
371 const std::vector<Real> & x,
375 std::vector<Real> & dT_dx)
const;
385 Real
p_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
398 Real T, Real v,
const std::vector<Real> & x, Real & p, Real & dp_dT, Real & dp_dv)
const;
413 const std::vector<Real> & x,
417 std::vector<Real> & dp_dx)
const;
427 Real
e_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
442 const std::vector<Real> & x,
446 std::vector<Real> & de_dx)
const;
460 Real T, Real v,
const std::vector<Real> & x, Real & s, Real & ds_dT, Real & ds_dv)
const;
470 Real
c_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
485 const std::vector<Real> & x,
489 std::vector<Real> & dc_dx)
const;
499 Real
cp_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
509 Real
cv_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
519 Real
mu_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
529 Real
k_from_T_v(Real T, Real v,
const std::vector<Real> & x)
const;
550 constexpr
static const Real
R_molar = 8.3144598;
virtual Real c_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Speed of sound from pressure and temperature.
virtual Real v_from_p_T(Real p, Real T, const std::vector< Real > &x) const
Specific volume from pressure and temperature.
const Real _T_mix_max
maximum temperature of all components
Real T_from_p_v(Real p, Real v, const std::vector< Real > &x) const
Temperature from pressure and specific volume.
Common class for single phase fluid properties.
virtual Real mu_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Dynamic viscosity from pressure and temperature.
Real mu_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Dynamic viscosity from temperature and specific volume.
virtual Real k_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Thermal conductivity from pressure and temperature.
Real cp_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Isobaric heat capacity from temperature and specific volume.
const SinglePhaseFluidProperties * _fp_primary
Primary vapor fluid properties.
virtual Real c_from_v_e(Real v, Real e, const std::vector< Real > &x) const override
Speed of sound from specific volume and specific internal energy.
Class for fluid properties of an arbitrary vapor mixture.
virtual Real p_from_v_e(Real v, Real e, const std::vector< Real > &x) const override
Pressure from specific volume and specific internal energy.
InputParameters validParams< IdealRealGasMixtureFluidProperties >()
Real p_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Pressure from temperature and specific volume.
Real k_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Thermal conductivity from temperature and specific volume.
virtual Real cp_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Isobaric heat capacity from pressure and temperature.
Real xs_prim_from_p_T(Real p, Real T, const std::vector< Real > &x) const
Mass fraction of primary (condensable) component at saturation from pressure and temperature.
virtual Real e_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Specific internal energy from pressure and temperature.
const std::vector< UserObjectName > _fp_secondary_names
Names of secondary vapor fluid properties.
void s_from_T_v(Real T, Real v, const std::vector< Real > &x, Real &s, Real &ds_dT, Real &ds_dv) const
Specific entropy and its derivatives from temperature and specific volume.
virtual Real cv_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Isochoric heat capacity from pressure and temperature.
std::vector< const SinglePhaseFluidProperties * > _fp_secondary
Secondary vapor fluid properties.
const unsigned int _n_secondary_vapors
Number of secondary vapors.
Real e_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Specific internal energy from temperature and specific volume.
virtual unsigned int getNumberOfSecondaryVapors() const override
Number of secondary vapors (non-condensable components)
virtual Real e_from_p_rho(Real p, Real rho, const std::vector< Real > &x) const override
Specific internal energy from pressure and density.
IdealRealGasMixtureFluidProperties(const InputParameters ¶meters)
Interface class for producing errors, warnings, or just quiet NaNs.
Real c_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Speed of sound from temperature and specific volume.
virtual Real rho_from_p_T(Real p, Real T, const std::vector< Real > &x) const override
Density from pressure and temperature.
Base class for fluid properties of vapor mixtures.
void p_T_from_v_e(Real v, Real e, const std::vector< Real > &x, Real &p, Real &T) const
Pressure and temperature from specific volume and specific internal energy.
constexpr static const Real R_molar
molar (or universal) gas constant
virtual Real T_from_v_e(Real v, Real e, const std::vector< Real > &x) const override
Temperature from specific volume and specific internal energy.
Real cv_from_T_v(Real T, Real v, const std::vector< Real > &x) const
Isochoric heat capacity from temperature and specific volume.