16 #pragma GCC diagnostic push 17 #pragma GCC diagnostic ignored "-Woverloaded-virtual" 68 ADReal & drho_dT)
const override;
98 virtual std::string
fluidName()
const override;
133 template <
typename CppType>
194 #pragma GCC diagnostic pop 196 template <
typename CppType>
198 CaloricallyImperfectGas::e_from_p_rho_template(
const CppType & p,
const CppType & rho)
const 204 template <
typename CppType>
206 CaloricallyImperfectGas::e_from_p_rho_template(
207 const CppType & p,
const CppType & rho, CppType & e, CppType & de_dp, CppType & de_drho)
const 210 e = e_from_p_rho_template(
p,
rho);
216 template <
typename CppType>
virtual void initialSetup() override
e e e e s T T T T T rho T
static const std::string cv
virtual Real mu_from_p_T(Real p, Real T) const override
A calorically imperfect gas fluid property class This fluid property assumes that internal energy is ...
CaloricallyImperfectGas(const InputParameters ¶meters)
virtual Real cv_from_T_v(Real T, Real v) const override
virtual Real criticalInternalEnergy() const override
Critical specific internal energy.
virtual Real p_from_h_s(Real h, Real s) const override
virtual Real e_from_v_h(Real v, Real h) const override
virtual Real timeDerivative(Real t, const Point &p) const
virtual Real cp_from_p_T(Real p, Real T) const override
Real _min_e
internal energy and enthalpy limits when creating lookup tables
const bool _out_of_bound_error
Flag to error if out of bounds.
Real _delta_e
step size in internal energy and enthalpy
virtual Real h_from_T_v(Real T, Real v) const override
virtual Real gamma_from_v_e(Real v, Real e) const override
void outOfBounds(const std::string &function, Real value, Real min, Real max) const
function that handles exceeding parameter limits
virtual void v_e_spndl_from_T(Real T, Real &v, Real &e) const override
Specific internal energy from temperature and specific volume.
virtual Real molarMass() const override
Molar mass [kg/mol].
virtual Real T_from_p_h(Real p, Real h) const override
virtual Real criticalDensity() const override
Critical density.
virtual Real rho_from_p_s(Real p, Real s) const override
static const std::string temperature
virtual Real mu_from_v_e(Real v, Real e) const override
virtual Real g_from_v_e(Real v, Real e) const override
DualNumber< Real, DNDerivativeType, true > ADReal
virtual Real k_from_v_e(Real v, Real e) const override
auto max(const L &left, const R &right)
virtual Real cv_from_v_e(Real v, Real e) const override
static InputParameters validParams()
Real T_from_e(Real e) const
Real e_from_T(Real T) const
helper functions for e(T) and h(T), T(e), T(h), cv(T), cp(T)
virtual Real k_from_p_T(Real pressure, Real temperature) const override
virtual Real criticalTemperature() const override
Critical temperature.
static const std::string cp
e e e e s T T T T T rho v v T e h
virtual Real T_from_v_e(Real v, Real e) const override
Real h_from_T(Real T) const
Real T_from_h(Real h) const
virtual std::string fluidName() const override
Fluid name.
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
const Function * _k_T
Thermal conductivity.
virtual Real s_from_p_T(Real p, Real T) const override
static const std::string mu
Real cv_from_T(const CppType &T) const
Real cp_from_T(Real T) const
virtual Real e_spndl_from_v(Real v) const override
Specific internal energy from temperature and specific volume.
void setupLookupTables()
sets up the T(e) reverse lookup table
std::vector< Real > _T_h_lookup
inverse lookup table data
virtual Real e_from_p_T(Real p, Real T) const override
virtual Real e_from_T_v(Real T, Real v) const override
Common class for single phase fluid properties.
const Function * _mu_T
Dynamic viscosity.
virtual Real cp_from_v_e(Real v, Real e) const override
virtual Real rho_from_p_T(Real p, Real T) const override
virtual Real c_from_v_e(Real v, Real e) const override
virtual Real s_from_v_e(Real v, Real e) const override
const Function * _e_T
Internal energy as a function of temperature.
virtual Real h_from_p_T(Real p, Real T) const override
virtual Real p_from_T_v(Real T, Real v) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _delta_T
temperature interval in lookup tables
virtual Real p_from_v_e(Real v, Real e) const override
static const std::string pressure
Real Z_from_T(Real T) const
const InputParameters & parameters() const
virtual Real gamma_from_p_T(Real p, Real T) const override
virtual Real s_from_h_p(Real h, Real p) const override
propfuncWithDefinitionOverride(e, p, rho)
const Real & _molar_mass
molar mass
Interface class for producing errors, warnings, or just quiet NaNs.
Real _min_temperature
temperature limits when creating lookup tables
auto min(const L &left, const R &right)
const Real _R_specific
Specific gas constant (R / molar mass)
static const std::string k
virtual Real s_from_T_v(Real T, Real v) const override
virtual Real cv_from_p_T(Real p, Real T) const override
std::vector< Real > _Z_T_lookup
Z(T) lookup table on uniform grid between _min_temperature and _max_temperature.
virtual Real c_from_p_T(Real p, Real T) const override
std::vector< Real > _T_e_lookup