www.mooseframework.org
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
IdealGasFluidProperties Class Reference

Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature. More...

#include <IdealGasFluidProperties.h>

Inheritance diagram for IdealGasFluidProperties:
[legend]

Public Types

typedef DataFileName DataFileParameterType
 

Public Member Functions

 IdealGasFluidProperties (const InputParameters &parameters)
 
virtual ~IdealGasFluidProperties ()
 
virtual Real p_from_v_e (Real v, Real e) const override
 
virtual ADReal p_from_v_e (const ADReal &v, const ADReal &e) const override
 
virtual void p_from_v_e (Real v, Real e, Real &p, Real &dp_dv, Real &dp_de) const override
 
virtual void p_from_v_e (const DualReal &v, const DualReal &e, DualReal &p, DualReal &dp_dv, DualReal &dp_de) const override
 
virtual Real T_from_v_e (Real v, Real e) const override
 
virtual ADReal T_from_v_e (const ADReal &v, const ADReal &e) const override
 
virtual void T_from_v_e (Real v, Real e, Real &T, Real &dT_dv, Real &dT_de) const override
 
virtual void T_from_v_e (const DualReal &v, const DualReal &e, DualReal &T, DualReal &dT_dv, DualReal &dT_de) const override
 
virtual Real c_from_v_e (Real v, Real e) const override
 
virtual ADReal c_from_v_e (const ADReal &v, const ADReal &e) const override
 
virtual void c_from_v_e (Real v, Real e, Real &c, Real &dc_dv, Real &dc_de) const override
 
virtual Real cp_from_v_e (Real v, Real e) const override
 
virtual void cp_from_v_e (Real v, Real e, Real &cp, Real &dcp_dv, Real &dcp_de) const override
 
virtual Real cv_from_v_e (Real v, Real e) const override
 
virtual void cv_from_v_e (Real v, Real e, Real &cv, Real &dcv_dv, Real &dcv_de) const override
 
virtual Real mu_from_v_e (Real v, Real e) const override
 
virtual void mu_from_v_e (Real v, Real e, Real &mu, Real &dmu_dv, Real &dmu_de) const override
 
virtual Real k_from_v_e (Real v, Real e) const override
 
virtual void k_from_v_e (Real v, Real e, Real &k, Real &dk_dv, Real &dk_de) const override
 
virtual Real s_from_v_e (Real v, Real e) const override
 
virtual void s_from_v_e (Real v, Real e, Real &s, Real &ds_dv, Real &ds_de) const override
 
virtual Real s_from_p_T (Real p, Real T) const override
 
virtual void s_from_p_T (Real p, Real T, Real &s, Real &ds_dp, Real &ds_dT) const override
 
virtual Real s_from_h_p (Real h, Real p) const override
 
virtual void s_from_h_p (Real h, Real p, Real &s, Real &ds_dh, Real &ds_dp) const override
 
virtual Real rho_from_p_s (Real p, Real s) const override
 
virtual void rho_from_p_s (Real p, Real s, Real &rho, Real &drho_dp, Real &drho_ds) const override
 
virtual Real e_from_v_h (Real v, Real h) const override
 
virtual void e_from_v_h (Real v, Real h, Real &e, Real &de_dv, Real &de_dh) const override
 
virtual Real rho_from_p_T (Real p, Real T) const override
 
virtual ADReal rho_from_p_T (const ADReal &p, const ADReal &T) const override
 
virtual void rho_from_p_T (Real p, Real T, Real &rho, Real &drho_dp, Real &drho_dT) const override
 
virtual void rho_from_p_T (const DualReal &p, const DualReal &T, DualReal &rho, DualReal &drho_dp, DualReal &drho_dT) const override
 
virtual Real e_from_p_rho (Real p, Real rho) const override
 
virtual ADReal e_from_p_rho (const ADReal &p, const ADReal &rho) const override
 
virtual void e_from_p_rho (Real p, Real rho, Real &e, Real &de_dp, Real &de_drho) const override
 
virtual void e_from_p_rho (const ADReal &p, const ADReal &rho, ADReal &e, ADReal &de_dp, ADReal &de_drho) const override
 
virtual Real e_from_T_v (Real T, Real v) const override
 
virtual void e_from_T_v (Real T, Real v, Real &e, Real &de_dT, Real &de_dv) const override
 
virtual ADReal e_from_T_v (const ADReal &T, const ADReal &v) const override
 
virtual void e_from_T_v (const ADReal &T, const ADReal &v, ADReal &e, ADReal &de_dT, ADReal &de_dv) const override
 
virtual Real p_from_T_v (Real T, Real v) const override
 
virtual void p_from_T_v (Real T, Real v, Real &p, Real &dp_dT, Real &dp_dv) const override
 
virtual Real h_from_T_v (Real T, Real v) const override
 
virtual void h_from_T_v (Real T, Real v, Real &h, Real &dh_dT, Real &dh_dv) const override
 
virtual Real s_from_T_v (Real T, Real v) const override
 
virtual void s_from_T_v (Real T, Real v, Real &s, Real &ds_dT, Real &ds_dv) const override
 
virtual Real cv_from_T_v (Real T, Real v) const override
 
virtual Real e_spndl_from_v (Real v) const override
 Specific internal energy from temperature and specific volume. More...
 
virtual void v_e_spndl_from_T (Real T, Real &v, Real &e) const override
 Specific internal energy from temperature and specific volume. More...
 
virtual Real h_from_p_T (Real p, Real T) const override
 
virtual void h_from_p_T (Real p, Real T, Real &h, Real &dh_dp, Real &dh_dT) const override
 
virtual Real e_from_p_T (Real p, Real T) const override
 
virtual void e_from_p_T (Real p, Real T, Real &e, Real &de_dp, Real &de_dT) const override
 
virtual Real p_from_h_s (Real h, Real s) const override
 
virtual void p_from_h_s (Real h, Real s, Real &p, Real &dp_dh, Real &dp_ds) const override
 
virtual Real g_from_v_e (Real v, Real e) const override
 
virtual Real T_from_p_h (Real p, Real h) const override
 
virtual void T_from_p_h (Real p, Real h, Real &T, Real &dT_dp, Real &dT_dh) const override
 
virtual Real cv_from_p_T (Real p, Real T) const override
 
virtual void cv_from_p_T (Real p, Real T, Real &cv, Real &dcv_dp, Real &dcv_dT) const override
 
virtual Real cp_from_p_T (Real p, Real T) const override
 
virtual void cp_from_p_T (Real p, Real T, Real &cp, Real &dcp_dp, Real &dcp_dT) const override
 
virtual Real mu_from_p_T (Real p, Real T) const override
 
virtual void mu_from_p_T (Real p, Real T, Real &mu, Real &dmu_dp, Real &dmu_dT) const override
 
virtual Real k_from_p_T (Real pressure, Real temperature) const override
 
virtual void k_from_p_T (Real pressure, Real temperature, Real &k, Real &dk_dp, Real &dk_dT) const override
 
virtual std::string fluidName () const override
 
virtual Real molarMass () const override
 Fluid name. More...
 
virtual Real criticalTemperature () const override
 Critical temperature. More...
 
virtual Real criticalDensity () const override
 Critical density. More...
 
virtual Real criticalInternalEnergy () const override
 Critical specific internal energy. More...
 
virtual Real gamma_from_v_e (Real v, Real e) const override
 
virtual Real gamma_from_p_T (Real p, Real T) const override
 
virtual Real c_from_p_T (Real p, Real T) const override
 
virtual ADReal c_from_p_T (const ADReal &p, const ADReal &T) const override
 
virtual void c_from_p_T (Real, Real T, Real &c, Real &dc_dp, Real &dc_dT) const override
 
virtual Real pp_sat_from_p_T (Real, Real) const override
 
virtual Real gamma () const
 
virtual Real cv () const
 
virtual Real cp () const
 
virtual Real criticalPressure () const
 Critical pressure. More...
 
virtual Real triplePointPressure () const
 Triple point pressure. More...
 
virtual Real triplePointTemperature () const
 Triple point temperature. More...
 
virtual Real vaporPressure (Real T) const
 Vapor pressure. More...
 
virtual void vaporPressure (Real T, Real &psat, Real &dpsat_dT) const
 
DualReal vaporPressure (const DualReal &T) const
 
virtual Real vaporTemperature (Real p) const
 Vapor temperature. More...
 
virtual void vaporTemperature (Real p, Real &Tsat, Real &dTsat_dp) const
 
DualReal vaporTemperature (const DualReal &p) const
 
virtual std::vector< RealhenryCoefficients () const
 Henry's law coefficients for dissolution in water. More...
 
template<typename CppType >
void v_e_from_p_T (const CppType &p, const CppType &T, CppType &v, CppType &e) const
 
template<typename CppType >
void v_e_from_p_T (const CppType &p, const CppType &T, CppType &v, CppType &dv_dp, CppType &dv_dT, CppType &e, CppType &de_dp, CppType &de_dT) const
 
virtual void rho_mu_from_p_T (Real p, Real T, Real &rho, Real &mu) const
 Combined methods. More...
 
virtual void rho_mu_from_p_T (Real p, Real T, Real &rho, Real &drho_dp, Real &drho_dT, Real &mu, Real &dmu_dp, Real &dmu_dT) const
 
virtual void rho_mu_from_p_T (const DualReal &p, const DualReal &T, DualReal &rho, DualReal &mu) const
 
virtual void rho_e_from_p_T (Real p, Real T, Real &rho, Real &drho_dp, Real &drho_dT, Real &e, Real &de_dp, Real &de_dT) const
 
template<typename CppType >
void p_T_from_v_e (const CppType &v, const CppType &e, Real p0, Real T0, CppType &p, CppType &T, bool &conversion_succeeded) const
 Determines (p,T) from (v,e) using Newton Solve in 2D Useful for conversion between different sets of state variables. More...
 
template<typename T >
void p_T_from_v_h (const T &v, const T &h, Real p0, Real T0, T &pressure, T &temperature, bool &conversion_succeeded) const
 Determines (p,T) from (v,h) using Newton Solve in 2D Useful for conversion between different sets of state variables. More...
 
template<typename T >
void p_T_from_h_s (const T &h, const T &s, Real p0, Real T0, T &pressure, T &temperature, bool &conversion_succeeded) const
 Determines (p,T) from (h,s) using Newton Solve in 2D Useful for conversion between different sets of state variables. More...
 
template<>
std::pair< Real, RealmakeZeroAndOne (const Real &)
 
virtual void execute () final
 
virtual void initialize () final
 
virtual void finalize () final
 
virtual void threadJoin (const UserObject &) final
 
virtual void subdomainSetup () final
 
bool needThreadedCopy () const override final
 
SubProblemgetSubProblem () const
 
bool shouldDuplicateInitialExecution () const
 
virtual Real spatialValue (const Point &) const
 
virtual const std::vector< Point > spatialPoints () const
 
void gatherSum (T &value)
 
void gatherMax (T &value)
 
void gatherMin (T &value)
 
void gatherProxyValueMax (T1 &value, T2 &proxy)
 
void gatherProxyValueMin (T1 &value, T2 &proxy)
 
void setPrimaryThreadCopy (UserObject *primary)
 
UserObjectprimaryThreadCopy ()
 
std::set< UserObjectName > getDependObjects () const
 
const std::set< std::string > & getRequestedItems () override
 
const std::set< std::string > & getSuppliedItems () override
 
unsigned int systemNumber () const
 
virtual bool enabled () const
 
std::shared_ptr< MooseObjectgetSharedPtr ()
 
std::shared_ptr< const MooseObjectgetSharedPtr () const
 
MooseAppgetMooseApp () const
 
const std::string & type () const
 
virtual const std::string & name () const
 
std::string typeAndName () const
 
std::string errorPrefix (const std::string &error_type) const
 
void callMooseError (std::string msg, const bool with_prefix) const
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
const InputParametersparameters () const
 
MooseObjectName uniqueName () const
 
const TgetParam (const std::string &name) const
 
std::vector< std::pair< T1, T2 > > getParam (const std::string &param1, const std::string &param2) const
 
const TgetRenamedParam (const std::string &old_name, const std::string &new_name) const
 
T getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 
bool isParamValid (const std::string &name) const
 
bool isParamSetByUser (const std::string &nm) const
 
void paramError (const std::string &param, Args... args) const
 
void paramWarning (const std::string &param, Args... args) const
 
void paramInfo (const std::string &param, Args... args) const
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 
void mooseError (Args &&... args) const
 
void mooseErrorNonPrefixed (Args &&... args) const
 
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseInfo (Args &&... args) const
 
std::string getDataFileName (const std::string &param) const
 
std::string getDataFileNameByName (const std::string &name, const std::string *param=nullptr) const
 
virtual void initialSetup ()
 
virtual void timestepSetup ()
 
virtual void jacobianSetup ()
 
virtual void residualSetup ()
 
virtual void customSetup (const ExecFlagType &)
 
const ExecFlagEnumgetExecuteOnEnum () const
 
UserObjectName getUserObjectName (const std::string &param_name) const
 
const TgetUserObject (const std::string &param_name, bool is_dependency=true) const
 
const TgetUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBase (const std::string &param_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > getBlockMaterialProperty (const MaterialPropertyName &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty ()
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialPropertyByName (const std::string &prop_name)
 
const MaterialProperty< T > & getZeroMaterialProperty (Ts... args)
 
std::set< SubdomainIDgetMaterialPropertyBlocks (const std::string &name)
 
std::vector< SubdomainName > getMaterialPropertyBlockNames (const std::string &name)
 
std::set< BoundaryIDgetMaterialPropertyBoundaryIDs (const std::string &name)
 
std::vector< BoundaryName > getMaterialPropertyBoundaryNames (const std::string &name)
 
void checkBlockAndBoundaryCompatibility (std::shared_ptr< MaterialBase > discrete)
 
std::unordered_map< SubdomainID, std::vector< MaterialBase *> > buildRequiredMaterials (bool allow_stateful=true)
 
void statefulPropertiesAllowed (bool)
 
bool getMaterialPropertyCalled () const
 
const std::unordered_set< unsigned int > & getMatPropDependencies () const
 
virtual void resolveOptionalProperties ()
 
const GenericMaterialProperty< T, is_ad > & getPossiblyConstantGenericMaterialPropertyByName (const MaterialPropertyName &prop_name, MaterialData &material_data, const unsigned int state)
 
bool isImplicit ()
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
const FunctiongetFunction (const std::string &name) const
 
const FunctiongetFunctionByName (const FunctionName &name) const
 
bool hasFunction (const std::string &param_name) const
 
bool hasFunctionByName (const FunctionName &name) const
 
bool isDefaultPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessor (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessorByName (const PostprocessorName &name) const
 
std::size_t coupledPostprocessors (const std::string &param_name) const
 
const PostprocessorName & getPostprocessorName (const std::string &param_name, const unsigned int index=0) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name) const
 
const VectorPostprocessorName & getVectorPostprocessorName (const std::string &param_name) const
 
TgetSampler (const std::string &name)
 
SamplergetSampler (const std::string &name)
 
TgetSamplerByName (const SamplerName &name)
 
SamplergetSamplerByName (const SamplerName &name)
 
virtual void meshChanged ()
 
const std::vector< MooseVariableScalar *> & getCoupledMooseScalarVars ()
 
const std::set< TagID > & getScalarVariableCoupleableVectorTags () const
 
const std::set< TagID > & getScalarVariableCoupleableMatrixTags () const
 
PerfGraphperfGraph ()
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const TgetDistribution (const std::string &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const TgetDistribution (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const TgetDistributionByName (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const TgetDistributionByName (const std::string &name) const
 
const Parallel::Communicator & comm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 

Static Public Member Functions

static InputParameters validParams ()
 
static void sort (typename std::vector< T > &vector)
 
static void sortDFS (typename std::vector< T > &vector)
 
static void cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header)
 

Public Attributes

const ConsoleStream _console
 

Static Public Attributes

static const Real _R = 8.3144598
 Universal gas constant (J/mol/K) More...
 
static constexpr PropertyValue::id_type default_property_id
 
static constexpr PropertyValue::id_type zero_property_id
 
static constexpr auto SYSTEM
 
static constexpr auto NAME
 

Protected Types

enum  NaNMessage { NAN_MESSAGE_NONE = 0, NAN_MESSAGE_WARNING = 1, NAN_MESSAGE_ERROR = 2 }
 

Protected Member Functions

virtual void addPostprocessorDependencyHelper (const PostprocessorName &name) const override
 
virtual void addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &name) const override
 
virtual void addUserObjectDependencyHelper (const UserObject &uo) const override
 
void addReporterDependencyHelper (const ReporterName &reporter_name) override
 
const ReporterNamegetReporterName (const std::string &param_name) const
 
TdeclareRestartableData (const std::string &data_name, Args &&... args)
 
ManagedValue< TdeclareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args)
 
const TgetRestartableData (const std::string &data_name) const
 
TdeclareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args)
 
TdeclareRecoverableData (const std::string &data_name, Args &&... args)
 
TdeclareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args)
 
TdeclareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args)
 
std::string restartableName (const std::string &data_name) const
 
const TgetMeshProperty (const std::string &data_name, const std::string &prefix)
 
const TgetMeshProperty (const std::string &data_name)
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name) const
 
bool hasMeshProperty (const std::string &data_name) const
 
std::string meshPropertyName (const std::string &data_name) const
 
bool isCoupledScalar (const std::string &var_name, unsigned int i=0) const
 
unsigned int coupledScalarComponents (const std::string &var_name) const
 
unsigned int coupledScalar (const std::string &var_name, unsigned int comp=0) const
 
Order coupledScalarOrder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< is_ad > & coupledGenericScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const
 
const VariableValuecoupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOlder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDu (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
const MooseVariableScalargetScalarVar (const std::string &var_name, unsigned int comp) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const
 
std::string timedSectionName (const std::string &section_name) const
 
virtual void checkMaterialProperty (const std::string &name, const unsigned int state)
 
void markMatPropRequested (const std::string &)
 
MaterialPropertyName getMaterialPropertyName (const std::string &name) const
 
void checkExecutionStage ()
 
Moose::StateArg determineState () const
 
const TgetReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const TgetReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const TgetReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const TgetReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const TgetReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const TgetReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
const TgetReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const TgetReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
void flagInvalidSolutionInternal (InvalidSolutionID _invalid_solution_id) const
 
InvalidSolutionID registerInvalidSolutionInternal (const std::string &message) const
 
Real getNaN () const
 Throws an error or returns a NaN with or without a warning, with a default message. More...
 
template<typename... Args>
Real getNaN (Args &&... args) const
 Throws an error or returns a NaN with or without a warning. More...
 
std::vector< RealgetNaNVector (const unsigned int &n) const
 Throws an error or returns NaNs with or without a warning, with a default message. More...
 
template<typename... Args>
std::vector< RealgetNaNVector (const unsigned int &n, Args &&... args) const
 Throws an error or returns NaNs with or without a warning. More...
 

Static Protected Member Functions

template<typename T , typename Functor >
static void xyDerivatives (const T x, const T &y, T &z, T &dz_dx, T &dz_dy, const Functor &z_from_x_y)
 Computes the dependent variable z and its derivatives with respect to the independent variables x and y using the simple two parameter z_from_x_y functor. More...
 
template<typename T >
static std::pair< T, TmakeZeroAndOne (const T &)
 Given a type example, this method returns zero and unity representations of that type (first and second members of returned pair respectively) More...
 
static std::string meshPropertyName (const std::string &data_name, const std::string &prefix)
 

Protected Attributes

const Real_gamma
 Adiabatic index (ratio of specific heats cp/cv) More...
 
const Real_molar_mass
 molar mass More...
 
const Real _R_specific
 Specific gas constant (R / molar mass) More...
 
const Real _cp
 Specific heat at constant pressure. More...
 
const Real _cv
 Specific heat at constant volume. More...
 
const Real _mu
 Dynamic viscosity. More...
 
const Real _k
 Thermal conductivity. More...
 
Real _T_c
 
Real _rho_c
 
Real _e_c
 
const Real _tolerance
 Newton's method may be used to convert between variable sets _tolerance, _T_initial_guess, and _p_initial_guess are the parameters for these iterative solves. More...
 
const Real _T_initial_guess
 
const Real _p_initial_guess
 
const Real _T_c2k
 Conversion of temperature from Celsius to Kelvin. More...
 
const bool _allow_imperfect_jacobians
 Flag to set unimplemented Jacobian entries to zero. More...
 
SubProblem_subproblem
 
FEProblemBase_fe_problem
 
SystemBase_sys
 
const THREAD_ID _tid
 
Assembly_assembly
 
const Moose::CoordinateSystemType_coord_sys
 
const bool _duplicate_initial_execution
 
std::set< std::string > _depend_uo
 
const bool & _enabled
 
MooseApp_app
 
const std::string _type
 
const std::string _name
 
const InputParameters_pars
 
Factory_factory
 
ActionFactory_action_factory
 
const ExecFlagEnum_execute_enum
 
const ExecFlagType_current_execute_flag
 
MooseApp_restartable_app
 
const std::string _restartable_system_name
 
const THREAD_ID _restartable_tid
 
const bool _restartable_read_only
 
FEProblemBase_mci_feproblem
 
FEProblemBase_sc_fe_problem
 
const THREAD_ID _sc_tid
 
const Real_real_zero
 
const VariableValue_scalar_zero
 
const Point & _point_zero
 
MooseApp_pg_moose_app
 
const std::string _prefix
 
const InputParameters_mi_params
 
const std::string _mi_name
 
const MooseObjectName _mi_moose_object_name
 
FEProblemBase_mi_feproblem
 
SubProblem_mi_subproblem
 
const THREAD_ID _mi_tid
 
const Moose::MaterialDataType _material_data_type
 
MaterialData_material_data
 
bool _stateful_allowed
 
bool _get_material_property_called
 
std::vector< std::unique_ptr< PropertyValue > > _default_properties
 
std::unordered_set< unsigned int_material_property_dependencies
 
const MaterialPropertyName _get_suffix
 
const bool _use_interpolated_state
 
const InputParameters_ti_params
 
FEProblemBase_ti_feproblem
 
bool _is_implicit
 
Real_t
 
int_t_step
 
Real_dt
 
Real_dt_old
 
bool _is_transient
 
const Parallel::Communicator & _communicator
 
const MooseObject *const _moose_object
 
enum NaNMessage _emit_on_nan
 Raise mooseWarning or mooseError? More...
 

Static Protected Attributes

static const std::string _interpolated_old
 
static const std::string _interpolated_older
 
e e e e s T T T propfuncWithDefault (cp, p, T) propfuncWithDefault(cv
 
e e e e s T T T T propfuncWithDefault (mu, p, T) propfuncWithDefault(k
 
e e e e s T T T T T rho v v T s h propfuncWithDefault (beta, p, T) propfuncWithDefault(v
 
e e e e s T T T T T rho v v T s h T propfuncWithDefault (e, p, T) propfuncWithDefault(gamma
 
 propfunc (p, v, e) propfunc(T
 Compute a fluid property given for the state defined by two given properties. More...
 
propfunc (c, v, e) propfunc(cp
 
e e propfunc (cv, v, e) propfunc(mu
 
e e e propfunc (k, v, e) propfuncWithDefault(s
 
e e e e propfunc (s, h, p) propfunc(rho
 
e e e e s propfunc (e, v, h) propfuncWithDefault(s
 
e e e e s T propfunc (pp_sat, p, T) propfunc(mu
 
e e e e s T T propfunc (k, rho, T) propfuncWithDefault(c
 
e e e e s T T T T T propfunc (rho, p, T) propfunc(e
 
e e e e s T T T T T rho propfunc (e, T, v) propfunc(p
 
e e e e s T T T T T rho v propfunc (h, T, v) propfunc(s
 
e e e e s T T T T T rho v v propfunc (cv, T, v) propfunc(h
 
e e e e s T T T T T rho v v T propfunc (g, v, e) propfuncWithDefault(p
 
e e e e s T T T T T rho v v Tpropfunc (T, h, p) propfuncWithDefault(T
 
 v
 
v
 
e e v
 
e e e v
 
e e e e s T T T T T rho v v T s h T v
 
e e e e p
 
e e e e s p
 
e e e e s T T p
 
e e e e s T T T p
 
e e e e s T T T T p
 
e e e e s T T T T T p
 
e e e e s T T T T T rho v v p
 
e e e e s T T T T T rho v v Tp
 
e e e e s T T T T T rho v v T s h p
 
e e e e s T rho
 
e e e e s T T T T T rho T
 
e e e e s T T T T T rho v T
 
e e e e s T T T T T rho v v T h
 
e e e e s T T T T T rho v v T s h TpropfuncWithDefault (gamma, p, T)
 

Detailed Description

Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.

Definition at line 22 of file IdealGasFluidProperties.h.

Member Enumeration Documentation

◆ NaNMessage

enum NaNInterface::NaNMessage
protectedinherited
Enumerator
NAN_MESSAGE_NONE 
NAN_MESSAGE_WARNING 
NAN_MESSAGE_ERROR 

Definition at line 30 of file NaNInterface.h.

Constructor & Destructor Documentation

◆ IdealGasFluidProperties()

IdealGasFluidProperties::IdealGasFluidProperties ( const InputParameters parameters)

Definition at line 36 of file IdealGasFluidProperties.C.

38  NaNInterface(this),
39 
40  _gamma(getParam<Real>("gamma")),
41  _molar_mass(getParam<Real>("molar_mass")),
42 
44  _cp(_gamma * _R_specific / (_gamma - 1.0)),
45  _cv(_cp / _gamma),
46 
47  _mu(getParam<Real>("mu")),
48  _k(getParam<Real>("k")),
49 
50  _T_c(getParam<Real>("T_c")),
51  _rho_c(getParam<Real>("rho_c")),
52  _e_c(getParam<Real>("e_c"))
53 {
54 }
NaNInterface(const MooseObject *moose_object)
Definition: NaNInterface.C:32
const Real _cv
Specific heat at constant volume.
const Real _k
Thermal conductivity.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
SinglePhaseFluidProperties(const InputParameters &parameters)
static const Real _R
Universal gas constant (J/mol/K)
const Real & _molar_mass
molar mass
const Real _cp
Specific heat at constant pressure.
const Real _R_specific
Specific gas constant (R / molar mass)
const InputParameters & parameters() const
const Real _mu
Dynamic viscosity.

◆ ~IdealGasFluidProperties()

IdealGasFluidProperties::~IdealGasFluidProperties ( )
virtual

Definition at line 56 of file IdealGasFluidProperties.C.

56 {}

Member Function Documentation

◆ c_from_p_T() [1/3]

Real IdealGasFluidProperties::c_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 175 of file IdealGasFluidProperties.C.

Referenced by TEST_F().

176 {
177  return std::sqrt(_cp * _R * T / (_cv * _molar_mass));
178 }
const Real _cv
Specific heat at constant volume.
static const Real _R
Universal gas constant (J/mol/K)
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
const Real & _molar_mass
molar mass
const Real _cp
Specific heat at constant pressure.

◆ c_from_p_T() [2/3]

ADReal IdealGasFluidProperties::c_from_p_T ( const ADReal p,
const ADReal T 
) const
overridevirtual

Definition at line 181 of file IdealGasFluidProperties.C.

182 {
183  return std::sqrt(_cp * _R * T / (_cv * _molar_mass));
184 }
const Real _cv
Specific heat at constant volume.
static const Real _R
Universal gas constant (J/mol/K)
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
const Real & _molar_mass
molar mass
const Real _cp
Specific heat at constant pressure.

◆ c_from_p_T() [3/3]

void IdealGasFluidProperties::c_from_p_T ( Real  ,
Real  T,
Real c,
Real dc_dp,
Real dc_dT 
) const
overridevirtual

Definition at line 187 of file IdealGasFluidProperties.C.

189 {
190  c = std::sqrt(_cp * _R * T / (_cv * _molar_mass));
191  dc_dp = 0;
192  dc_dT = 0.5 / c * _cp * _R / (_cv * _molar_mass);
193 }
const Real _cv
Specific heat at constant volume.
static const Real _R
Universal gas constant (J/mol/K)
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
const Real & _molar_mass
molar mass
const Real _cp
Specific heat at constant pressure.

◆ c_from_v_e() [1/3]

Real IdealGasFluidProperties::c_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 130 of file IdealGasFluidProperties.C.

Referenced by TEST_F(), NSInitialCondition::value(), PNSInitialCondition::value(), and NSFunctionInitialCondition::value().

131 {
132  Real T = T_from_v_e(v, e);
133 
134  Real c2 = _gamma * _R_specific * T;
135  if (c2 < 0)
136  {
137  c2 = 0;
138  flagInvalidSolution(
139  "Sound speed squared (gamma * R * T) is negative: c2 = " + Moose::stringify(c2) + ".");
140  }
141 
142  return std::sqrt(c2);
143 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real T_from_v_e(Real v, Real e) const override
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
std::string stringify(const T &t)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _R_specific
Specific gas constant (R / molar mass)

◆ c_from_v_e() [2/3]

ADReal IdealGasFluidProperties::c_from_v_e ( const ADReal v,
const ADReal e 
) const
overridevirtual

Definition at line 146 of file IdealGasFluidProperties.C.

147 {
148  const auto T = T_from_v_e(v, e);
149 
150  auto c2 = _gamma * _R_specific * T;
151  if (MetaPhysicL::raw_value(c2) < 0)
152  {
153  c2 = 0;
154  flagInvalidSolution(
155  "Sound speed squared (gamma * R * T) is negative: c2 = " + Moose::stringify(c2) + ".");
156  }
157 
158  return std::sqrt(c2);
159 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
auto raw_value(const Eigen::Map< T > &in)
virtual Real T_from_v_e(Real v, Real e) const override
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
std::string stringify(const T &t)
const Real _R_specific
Specific gas constant (R / molar mass)

◆ c_from_v_e() [3/3]

void IdealGasFluidProperties::c_from_v_e ( Real  v,
Real  e,
Real c,
Real dc_dv,
Real dc_de 
) const
overridevirtual

Definition at line 162 of file IdealGasFluidProperties.C.

163 {
164  Real T, dT_dv, dT_de;
165  T_from_v_e(v, e, T, dT_dv, dT_de);
166 
167  c = std::sqrt(_gamma * _R_specific * T);
168 
169  const Real dc_dT = 0.5 / c * _gamma * _R_specific;
170  dc_dv = dc_dT * dT_dv;
171  dc_de = dc_dT * dT_de;
172 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real T_from_v_e(Real v, Real e) const override
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _R_specific
Specific gas constant (R / molar mass)

◆ cp()

virtual Real IdealGasFluidProperties::cp ( ) const
inlinevirtual

◆ cp_from_p_T() [1/2]

Real IdealGasFluidProperties::cp_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 644 of file IdealGasFluidProperties.C.

Referenced by cp_from_p_T(), and TEST_F().

645 {
646  return _cp;
647 }
const Real _cp
Specific heat at constant pressure.

◆ cp_from_p_T() [2/2]

void IdealGasFluidProperties::cp_from_p_T ( Real  p,
Real  T,
Real cp,
Real dcp_dp,
Real dcp_dT 
) const
overridevirtual

Definition at line 650 of file IdealGasFluidProperties.C.

651 {
652  cp = cp_from_p_T(p, T);
653  dcp_dp = 0.0;
654  dcp_dT = 0.0;
655 }
virtual Real cp_from_p_T(Real p, Real T) const override

◆ cp_from_v_e() [1/2]

Real IdealGasFluidProperties::cp_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 195 of file IdealGasFluidProperties.C.

Referenced by cp_from_v_e(), and TEST_F().

195 { return _cp; }
const Real _cp
Specific heat at constant pressure.

◆ cp_from_v_e() [2/2]

void IdealGasFluidProperties::cp_from_v_e ( Real  v,
Real  e,
Real cp,
Real dcp_dv,
Real dcp_de 
) const
overridevirtual

Definition at line 198 of file IdealGasFluidProperties.C.

199 {
200  cp = cp_from_v_e(v, e);
201  dcp_dv = 0.0;
202  dcp_de = 0.0;
203 }
virtual Real cp_from_v_e(Real v, Real e) const override

◆ criticalDensity()

Real IdealGasFluidProperties::criticalDensity ( ) const
overridevirtual

Critical density.

Returns
critical density (kg/m^3)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 606 of file IdealGasFluidProperties.C.

607 {
608  return _rho_c;
609 }

◆ criticalInternalEnergy()

Real IdealGasFluidProperties::criticalInternalEnergy ( ) const
overridevirtual

Critical specific internal energy.

Returns
specific internal energy (J/kg)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 612 of file IdealGasFluidProperties.C.

613 {
614  return _e_c;
615 }

◆ criticalPressure()

Real SinglePhaseFluidProperties::criticalPressure ( ) const
virtualinherited

Critical pressure.

Returns
critical pressure (Pa)

Reimplemented in CO2FluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, MethaneFluidProperties, NaClFluidProperties, and Water97FluidProperties.

Definition at line 279 of file SinglePhaseFluidProperties.C.

280 {
281  mooseError(__PRETTY_FUNCTION__, " not implemented.");
282 }
void mooseError(Args &&... args) const

◆ criticalTemperature()

Real IdealGasFluidProperties::criticalTemperature ( ) const
overridevirtual

Critical temperature.

Returns
critical temperature (K)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 600 of file IdealGasFluidProperties.C.

601 {
602  return _T_c;
603 }

◆ cv()

virtual Real IdealGasFluidProperties::cv ( ) const
inlinevirtual

◆ cv_from_p_T() [1/2]

Real IdealGasFluidProperties::cv_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 631 of file IdealGasFluidProperties.C.

Referenced by cv_from_p_T(), and TEST_F().

632 {
633  return _cv;
634 }
const Real _cv
Specific heat at constant volume.

◆ cv_from_p_T() [2/2]

void IdealGasFluidProperties::cv_from_p_T ( Real  p,
Real  T,
Real cv,
Real dcv_dp,
Real dcv_dT 
) const
overridevirtual

Definition at line 637 of file IdealGasFluidProperties.C.

638 {
639  cv = cv_from_p_T(p, T);
640  dcv_dp = 0.0;
641  dcv_dT = 0.0;
642 }
virtual Real cv_from_p_T(Real p, Real T) const override

◆ cv_from_T_v()

Real IdealGasFluidProperties::cv_from_T_v ( Real  T,
Real  v 
) const
overridevirtual

Definition at line 520 of file IdealGasFluidProperties.C.

520 { return _cv; }
const Real _cv
Specific heat at constant volume.

◆ cv_from_v_e() [1/2]

Real IdealGasFluidProperties::cv_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 205 of file IdealGasFluidProperties.C.

Referenced by cv_from_v_e(), and TEST_F().

205 { return _cv; }
const Real _cv
Specific heat at constant volume.

◆ cv_from_v_e() [2/2]

void IdealGasFluidProperties::cv_from_v_e ( Real  v,
Real  e,
Real cv,
Real dcv_dv,
Real dcv_de 
) const
overridevirtual

Definition at line 208 of file IdealGasFluidProperties.C.

209 {
210  cv = cv_from_v_e(v, e);
211  dcv_dv = 0.0;
212  dcv_de = 0.0;
213 }
virtual Real cv_from_v_e(Real v, Real e) const override

◆ e_from_p_rho() [1/4]

Real IdealGasFluidProperties::e_from_p_rho ( Real  p,
Real  rho 
) const
overridevirtual

Definition at line 416 of file IdealGasFluidProperties.C.

Referenced by e_from_p_rho(), and TEST_F().

417 {
418  return p / (_gamma - 1.0) / rho;
419 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ e_from_p_rho() [2/4]

ADReal IdealGasFluidProperties::e_from_p_rho ( const ADReal p,
const ADReal rho 
) const
overridevirtual

Definition at line 422 of file IdealGasFluidProperties.C.

423 {
424  return p / (_gamma - 1.0) / rho;
425 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ e_from_p_rho() [3/4]

void IdealGasFluidProperties::e_from_p_rho ( Real  p,
Real  rho,
Real e,
Real de_dp,
Real de_drho 
) const
overridevirtual

Definition at line 428 of file IdealGasFluidProperties.C.

430 {
431  e = e_from_p_rho(p, rho);
432  de_dp = 1.0 / (_gamma - 1.0) / rho;
433  de_drho = -p / (_gamma - 1.0) / rho / rho;
434 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real e_from_p_rho(Real p, Real rho) const override

◆ e_from_p_rho() [4/4]

void IdealGasFluidProperties::e_from_p_rho ( const ADReal p,
const ADReal rho,
ADReal e,
ADReal de_dp,
ADReal de_drho 
) const
overridevirtual

Definition at line 437 of file IdealGasFluidProperties.C.

439 {
440  e = e_from_p_rho(p, rho);
441  de_dp = 1.0 / (_gamma - 1.0) / rho;
442  de_drho = -p / (_gamma - 1.0) / rho / rho;
443 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real e_from_p_rho(Real p, Real rho) const override

◆ e_from_p_T() [1/2]

Real IdealGasFluidProperties::e_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 546 of file IdealGasFluidProperties.C.

Referenced by e_from_p_T(), and TEST_F().

547 {
548  return _cv * T;
549 }
const Real _cv
Specific heat at constant volume.

◆ e_from_p_T() [2/2]

void IdealGasFluidProperties::e_from_p_T ( Real  p,
Real  T,
Real e,
Real de_dp,
Real de_dT 
) const
overridevirtual

Definition at line 552 of file IdealGasFluidProperties.C.

553 {
554  e = e_from_p_T(p, T);
555  de_dp = 0.0;
556  de_dT = _cv;
557 }
const Real _cv
Specific heat at constant volume.
virtual Real e_from_p_T(Real p, Real T) const override

◆ e_from_T_v() [1/4]

Real IdealGasFluidProperties::e_from_T_v ( Real  T,
Real  v 
) const
overridevirtual

Definition at line 446 of file IdealGasFluidProperties.C.

Referenced by TEST_F().

447 {
448  return _cv * T;
449 }
const Real _cv
Specific heat at constant volume.

◆ e_from_T_v() [2/4]

void IdealGasFluidProperties::e_from_T_v ( Real  T,
Real  v,
Real e,
Real de_dT,
Real de_dv 
) const
overridevirtual

Definition at line 452 of file IdealGasFluidProperties.C.

453 {
454  e = _cv * T;
455  de_dT = _cv;
456  de_dv = 0.0;
457 }
const Real _cv
Specific heat at constant volume.

◆ e_from_T_v() [3/4]

ADReal IdealGasFluidProperties::e_from_T_v ( const ADReal T,
const ADReal v 
) const
overridevirtual

Definition at line 460 of file IdealGasFluidProperties.C.

461 {
462  return _cv * T;
463 }
const Real _cv
Specific heat at constant volume.

◆ e_from_T_v() [4/4]

void IdealGasFluidProperties::e_from_T_v ( const ADReal T,
const ADReal v,
ADReal e,
ADReal de_dT,
ADReal de_dv 
) const
overridevirtual

Definition at line 466 of file IdealGasFluidProperties.C.

468 {
469  e = _cv * T;
470  de_dT = _cv;
471  de_dv = 0.0;
472 }
const Real _cv
Specific heat at constant volume.

◆ e_from_v_h() [1/2]

Real IdealGasFluidProperties::e_from_v_h ( Real  v,
Real  h 
) const
overridevirtual

Definition at line 369 of file IdealGasFluidProperties.C.

Referenced by e_from_v_h(), and TEST_F().

370 {
371  return h / _gamma;
372 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
e e e e s T T T T T rho v v T h

◆ e_from_v_h() [2/2]

void IdealGasFluidProperties::e_from_v_h ( Real  v,
Real  h,
Real e,
Real de_dv,
Real de_dh 
) const
overridevirtual

Definition at line 375 of file IdealGasFluidProperties.C.

376 {
377  e = e_from_v_h(v, h);
378  de_dv = 0.0;
379  de_dh = 1.0 / _gamma;
380 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real e_from_v_h(Real v, Real h) const override
e e e e s T T T T T rho v v T h

◆ e_spndl_from_v()

Real IdealGasFluidProperties::e_spndl_from_v ( Real  v) const
overridevirtual

Specific internal energy from temperature and specific volume.

Parameters
[in]Ttemperature
[in]vspecific volume

Reimplemented from SinglePhaseFluidProperties.

Definition at line 522 of file IdealGasFluidProperties.C.

◆ execute()

virtual void FluidProperties::execute ( )
inlinefinalvirtualinherited

Implements ThreadedGeneralUserObject.

Definition at line 33 of file FluidProperties.h.

33 {}

◆ finalize()

virtual void FluidProperties::finalize ( )
inlinefinalvirtualinherited

Implements ThreadedGeneralUserObject.

Definition at line 35 of file FluidProperties.h.

35 {}

◆ fluidName()

std::string IdealGasFluidProperties::fluidName ( ) const
overridevirtual

Definition at line 59 of file IdealGasFluidProperties.C.

60 {
61  return "ideal_gas";
62 }

◆ g_from_v_e()

Real IdealGasFluidProperties::g_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 578 of file IdealGasFluidProperties.C.

579 {
580  // g(p,T) for SGEOS is given by Equation (37) in the following reference:
581  //
582  // Ray A. Berry, Richard Saurel, Olivier LeMetayer
583  // The discrete equation method (DEM) for fully compressible, two-phase flows in
584  // ducts of spatially varying cross-section
585  // Nuclear Engineering and Design 240 (2010) p. 3797-3818
586  //
587  const Real p = p_from_v_e(v, e);
588  const Real T = T_from_v_e(v, e);
589 
590  return _gamma * _cv * T - _cv * T * std::log(std::pow(T, _gamma) / std::pow(p, _gamma - 1.0));
591 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real p_from_v_e(Real v, Real e) const override
virtual Real T_from_v_e(Real v, Real e) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ gamma()

virtual Real IdealGasFluidProperties::gamma ( ) const
inlinevirtual

◆ gamma_from_p_T()

Real IdealGasFluidProperties::gamma_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 217 of file IdealGasFluidProperties.C.

Referenced by TEST_F().

217 { return _gamma; }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ gamma_from_v_e()

Real IdealGasFluidProperties::gamma_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 215 of file IdealGasFluidProperties.C.

Referenced by TEST_F().

215 { return _gamma; }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ getNaN() [1/2]

Real NaNInterface::getNaN ( ) const
inlineprotectedinherited

◆ getNaN() [2/2]

template<typename... Args>
Real NaNInterface::getNaN ( Args &&...  args) const
inlineprotectedinherited

Throws an error or returns a NaN with or without a warning.

Definition at line 61 of file NaNInterface.h.

62  {
63  switch (_emit_on_nan)
64  {
65  case (NAN_MESSAGE_WARNING):
66  mooseWarning(_moose_object->name(), ": ", std::forward<Args>(args)...);
67  break;
68  case (NAN_MESSAGE_ERROR):
69  mooseError(_moose_object->name(), ": ", std::forward<Args>(args)...);
70  break;
71  default:
72  break;
73  }
74  // return a quiet NaN
75  return std::nan("");
76  }
void mooseError(Args &&... args)
void mooseWarning(Args &&... args)
virtual const std::string & name() const
enum NaNMessage _emit_on_nan
Raise mooseWarning or mooseError?
Definition: NaNInterface.h:40
const MooseObject *const _moose_object
Definition: NaNInterface.h:37

◆ getNaNVector() [1/2]

std::vector<Real> NaNInterface::getNaNVector ( const unsigned int n) const
inlineprotectedinherited

Throws an error or returns NaNs with or without a warning, with a default message.

Parameters
[in]nVector size

Definition at line 52 of file NaNInterface.h.

Referenced by NaNInterfaceTestFluidProperties::returnNaNVector().

53  {
54  return getNaNVector(n, "A NaN was produced.");
55  }
std::vector< Real > getNaNVector(const unsigned int &n) const
Throws an error or returns NaNs with or without a warning, with a default message.
Definition: NaNInterface.h:52

◆ getNaNVector() [2/2]

template<typename... Args>
std::vector<Real> NaNInterface::getNaNVector ( const unsigned int n,
Args &&...  args 
) const
inlineprotectedinherited

Throws an error or returns NaNs with or without a warning.

Parameters
[in]nVector size

Definition at line 84 of file NaNInterface.h.

85  {
86  switch (_emit_on_nan)
87  {
88  case (NAN_MESSAGE_WARNING):
89  mooseWarning(_moose_object->name(), ": ", std::forward<Args>(args)...);
90  break;
91  case (NAN_MESSAGE_ERROR):
92  mooseError(_moose_object->name(), ": ", std::forward<Args>(args)...);
93  break;
94  default:
95  break;
96  }
97  // return quiet NaNs
98  return std::vector<Real>(n, std::nan(""));
99  }
void mooseError(Args &&... args)
void mooseWarning(Args &&... args)
virtual const std::string & name() const
enum NaNMessage _emit_on_nan
Raise mooseWarning or mooseError?
Definition: NaNInterface.h:40
const MooseObject *const _moose_object
Definition: NaNInterface.h:37

◆ h_from_p_T() [1/2]

Real IdealGasFluidProperties::h_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 532 of file IdealGasFluidProperties.C.

Referenced by h_from_p_T(), and TEST_F().

533 {
534  return _cp * T;
535 }
const Real _cp
Specific heat at constant pressure.

◆ h_from_p_T() [2/2]

void IdealGasFluidProperties::h_from_p_T ( Real  p,
Real  T,
Real h,
Real dh_dp,
Real dh_dT 
) const
overridevirtual

Definition at line 538 of file IdealGasFluidProperties.C.

539 {
540  h = h_from_p_T(p, T);
541  dh_dp = 0.0;
542  dh_dT = _cp;
543 }
e e e e s T T T T T rho v v T h
const Real _cp
Specific heat at constant pressure.
virtual Real h_from_p_T(Real p, Real T) const override

◆ h_from_T_v() [1/2]

Real IdealGasFluidProperties::h_from_T_v ( Real  T,
Real  v 
) const
overridevirtual

Definition at line 489 of file IdealGasFluidProperties.C.

490 {
491  return _gamma * _cv * T;
492 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ h_from_T_v() [2/2]

void IdealGasFluidProperties::h_from_T_v ( Real  T,
Real  v,
Real h,
Real dh_dT,
Real dh_dv 
) const
overridevirtual

Definition at line 495 of file IdealGasFluidProperties.C.

496 {
497  h = _gamma * _cv * T;
498  dh_dT = _gamma * _cv;
499  dh_dv = 0.0;
500 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
e e e e s T T T T T rho v v T h

◆ henryCoefficients()

std::vector< Real > SinglePhaseFluidProperties::henryCoefficients ( ) const
virtualinherited

Henry's law coefficients for dissolution in water.

Returns
Henry's constant coefficients

Reimplemented in CO2FluidProperties, TabulatedFluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, and MethaneFluidProperties.

Definition at line 354 of file SinglePhaseFluidProperties.C.

Referenced by TabulatedFluidProperties::henryCoefficients().

355 {
356  mooseError(__PRETTY_FUNCTION__, " not implemented.");
357 }
void mooseError(Args &&... args) const

◆ initialize()

virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Implements ThreadedGeneralUserObject.

Definition at line 34 of file FluidProperties.h.

34 {}

◆ k_from_p_T() [1/2]

Real IdealGasFluidProperties::k_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtual

Definition at line 670 of file IdealGasFluidProperties.C.

Referenced by k_from_p_T().

671 {
672  return _k;
673 }
const Real _k
Thermal conductivity.

◆ k_from_p_T() [2/2]

void IdealGasFluidProperties::k_from_p_T ( Real  pressure,
Real  temperature,
Real k,
Real dk_dp,
Real dk_dT 
) const
overridevirtual

Definition at line 676 of file IdealGasFluidProperties.C.

677 {
678  k = k_from_p_T(p, T);
679  dk_dp = 0.0;
680  dk_dT = 0.0;
681 }
virtual Real k_from_p_T(Real pressure, Real temperature) const override
static const std::string k
Definition: NS.h:124

◆ k_from_v_e() [1/2]

Real IdealGasFluidProperties::k_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 229 of file IdealGasFluidProperties.C.

229 { return _k; }
const Real _k
Thermal conductivity.

◆ k_from_v_e() [2/2]

void IdealGasFluidProperties::k_from_v_e ( Real  v,
Real  e,
Real k,
Real dk_dv,
Real dk_de 
) const
overridevirtual

Definition at line 232 of file IdealGasFluidProperties.C.

234 {
235  k = _k;
236  dk_dv = 0;
237  dk_de = 0;
238 }
const Real _k
Thermal conductivity.
static const std::string k
Definition: NS.h:124

◆ makeZeroAndOne() [1/2]

template<typename T >
std::pair< T, T > SinglePhaseFluidProperties::makeZeroAndOne ( const T )
staticprotectedinherited

Given a type example, this method returns zero and unity representations of that type (first and second members of returned pair respectively)

Definition at line 473 of file SinglePhaseFluidProperties.h.

Referenced by SinglePhaseFluidProperties::xyDerivatives().

474 {
475  return {T{0, 0}, T{1, 0}};
476 }

◆ makeZeroAndOne() [2/2]

template<>
std::pair<Real, Real> SinglePhaseFluidProperties::makeZeroAndOne ( const Real )
inlineinherited

Definition at line 480 of file SinglePhaseFluidProperties.h.

481 {
482  return {Real{0}, Real{1}};
483 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ molarMass()

Real IdealGasFluidProperties::molarMass ( ) const
overridevirtual

Fluid name.

Returns
string representing fluid name Molar mass [kg/mol]
molar mass

Reimplemented from SinglePhaseFluidProperties.

Definition at line 594 of file IdealGasFluidProperties.C.

595 {
596  return _molar_mass;
597 }
const Real & _molar_mass
molar mass

◆ mu_from_p_T() [1/2]

Real IdealGasFluidProperties::mu_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 657 of file IdealGasFluidProperties.C.

Referenced by mu_from_p_T().

658 {
659  return _mu;
660 }
const Real _mu
Dynamic viscosity.

◆ mu_from_p_T() [2/2]

void IdealGasFluidProperties::mu_from_p_T ( Real  p,
Real  T,
Real mu,
Real dmu_dp,
Real dmu_dT 
) const
overridevirtual

Definition at line 663 of file IdealGasFluidProperties.C.

664 {
665  mu = this->mu_from_p_T(p, T);
666  dmu_dp = 0.0;
667  dmu_dT = 0.0;
668 }
static const std::string mu
Definition: NS.h:122
virtual Real mu_from_p_T(Real p, Real T) const override

◆ mu_from_v_e() [1/2]

Real IdealGasFluidProperties::mu_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 219 of file IdealGasFluidProperties.C.

Referenced by mu_from_v_e().

219 { return _mu; }
const Real _mu
Dynamic viscosity.

◆ mu_from_v_e() [2/2]

void IdealGasFluidProperties::mu_from_v_e ( Real  v,
Real  e,
Real mu,
Real dmu_dv,
Real dmu_de 
) const
overridevirtual

Definition at line 222 of file IdealGasFluidProperties.C.

223 {
224  mu = this->mu_from_v_e(v, e);
225  dmu_dv = 0.0;
226  dmu_de = 0.0;
227 }
virtual Real mu_from_v_e(Real v, Real e) const override
static const std::string mu
Definition: NS.h:122

◆ p_from_h_s() [1/2]

Real IdealGasFluidProperties::p_from_h_s ( Real  h,
Real  s 
) const
overridevirtual

Definition at line 560 of file IdealGasFluidProperties.C.

Referenced by p_from_h_s().

561 {
562  return std::pow(h / (_gamma * _cv), _gamma / (_gamma - 1.0)) *
563  std::exp(-s / ((_gamma - 1.0) * _cv));
564 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
e e e e s T T T T T rho v v T h
MooseUnits pow(const MooseUnits &, int)

◆ p_from_h_s() [2/2]

void IdealGasFluidProperties::p_from_h_s ( Real  h,
Real  s,
Real p,
Real dp_dh,
Real dp_ds 
) const
overridevirtual

Definition at line 567 of file IdealGasFluidProperties.C.

568 {
569  p = p_from_h_s(h, s);
570  dp_dh = _gamma / (_gamma - 1.0) / (_gamma * _cv) *
571  std::pow(h / (_gamma * _cv), 1.0 / (_gamma - 1.0)) *
572  std::exp(-s / ((_gamma - 1.0) * _cv));
573  dp_ds = std::pow(h / (_gamma * _cv), _gamma / (_gamma - 1)) *
574  std::exp(-s / ((_gamma - 1) * _cv)) / ((1 - _gamma) * _cv);
575 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
e e e e s T T T T T rho v v T h
virtual Real p_from_h_s(Real h, Real s) const override
MooseUnits pow(const MooseUnits &, int)

◆ p_from_T_v() [1/2]

Real IdealGasFluidProperties::p_from_T_v ( Real  T,
Real  v 
) const
overridevirtual

Definition at line 475 of file IdealGasFluidProperties.C.

Referenced by s_from_T_v(), and TEST_F().

476 {
477  return (_gamma - 1.0) * _cv * T / v;
478 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ p_from_T_v() [2/2]

void IdealGasFluidProperties::p_from_T_v ( Real  T,
Real  v,
Real p,
Real dp_dT,
Real dp_dv 
) const
overridevirtual

Definition at line 481 of file IdealGasFluidProperties.C.

482 {
483  p = (_gamma - 1.0) * _cv * T / v;
484  dp_dT = (_gamma - 1.0) * _cv / v;
485  dp_dv = -(_gamma - 1.0) * _cv * T / (v * v);
486 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)

◆ p_from_v_e() [1/4]

Real IdealGasFluidProperties::p_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 65 of file IdealGasFluidProperties.C.

Referenced by NSPressureAux::computeValue(), g_from_v_e(), p_from_v_e(), s_from_v_e(), and TEST_F().

66 {
67  if (v == 0.0)
68  return getNaN("Invalid value of specific volume detected (v = " + Moose::stringify(v) + ").");
69 
70  return (_gamma - 1.0) * e / v;
71 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
std::string stringify(const T &t)

◆ p_from_v_e() [2/4]

ADReal IdealGasFluidProperties::p_from_v_e ( const ADReal v,
const ADReal e 
) const
overridevirtual

Reimplemented in TestConservedVarFluidProperties.

Definition at line 74 of file IdealGasFluidProperties.C.

75 {
76  if (v.value() == 0.0)
77  return getNaN("Invalid value of specific volume detected (v = " + Moose::stringify(v.value()) +
78  ").");
79 
80  return (_gamma - 1.0) * e / v;
81 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
std::string stringify(const T &t)

◆ p_from_v_e() [3/4]

void IdealGasFluidProperties::p_from_v_e ( Real  v,
Real  e,
Real p,
Real dp_dv,
Real dp_de 
) const
overridevirtual

Definition at line 84 of file IdealGasFluidProperties.C.

85 {
86  p = p_from_v_e(v, e);
87  dp_dv = -(_gamma - 1.0) * e / v / v;
88  dp_de = (_gamma - 1.0) / v;
89 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real p_from_v_e(Real v, Real e) const override

◆ p_from_v_e() [4/4]

void IdealGasFluidProperties::p_from_v_e ( const DualReal v,
const DualReal e,
DualReal p,
DualReal dp_dv,
DualReal dp_de 
) const
overridevirtual

Definition at line 92 of file IdealGasFluidProperties.C.

94 {
95  p = p_from_v_e(v, e);
96  dp_dv = -(_gamma - 1.0) * e / v / v;
97  dp_de = (_gamma - 1.0) / v;
98 }
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real p_from_v_e(Real v, Real e) const override

◆ p_T_from_h_s()

template<typename T >
void SinglePhaseFluidProperties::p_T_from_h_s ( const T h,
const T s,
Real  p0,
Real  T0,
T pressure,
T temperature,
bool &  conversion_succeeded 
) const
inherited

Determines (p,T) from (h,s) using Newton Solve in 2D Useful for conversion between different sets of state variables.

Parameters
[in]hspecific enthalpy (J / kg)
[in]sspecific entropy (J/K*kg)
[in]p0initial guess for pressure (Pa / kg)
[in]T0initial guess for temperature (K)
[out]fluidpressure (Pa / kg)
[out]Temperature(K)

Definition at line 572 of file SinglePhaseFluidProperties.h.

Referenced by TabulatedFluidProperties::T_from_h_s().

579 {
580  auto h_lambda = [&](const T & pressure, const T & temperature, T & new_h, T & dh_dp, T & dh_dT)
581  { h_from_p_T(pressure, temperature, new_h, dh_dp, dh_dT); };
582  auto s_lambda = [&](const T & pressure, const T & temperature, T & new_s, T & ds_dp, T & ds_dT)
583  { s_from_p_T(pressure, temperature, new_s, ds_dp, ds_dT); };
584  try
585  {
587  h, s, p0, T0, pressure, temperature, _tolerance, _tolerance, h_lambda, s_lambda);
588  conversion_succeeded = true;
589  }
590  catch (MooseException &)
591  {
592  conversion_succeeded = false;
593  }
594 
595  if (!conversion_succeeded)
596  mooseDoOnce(mooseWarning("Conversion from (h, s)=(", h, ", ", s, ") to (p, T) failed"));
597 }
static const std::string temperature
Definition: NS.h:57
void mooseWarning(Args &&... args) const
const Real _tolerance
Newton&#39;s method may be used to convert between variable sets _tolerance, _T_initial_guess, and _p_initial_guess are the parameters for these iterative solves.
void NewtonSolve2D(const T &f, const T &g, const Real x0, const Real y0, T &x_final, T &y_final, const Real f_tol, const Real g_tol, const Functor1 &func1, const Functor2 &func2, const unsigned int max_its=100)
NewtonSolve2D does a 2D Newton Solve to solve for the x and y such that: f = func1(x, y) and g = func2(x, y).
e e e e s T T T T T rho v v T h
static const std::string pressure
Definition: NS.h:56

◆ p_T_from_v_e()

template<typename CppType >
void SinglePhaseFluidProperties::p_T_from_v_e ( const CppType &  v,
const CppType &  e,
Real  p0,
Real  T0,
CppType &  p,
CppType &  T,
bool &  conversion_succeeded 
) const
inherited

Determines (p,T) from (v,e) using Newton Solve in 2D Useful for conversion between different sets of state variables.

Parameters
[in]vspecific volume (m^3 / kg)
[in]especific internal energy (J / kg)
[in]p0initial guess for pressure (Pa / kg)
[in]T0initial guess for temperature (K)
[out]fluidpressure (Pa / kg)
[out]Temperature(K)

Definition at line 508 of file SinglePhaseFluidProperties.h.

Referenced by TabulatedBicubicFluidProperties::constructInterpolation(), and TabulatedFluidProperties::g_from_v_e().

515 {
516  auto v_lambda = [&](const CppType & pressure,
517  const CppType & temperature,
518  CppType & new_v,
519  CppType & dv_dp,
520  CppType & dv_dT) { v_from_p_T(pressure, temperature, new_v, dv_dp, dv_dT); };
521  auto e_lambda = [&](const CppType & pressure,
522  const CppType & temperature,
523  CppType & new_e,
524  CppType & de_dp,
525  CppType & de_dT) { e_from_p_T(pressure, temperature, new_e, de_dp, de_dT); };
526  try
527  {
529  v, e, p0, T0, p, T, _tolerance, _tolerance, v_lambda, e_lambda);
530  conversion_succeeded = true;
531  }
532  catch (MooseException &)
533  {
534  conversion_succeeded = false;
535  }
536 
537  if (!conversion_succeeded)
538  mooseDoOnce(mooseWarning("Conversion from (v, e)=(", v, ", ", e, ") to (p, T) failed"));
539 }
static const std::string temperature
Definition: NS.h:57
void mooseWarning(Args &&... args) const
const Real _tolerance
Newton&#39;s method may be used to convert between variable sets _tolerance, _T_initial_guess, and _p_initial_guess are the parameters for these iterative solves.
void NewtonSolve2D(const T &f, const T &g, const Real x0, const Real y0, T &x_final, T &y_final, const Real f_tol, const Real g_tol, const Functor1 &func1, const Functor2 &func2, const unsigned int max_its=100)
NewtonSolve2D does a 2D Newton Solve to solve for the x and y such that: f = func1(x, y) and g = func2(x, y).
static const std::string pressure
Definition: NS.h:56

◆ p_T_from_v_h()

template<typename T >
void SinglePhaseFluidProperties::p_T_from_v_h ( const T v,
const T h,
Real  p0,
Real  T0,
T pressure,
T temperature,
bool &  conversion_succeeded 
) const
inherited

Determines (p,T) from (v,h) using Newton Solve in 2D Useful for conversion between different sets of state variables.

Parameters
[in]vspecific volume (m^3 / kg)
[in]hspecific enthalpy (J / kg)
[in]p0initial guess for pressure (Pa / kg)
[in]T0initial guess for temperature (K)
[out]fluidpressure (Pa / kg)
[out]Temperature(K)

Definition at line 543 of file SinglePhaseFluidProperties.h.

Referenced by TabulatedBicubicFluidProperties::constructInterpolation().

550 {
551  auto v_lambda = [&](const T & pressure, const T & temperature, T & new_v, T & dv_dp, T & dv_dT)
552  { v_from_p_T(pressure, temperature, new_v, dv_dp, dv_dT); };
553  auto h_lambda = [&](const T & pressure, const T & temperature, T & new_h, T & dh_dp, T & dh_dT)
554  { h_from_p_T(pressure, temperature, new_h, dh_dp, dh_dT); };
555  try
556  {
558  v, h, p0, T0, pressure, temperature, _tolerance, _tolerance, v_lambda, h_lambda);
559  conversion_succeeded = true;
560  }
561  catch (MooseException &)
562  {
563  conversion_succeeded = false;
564  }
565 
566  if (!conversion_succeeded)
567  mooseDoOnce(mooseWarning("Conversion from (v, h)=(", v, ", ", h, ") to (p, T) failed"));
568 }
static const std::string temperature
Definition: NS.h:57
void mooseWarning(Args &&... args) const
const Real _tolerance
Newton&#39;s method may be used to convert between variable sets _tolerance, _T_initial_guess, and _p_initial_guess are the parameters for these iterative solves.
void NewtonSolve2D(const T &f, const T &g, const Real x0, const Real y0, T &x_final, T &y_final, const Real f_tol, const Real g_tol, const Functor1 &func1, const Functor2 &func2, const unsigned int max_its=100)
NewtonSolve2D does a 2D Newton Solve to solve for the x and y such that: f = func1(x, y) and g = func2(x, y).
e e e e s T T T T T rho v v T h
static const std::string pressure
Definition: NS.h:56

◆ pp_sat_from_p_T()

Real IdealGasFluidProperties::pp_sat_from_p_T ( Real  ,
Real   
) const
overridevirtual

Definition at line 683 of file IdealGasFluidProperties.C.

684 {
685  mooseError(__PRETTY_FUNCTION__, " not implemented. Use a real fluid property class!");
686 }
void mooseError(Args &&... args) const

◆ propfunc() [1/14]

SinglePhaseFluidProperties::propfunc ( p  ,
v  ,
 
)
inherited

Compute a fluid property given for the state defined by two given properties.

For all functions, the first two arguments are the given properties that define the fluid state. For the two-argument variants, the desired property is the return value. The five-argument variants also provide partial derivatives dx/da and dx/db where x is the desired property being computed, a is the first given property, and b is the second given property. The desired property, dx/da, and dx/db are stored into the 3rd, 4th, and 5th arguments respectively.

Properties/parameters used in these function are listed below with their units:

p pressure [Pa] T temperature [K] e specific internal energy [J/kg] v specific volume [m^3/kg] rho density [kg/m^3] h specific enthalpy [J/kg] s specific entropy [J/(kg*K)] mu viscosity [Pa*s] k thermal conductivity [W/(m*K)] c speed of sound [m/s] cp constant-pressure specific heat [J/K] cv constant-volume specific heat [J/K] beta volumetric thermal expansion coefficient [1/K] g Gibbs free energy [J] pp_sat partial pressure at saturation [Pa] gamma Adiabatic ratio (cp/cv) [-]

As an example:

// calculate pressure given specific vol and energy: auto pressure = your_fluid_properties_object.p_from_v_e(specific_vol, specific_energy);

// or use the derivative variant: Real dp_dv = 0; // derivative will be stored into here Real dp_de = 0; // derivative will be stored into here your_fluid_properties_object.p_from_v_e(specific_vol, specific_energy, pressure, dp_dv, dp_de);

Automatic differentiation (AD) support is provided through x_from_a_b(DualReal a, DualReal b) and x_from_a_b(DualReal a, DualReal b, DualReal x, DualReal dx_da, DualReal dx_db) versions of the functions where a and b must be ADReal/DualNumber's calculated using all AD-supporting values:

auto v = 1/rho; // rho must be an AD non-linear variable. auto e = rhoE/rho - vel_energy; // rhoE and vel_energy must be AD variables/numbers also. auto pressure = your_fluid_properties_object.p_from_v_e(v, e); // pressure now contains partial derivatives w.r.t. all degrees of freedom

◆ propfunc() [2/14]

e SinglePhaseFluidProperties::propfunc ( c  ,
v  ,
 
)
inherited

◆ propfunc() [3/14]

e e SinglePhaseFluidProperties::propfunc ( cv  ,
v  ,
 
)
inherited

◆ propfunc() [4/14]

e e e SinglePhaseFluidProperties::propfunc ( ,
v  ,
 
)
inherited

◆ propfunc() [5/14]

e e e e SinglePhaseFluidProperties::propfunc ( ,
h  ,
p   
)
inherited

◆ propfunc() [6/14]

e e e e s SinglePhaseFluidProperties::propfunc ( ,
v  ,
h   
)
inherited

◆ propfunc() [7/14]

e e e e s T SinglePhaseFluidProperties::propfunc ( pp_sat  ,
p  ,
T   
)
inherited

◆ propfunc() [8/14]

e e e e s T T SinglePhaseFluidProperties::propfunc ( ,
rho  ,
T   
)
inherited

◆ propfunc() [9/14]

e e e e s T T T T T SinglePhaseFluidProperties::propfunc ( rho  ,
p  ,
T   
)
inherited

◆ propfunc() [10/14]

e e e e s T T T T T rho SinglePhaseFluidProperties::propfunc ( ,
T  ,
v   
)
inherited

◆ propfunc() [11/14]

e e e e s T T T T T rho v SinglePhaseFluidProperties::propfunc ( h  ,
T  ,
v   
)
inherited

◆ propfunc() [12/14]

e e e e s T T T T T rho v v SinglePhaseFluidProperties::propfunc ( cv  ,
T  ,
v   
)
inherited

◆ propfunc() [13/14]

e e e e s T T T T T rho v v T SinglePhaseFluidProperties::propfunc ( ,
v  ,
 
)
inherited

◆ propfunc() [14/14]

e e e e s T T T T T rho v v T s SinglePhaseFluidProperties::propfunc ( T  ,
h  ,
p   
)
inherited

◆ propfuncWithDefault() [1/4]

e e e e s T T T SinglePhaseFluidProperties::propfuncWithDefault ( cp  ,
p  ,
T   
)
inherited

◆ propfuncWithDefault() [2/4]

e e e e s T T T T SinglePhaseFluidProperties::propfuncWithDefault ( mu  ,
p  ,
T   
)
inherited

◆ propfuncWithDefault() [3/4]

e e e e s T T T T T rho v v T s h SinglePhaseFluidProperties::propfuncWithDefault ( beta  ,
p  ,
T   
)
inherited

◆ propfuncWithDefault() [4/4]

e e e e s T T T T T rho v v T s h T SinglePhaseFluidProperties::propfuncWithDefault ( ,
p  ,
T   
)
inherited

◆ rho_e_from_p_T()

void SinglePhaseFluidProperties::rho_e_from_p_T ( Real  p,
Real  T,
Real rho,
Real drho_dp,
Real drho_dT,
Real e,
Real de_dp,
Real de_dT 
) const
virtualinherited

Definition at line 413 of file SinglePhaseFluidProperties.C.

421 {
422  rho_from_p_T(p, T, rho, drho_dp, drho_dT);
423  e_from_p_T(p, T, e, de_dp, de_dT);
424 }

◆ rho_from_p_s() [1/2]

Real IdealGasFluidProperties::rho_from_p_s ( Real  p,
Real  s 
) const
overridevirtual

Definition at line 336 of file IdealGasFluidProperties.C.

337 {
338  const Real aux = (s + _cv * std::log(std::pow(p, _gamma - 1.0))) / _cv;
339  const Real T = std::pow(std::exp(aux), 1.0 / _gamma);
340  return rho_from_p_T(p, T);
341 }
const Real _cv
Specific heat at constant volume.
virtual Real rho_from_p_T(Real p, Real T) const override
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ rho_from_p_s() [2/2]

void IdealGasFluidProperties::rho_from_p_s ( Real  p,
Real  s,
Real rho,
Real drho_dp,
Real drho_ds 
) const
overridevirtual

Definition at line 344 of file IdealGasFluidProperties.C.

346 {
347  // T(p,s)
348  const Real aux = (s + _cv * std::log(std::pow(p, _gamma - 1.0))) / _cv;
349  const Real T = std::pow(std::exp(aux), 1 / _gamma);
350 
351  // dT/dp
352  const Real dT_dp = 1.0 / _gamma * std::pow(std::exp(aux), 1.0 / _gamma - 1.0) * std::exp(aux) /
353  std::pow(p, _gamma - 1.0) * (_gamma - 1.0) * std::pow(p, _gamma - 2.0);
354 
355  // dT/ds
356  const Real dT_ds =
357  1.0 / _gamma * std::pow(std::exp(aux), 1.0 / _gamma - 1.0) * std::exp(aux) / _cv;
358 
359  // Drho/Dp = d/dp[rho(p, T(p,s))] = drho/dp + drho/dT * dT/dp
360  Real drho_dp_partial, drho_dT;
361  rho_from_p_T(p, T, rho, drho_dp_partial, drho_dT);
362  drho_dp = drho_dp_partial + drho_dT * dT_dp;
363 
364  // Drho/Ds = d/ds[rho(p, T(p,s))] = drho/dT * dT/ds
365  drho_ds = drho_dT * dT_ds;
366 }
const Real _cv
Specific heat at constant volume.
virtual Real rho_from_p_T(Real p, Real T) const override
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ rho_from_p_T() [1/4]

Real IdealGasFluidProperties::rho_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

◆ rho_from_p_T() [2/4]

ADReal IdealGasFluidProperties::rho_from_p_T ( const ADReal p,
const ADReal T 
) const
overridevirtual

Definition at line 389 of file IdealGasFluidProperties.C.

390 {
391  return p * _molar_mass / (_R * T);
392 }
static const Real _R
Universal gas constant (J/mol/K)
const Real & _molar_mass
molar mass

◆ rho_from_p_T() [3/4]

void IdealGasFluidProperties::rho_from_p_T ( Real  p,
Real  T,
Real rho,
Real drho_dp,
Real drho_dT 
) const
overridevirtual

Definition at line 407 of file IdealGasFluidProperties.C.

409 {
410  rho = rho_from_p_T(p, T);
411  drho_dp = _molar_mass / (_R * T);
412  drho_dT = -p * _molar_mass / (_R * T * T);
413 }
virtual Real rho_from_p_T(Real p, Real T) const override
static const Real _R
Universal gas constant (J/mol/K)
const Real & _molar_mass
molar mass

◆ rho_from_p_T() [4/4]

void IdealGasFluidProperties::rho_from_p_T ( const DualReal p,
const DualReal T,
DualReal rho,
DualReal drho_dp,
DualReal drho_dT 
) const
overridevirtual

Definition at line 395 of file IdealGasFluidProperties.C.

400 {
401  rho = rho_from_p_T(p, T);
402  drho_dp = _molar_mass / (_R * T);
403  drho_dT = -p * _molar_mass / (_R * T * T);
404 }
virtual Real rho_from_p_T(Real p, Real T) const override
static const Real _R
Universal gas constant (J/mol/K)
const Real & _molar_mass
molar mass

◆ rho_mu_from_p_T() [1/3]

void SinglePhaseFluidProperties::rho_mu_from_p_T ( Real  p,
Real  T,
Real rho,
Real mu 
) const
virtualinherited

Combined methods.

These methods are particularly useful for the PorousFlow module, where density and viscosity are typically both computed everywhere. The combined methods allow the most efficient means of calculating both properties, especially where rho(p, T) and mu(rho, T). In this case, an extra density calculation would be required to calculate mu(p, T). All property names are described above.

Reimplemented in Water97FluidProperties, CO2FluidProperties, HydrogenFluidProperties, and NitrogenFluidProperties.

Definition at line 427 of file SinglePhaseFluidProperties.C.

Referenced by PorousFlowWaterNCG::gasProperties(), PorousFlowBrineCO2::gasProperties(), and PorousFlowWaterNCG::liquidProperties().

428 {
429  rho = rho_from_p_T(p, T);
430  mu = mu_from_p_T(p, T);
431 }
static const std::string mu
Definition: NS.h:122

◆ rho_mu_from_p_T() [2/3]

void SinglePhaseFluidProperties::rho_mu_from_p_T ( Real  p,
Real  T,
Real rho,
Real drho_dp,
Real drho_dT,
Real mu,
Real dmu_dp,
Real dmu_dT 
) const
virtualinherited

Reimplemented in Water97FluidProperties, CO2FluidProperties, HydrogenFluidProperties, and NitrogenFluidProperties.

Definition at line 434 of file SinglePhaseFluidProperties.C.

442 {
443  rho_from_p_T(p, T, rho, drho_dp, drho_dT);
444  mu_from_p_T(p, T, mu, dmu_dp, dmu_dT);
445 }
static const std::string mu
Definition: NS.h:122

◆ rho_mu_from_p_T() [3/3]

void SinglePhaseFluidProperties::rho_mu_from_p_T ( const DualReal p,
const DualReal T,
DualReal rho,
DualReal mu 
) const
virtualinherited

Definition at line 448 of file SinglePhaseFluidProperties.C.

452 {
453  rho = rho_from_p_T(p, T);
454  mu = mu_from_p_T(p, T);
455 }
static const std::string mu
Definition: NS.h:122

◆ s_from_h_p() [1/2]

Real IdealGasFluidProperties::s_from_h_p ( Real  h,
Real  p 
) const
overridevirtual

Definition at line 314 of file IdealGasFluidProperties.C.

Referenced by s_from_h_p().

315 {
316  const Real aux = p * std::pow(h / (_gamma * _cv), -_gamma / (_gamma - 1));
317  if (aux <= 0.0)
318  return getNaN("Non-positive argument in the ln() function.");
319  return -(_gamma - 1) * _cv * std::log(aux);
320 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
e e e e s T T T T T rho v v T h
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ s_from_h_p() [2/2]

void IdealGasFluidProperties::s_from_h_p ( Real  h,
Real  p,
Real s,
Real ds_dh,
Real ds_dp 
) const
overridevirtual

Definition at line 323 of file IdealGasFluidProperties.C.

324 {
325  s = s_from_h_p(h, p);
326 
327  const Real aux = p * std::pow(h / (_gamma * _cv), -_gamma / (_gamma - 1));
328  const Real daux_dh = p * std::pow(h / (_gamma * _cv), -_gamma / (_gamma - 1) - 1) *
329  (-_gamma / (_gamma - 1)) / (_gamma * _cv);
330  const Real daux_dp = std::pow(h / (_gamma * _cv), -_gamma / (_gamma - 1));
331  ds_dh = -(_gamma - 1) * _cv / aux * daux_dh;
332  ds_dp = -(_gamma - 1) * _cv / aux * daux_dp;
333 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real s_from_h_p(Real h, Real p) const override
e e e e s T T T T T rho v v T h
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ s_from_p_T() [1/2]

Real IdealGasFluidProperties::s_from_p_T ( Real  p,
Real  T 
) const
overridevirtual

Definition at line 283 of file IdealGasFluidProperties.C.

Referenced by s_from_T_v().

284 {
285  const Real n = std::pow(T, _gamma) / std::pow(p, _gamma - 1.0);
286  if (n <= 0.0)
287  return getNaN("Negative argument in the ln() function.");
288  return _cv * std::log(n);
289 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ s_from_p_T() [2/2]

void IdealGasFluidProperties::s_from_p_T ( Real  p,
Real  T,
Real s,
Real ds_dp,
Real ds_dT 
) const
overridevirtual

Definition at line 292 of file IdealGasFluidProperties.C.

293 {
294  const Real n = std::pow(T, _gamma) / std::pow(p, _gamma - 1.0);
295  if (n <= 0.0)
296  {
297  s = getNaN("Negative argument in the ln() function.");
298  ds_dp = getNaN();
299  ds_dT = getNaN();
300  }
301  else
302  {
303  s = _cv * std::log(n);
304 
305  const Real dn_dT = _gamma * std::pow(T, _gamma - 1.0) / std::pow(p, _gamma - 1.0);
306  const Real dn_dp = std::pow(T, _gamma) * (1.0 - _gamma) * std::pow(p, -_gamma);
307 
308  ds_dp = _cv / n * dn_dp;
309  ds_dT = _cv / n * dn_dT;
310  }
311 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ s_from_T_v() [1/2]

Real IdealGasFluidProperties::s_from_T_v ( Real  T,
Real  v 
) const
overridevirtual

Definition at line 503 of file IdealGasFluidProperties.C.

504 {
505  Real p = p_from_T_v(T, v);
506  return s_from_p_T(p, T);
507 }
virtual Real p_from_T_v(Real T, Real v) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real s_from_p_T(Real p, Real T) const override

◆ s_from_T_v() [2/2]

void IdealGasFluidProperties::s_from_T_v ( Real  T,
Real  v,
Real s,
Real ds_dT,
Real ds_dv 
) const
overridevirtual

Definition at line 510 of file IdealGasFluidProperties.C.

511 {
512  Real p, dp_dT_v, dp_dv_T;
513  Real ds_dp_T, ds_dT_p;
514  p_from_T_v(T, v, p, dp_dT_v, dp_dv_T);
515  s_from_p_T(p, T, s, ds_dp_T, ds_dT_p);
516  ds_dT = ds_dT_p + ds_dp_T * dp_dT_v;
517  ds_dv = ds_dp_T * dp_dv_T;
518 }
virtual Real p_from_T_v(Real T, Real v) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real s_from_p_T(Real p, Real T) const override

◆ s_from_v_e() [1/2]

Real IdealGasFluidProperties::s_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 241 of file IdealGasFluidProperties.C.

242 {
243  const Real T = T_from_v_e(v, e);
244  const Real p = p_from_v_e(v, e);
245  const Real n = std::pow(T, _gamma) / std::pow(p, _gamma - 1.0);
246  if (n <= 0.0)
247  return getNaN("Negative argument in the ln() function.");
248  return _cv * std::log(n);
249 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real p_from_v_e(Real v, Real e) const override
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
virtual Real T_from_v_e(Real v, Real e) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ s_from_v_e() [2/2]

void IdealGasFluidProperties::s_from_v_e ( Real  v,
Real  e,
Real s,
Real ds_dv,
Real ds_de 
) const
overridevirtual

Definition at line 252 of file IdealGasFluidProperties.C.

253 {
254  Real T, dT_dv, dT_de;
255  T_from_v_e(v, e, T, dT_dv, dT_de);
256 
257  Real p, dp_dv, dp_de;
258  p_from_v_e(v, e, p, dp_dv, dp_de);
259 
260  const Real n = std::pow(T, _gamma) / std::pow(p, _gamma - 1.0);
261  if (n <= 0.0)
262  {
263  s = getNaN("Negative argument in the ln() function.");
264  ds_dv = getNaN();
265  ds_de = getNaN();
266  }
267  else
268  {
269  s = _cv * std::log(n);
270 
271  const Real dn_dT = _gamma * std::pow(T, _gamma - 1.0) / std::pow(p, _gamma - 1.0);
272  const Real dn_dp = std::pow(T, _gamma) * (1.0 - _gamma) * std::pow(p, -_gamma);
273 
274  const Real dn_dv = dn_dT * dT_dv + dn_dp * dp_dv;
275  const Real dn_de = dn_dT * dT_de + dn_dp * dp_de;
276 
277  ds_dv = _cv / n * dn_dv;
278  ds_de = _cv / n * dn_de;
279  }
280 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
virtual Real p_from_v_e(Real v, Real e) const override
Real getNaN() const
Throws an error or returns a NaN with or without a warning, with a default message.
Definition: NaNInterface.h:45
virtual Real T_from_v_e(Real v, Real e) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)

◆ subdomainSetup()

virtual void FluidProperties::subdomainSetup ( )
inlinefinalvirtualinherited

Reimplemented from ThreadedGeneralUserObject.

Definition at line 38 of file FluidProperties.h.

38 {}

◆ T_from_p_h() [1/2]

Real IdealGasFluidProperties::T_from_p_h ( Real  p,
Real  h 
) const
overridevirtual

Definition at line 618 of file IdealGasFluidProperties.C.

619 {
620  return h / _gamma / _cv;
621 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
e e e e s T T T T T rho v v T h

◆ T_from_p_h() [2/2]

void IdealGasFluidProperties::T_from_p_h ( Real  p,
Real  h,
Real T,
Real dT_dp,
Real dT_dh 
) const
overridevirtual

Definition at line 624 of file IdealGasFluidProperties.C.

625 {
626  T = h / (_gamma * _cv);
627  dT_dp = 0;
628  dT_dh = 1.0 / (_gamma * _cv);
629 }
const Real _cv
Specific heat at constant volume.
const Real & _gamma
Adiabatic index (ratio of specific heats cp/cv)
e e e e s T T T T T rho v v T h

◆ T_from_v_e() [1/4]

Real IdealGasFluidProperties::T_from_v_e ( Real  v,
Real  e 
) const
overridevirtual

Definition at line 101 of file IdealGasFluidProperties.C.

Referenced by c_from_v_e(), NSTemperatureAux::computeValue(), g_from_v_e(), s_from_v_e(), T_from_v_e(), and TEST_F().

102 {
103  return e / _cv;
104 }
const Real _cv
Specific heat at constant volume.

◆ T_from_v_e() [2/4]

ADReal IdealGasFluidProperties::T_from_v_e ( const ADReal v,
const ADReal e 
) const
overridevirtual

Reimplemented in TestConservedVarFluidProperties.

Definition at line 107 of file IdealGasFluidProperties.C.

108 {
109  return e / _cv;
110 }
const Real _cv
Specific heat at constant volume.

◆ T_from_v_e() [3/4]

void IdealGasFluidProperties::T_from_v_e ( Real  v,
Real  e,
Real T,
Real dT_dv,
Real dT_de 
) const
overridevirtual

Definition at line 113 of file IdealGasFluidProperties.C.

114 {
115  T = T_from_v_e(v, e);
116  dT_dv = 0.0;
117  dT_de = 1.0 / _cv;
118 }
const Real _cv
Specific heat at constant volume.
virtual Real T_from_v_e(Real v, Real e) const override

◆ T_from_v_e() [4/4]

void IdealGasFluidProperties::T_from_v_e ( const DualReal v,
const DualReal e,
DualReal T,
DualReal dT_dv,
DualReal dT_de 
) const
overridevirtual

Definition at line 121 of file IdealGasFluidProperties.C.

123 {
124  T = T_from_v_e(v, e);
125  dT_dv = 0.0;
126  dT_de = 1.0 / _cv;
127 }
const Real _cv
Specific heat at constant volume.
virtual Real T_from_v_e(Real v, Real e) const override

◆ threadJoin()

virtual void FluidProperties::threadJoin ( const UserObject )
inlinefinalvirtualinherited

Reimplemented from ThreadedGeneralUserObject.

Definition at line 37 of file FluidProperties.h.

37 {}

◆ triplePointPressure()

Real SinglePhaseFluidProperties::triplePointPressure ( ) const
virtualinherited

Triple point pressure.

Returns
triple point pressure (Pa)

Reimplemented in CO2FluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, MethaneFluidProperties, NaClFluidProperties, and Water97FluidProperties.

Definition at line 303 of file SinglePhaseFluidProperties.C.

304 {
305  mooseError(__PRETTY_FUNCTION__, " not implemented.");
306 }
void mooseError(Args &&... args) const

◆ triplePointTemperature()

Real SinglePhaseFluidProperties::triplePointTemperature ( ) const
virtualinherited

Triple point temperature.

Returns
triple point temperature (K)

Reimplemented in CO2FluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, MethaneFluidProperties, NaClFluidProperties, and Water97FluidProperties.

Definition at line 309 of file SinglePhaseFluidProperties.C.

310 {
311  mooseError(__PRETTY_FUNCTION__, " not implemented.");
312 }
void mooseError(Args &&... args) const

◆ v_e_from_p_T() [1/2]

template<typename CppType >
void SinglePhaseFluidProperties::v_e_from_p_T ( const CppType &  p,
const CppType &  T,
CppType &  v,
CppType &  e 
) const
inherited

Definition at line 601 of file SinglePhaseFluidProperties.h.

605 {
606  const CppType rho = rho_from_p_T(p, T);
607  v = 1.0 / rho;
608  try
609  {
610  // more likely to not involve a Newton search
611  e = e_from_p_T(p, T);
612  }
613  catch (...)
614  {
615  e = e_from_p_rho(p, rho);
616  }
617 }

◆ v_e_from_p_T() [2/2]

template<typename CppType >
void SinglePhaseFluidProperties::v_e_from_p_T ( const CppType &  p,
const CppType &  T,
CppType &  v,
CppType &  dv_dp,
CppType &  dv_dT,
CppType &  e,
CppType &  de_dp,
CppType &  de_dT 
) const
inherited

Definition at line 621 of file SinglePhaseFluidProperties.h.

629 {
630  CppType rho, drho_dp, drho_dT;
631  rho_from_p_T(p, T, rho, drho_dp, drho_dT);
632 
633  v = 1.0 / rho;
634  const CppType dv_drho = -1.0 / (rho * rho);
635  dv_dp = dv_drho * drho_dp;
636  dv_dT = dv_drho * drho_dT;
637 
638  CppType de_dp_partial, de_drho;
639  e_from_p_rho(p, rho, e, de_dp_partial, de_drho);
640  de_dp = de_dp_partial + de_drho * drho_dp;
641  de_dT = de_drho * drho_dT;
642 }

◆ v_e_spndl_from_T()

void IdealGasFluidProperties::v_e_spndl_from_T ( Real  T,
Real v,
Real e 
) const
overridevirtual

Specific internal energy from temperature and specific volume.

Parameters
[in]Ttemperature
[in]vspecific volume

Reimplemented from SinglePhaseFluidProperties.

Definition at line 525 of file IdealGasFluidProperties.C.

◆ validParams()

InputParameters IdealGasFluidProperties::validParams ( )
static

Definition at line 18 of file IdealGasFluidProperties.C.

Referenced by TestConservedVarFluidProperties::validParams().

19 {
21  params += NaNInterface::validParams();
22 
23  params.addRangeCheckedParam<Real>("gamma", 1.4, "gamma > 1", "gamma value (cp/cv)");
24  params.addParam<Real>("molar_mass", 29.0e-3, "Constant molar mass of the fluid (kg/mol)");
25  params.addParam<Real>("mu", 18.23e-6, "Dynamic viscosity, Pa.s");
26  params.addParam<Real>("k", 25.68e-3, "Thermal conductivity, W/(m-K)");
27  params.addParam<Real>("T_c", 0, "Critical temperature, K");
28  params.addParam<Real>("rho_c", 0, "Critical density, kg/m3");
29  params.addParam<Real>("e_c", 0, "Internal energy at the critical point, J/kg");
30 
31  params.addClassDescription("Fluid properties for an ideal gas");
32 
33  return params;
34 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
Definition: NaNInterface.C:15
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)

◆ vaporPressure() [1/3]

Real SinglePhaseFluidProperties::vaporPressure ( Real  T) const
virtualinherited

Vapor pressure.

Used to delineate liquid and gas phases. Valid for temperatures between the triple point temperature and the critical temperature

Parameters
Tfluid temperature (K)
[out]saturationpressure (Pa)
[out]derivativeof saturation pressure wrt temperature (Pa/K)

Reimplemented in Water97FluidProperties, CO2FluidProperties, TabulatedFluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, and MethaneFluidProperties.

Definition at line 348 of file SinglePhaseFluidProperties.C.

Referenced by PorousFlowWaterNCG::equilibriumMassFractions(), PorousFlowWaterNCG::gasDensity(), PorousFlowWaterNCG::gasProperties(), TabulatedFluidProperties::vaporPressure(), BrineFluidProperties::vaporPressure(), and SinglePhaseFluidProperties::vaporPressure().

349 {
350  mooseError(__PRETTY_FUNCTION__, " not implemented.");
351 }
void mooseError(Args &&... args) const

◆ vaporPressure() [2/3]

void SinglePhaseFluidProperties::vaporPressure ( Real  T,
Real psat,
Real dpsat_dT 
) const
virtualinherited

Reimplemented in Water97FluidProperties, CO2FluidProperties, TabulatedFluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, and MethaneFluidProperties.

Definition at line 360 of file SinglePhaseFluidProperties.C.

361 {
362  unimplementedDerivativeMethod(__PRETTY_FUNCTION__);
363 
364  dp_dT = 0.0;
365  p = vaporPressure(T);
366 }
virtual Real vaporPressure(Real T) const
Vapor pressure.
void unimplementedDerivativeMethod(const std::string &property_function_name) const

◆ vaporPressure() [3/3]

DualReal SinglePhaseFluidProperties::vaporPressure ( const DualReal T) const
inherited

Definition at line 369 of file SinglePhaseFluidProperties.C.

370 {
371  Real p = 0.0;
372  Real temperature = T.value();
373  Real dpdT = 0.0;
374 
375  vaporPressure(temperature, p, dpdT);
376 
377  DualReal result = p;
378  result.derivatives() = T.derivatives() * dpdT;
379 
380  return result;
381 }
DualNumber< Real, DNDerivativeType, true > DualReal
static const std::string temperature
Definition: NS.h:57
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real vaporPressure(Real T) const
Vapor pressure.

◆ vaporTemperature() [1/3]

Real SinglePhaseFluidProperties::vaporTemperature ( Real  p) const
virtualinherited

Vapor temperature.

Used to delineate liquid and gas phases. Valid for pressures between the triple point pressure and the critical pressure

Parameters
pfluid pressure (Pa)
[out]saturationtemperature (K)
[out]derivativeof saturation temperature wrt pressure

Reimplemented in Water97FluidProperties.

Definition at line 383 of file SinglePhaseFluidProperties.C.

Referenced by PorousFlowWaterVapor::thermophysicalProperties(), and SinglePhaseFluidProperties::vaporTemperature().

384 {
385  mooseError(__PRETTY_FUNCTION__, " not implemented.");
386 }
void mooseError(Args &&... args) const

◆ vaporTemperature() [2/3]

void SinglePhaseFluidProperties::vaporTemperature ( Real  p,
Real Tsat,
Real dTsat_dp 
) const
virtualinherited

Reimplemented in Water97FluidProperties.

Definition at line 389 of file SinglePhaseFluidProperties.C.

390 {
391  unimplementedDerivativeMethod(__PRETTY_FUNCTION__);
392 
393  dT_dp = 0.0;
394  T = vaporTemperature(p);
395 }
virtual Real vaporTemperature(Real p) const
Vapor temperature.
void unimplementedDerivativeMethod(const std::string &property_function_name) const

◆ vaporTemperature() [3/3]

DualReal SinglePhaseFluidProperties::vaporTemperature ( const DualReal p) const
inherited

Definition at line 398 of file SinglePhaseFluidProperties.C.

399 {
400  Real T = 0.0;
401  Real pressure = p.value();
402  Real dTdp = 0.0;
403 
404  vaporTemperature(pressure, T, dTdp);
405 
406  DualReal result = T;
407  result.derivatives() = p.derivatives() * dTdp;
408 
409  return result;
410 }
DualNumber< Real, DNDerivativeType, true > DualReal
virtual Real vaporTemperature(Real p) const
Vapor temperature.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string pressure
Definition: NS.h:56

◆ xyDerivatives()

template<typename T , typename Functor >
void SinglePhaseFluidProperties::xyDerivatives ( const T  x,
const T y,
T z,
T dz_dx,
T dz_dy,
const Functor z_from_x_y 
)
staticprotectedinherited

Computes the dependent variable z and its derivatives with respect to the independent variables x and y using the simple two parameter z_from_x_y functor.

The derivatives are computed using a compound automatic differentiation type

Definition at line 487 of file SinglePhaseFluidProperties.h.

Referenced by Water97FluidProperties::e_from_p_rho_template(), Water97FluidProperties::h_from_p_T_template(), Water97FluidProperties::rho_from_p_T_template(), and Water97FluidProperties::v_from_p_T_template().

489 {
491  const auto [zero, one] = makeZeroAndOne(x);
492 
493  CompoundType x_c(x, zero);
494  auto & x_cd = x_c.derivatives();
495  x_cd[0] = one;
496  CompoundType y_c(y, zero);
497  auto & y_cd = y_c.derivatives();
498  y_cd[1] = one;
499 
500  const auto z_c = z_from_x_y(x_c, y_c);
501  z = z_c.value();
502  dz_dx = z_c.derivatives()[0];
503  dz_dy = z_c.derivatives()[1];
504 }
static std::pair< T, T > makeZeroAndOne(const T &)
Given a type example, this method returns zero and unity representations of that type (first and seco...
const std::vector< double > y
const Number zero
const std::vector< double > x

Member Data Documentation

◆ _allow_imperfect_jacobians

const bool FluidProperties::_allow_imperfect_jacobians
protectedinherited

Flag to set unimplemented Jacobian entries to zero.

Definition at line 47 of file FluidProperties.h.

Referenced by VaporMixtureFluidProperties::fluidPropError(), and SinglePhaseFluidProperties::unimplementedDerivativeMethod().

◆ _cp

const Real IdealGasFluidProperties::_cp
protected

Specific heat at constant pressure.

Definition at line 148 of file IdealGasFluidProperties.h.

Referenced by c_from_p_T(), cp(), cp_from_p_T(), cp_from_v_e(), and h_from_p_T().

◆ _cv

const Real IdealGasFluidProperties::_cv
protected

◆ _e_c

Real IdealGasFluidProperties::_e_c
protected

◆ _emit_on_nan

enum NaNMessage NaNInterface::_emit_on_nan
protectedinherited

Raise mooseWarning or mooseError?

Definition at line 40 of file NaNInterface.h.

Referenced by NaNInterface::getNaN(), and NaNInterface::getNaNVector().

◆ _gamma

const Real& IdealGasFluidProperties::_gamma
protected

◆ _k

const Real IdealGasFluidProperties::_k
protected

Thermal conductivity.

Definition at line 155 of file IdealGasFluidProperties.h.

Referenced by k_from_p_T(), and k_from_v_e().

◆ _molar_mass

const Real& IdealGasFluidProperties::_molar_mass
protected

molar mass

Definition at line 143 of file IdealGasFluidProperties.h.

Referenced by c_from_p_T(), molarMass(), and rho_from_p_T().

◆ _moose_object

const MooseObject* const NaNInterface::_moose_object
protectedinherited

Definition at line 37 of file NaNInterface.h.

Referenced by NaNInterface::getNaN(), and NaNInterface::getNaNVector().

◆ _mu

const Real IdealGasFluidProperties::_mu
protected

Dynamic viscosity.

Definition at line 153 of file IdealGasFluidProperties.h.

Referenced by mu_from_p_T(), and mu_from_v_e().

◆ _p_initial_guess

const Real SinglePhaseFluidProperties::_p_initial_guess
protectedinherited

◆ _R

const Real FluidProperties::_R = 8.3144598
staticinherited

◆ _R_specific

const Real IdealGasFluidProperties::_R_specific
protected

Specific gas constant (R / molar mass)

Definition at line 146 of file IdealGasFluidProperties.h.

Referenced by c_from_v_e().

◆ _rho_c

Real IdealGasFluidProperties::_rho_c
protected

Definition at line 159 of file IdealGasFluidProperties.h.

Referenced by criticalDensity(), and v_e_spndl_from_T().

◆ _T_c

Real IdealGasFluidProperties::_T_c
protected

Definition at line 158 of file IdealGasFluidProperties.h.

Referenced by criticalTemperature().

◆ _T_c2k

const Real FluidProperties::_T_c2k
protectedinherited

◆ _T_initial_guess

const Real SinglePhaseFluidProperties::_T_initial_guess
protectedinherited

◆ _tolerance

const Real SinglePhaseFluidProperties::_tolerance
protectedinherited

◆ h

e e e e s T T T T T rho v v T SinglePhaseFluidProperties::h
inherited

Definition at line 210 of file SinglePhaseFluidProperties.h.

Referenced by SodiumSaturationFluidProperties::e_from_p_T(), NaKFluidProperties::e_from_p_T(), NaClFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), CaloricallyImperfectGas::e_from_v_h(), StiffenedGasFluidProperties::e_from_v_h(), e_from_v_h(), Water97FluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), TabulatedFluidProperties::g_from_v_e(), SodiumSaturationFluidProperties::h_from_p_T(), LinearFluidProperties::h_from_p_T(), HelmholtzFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), NaKFluidProperties::h_from_p_T(), TabulatedFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_p_T(), LeadFluidProperties::h_from_p_T(), CaloricallyImperfectGas::h_from_p_T(), NaClFluidProperties::h_from_p_T(), h_from_p_T(), SimpleFluidProperties::h_from_p_T(), TemperaturePressureFunctionFluidProperties::h_from_p_T(), Water97FluidProperties::h_from_p_T(), FlibeFluidProperties::h_from_p_T(), FlinakFluidProperties::h_from_p_T(), HeliumFluidProperties::h_from_p_T(), Water97FluidProperties::h_from_p_T_template(), StiffenedGasFluidProperties::h_from_T_v(), CaloricallyImperfectGas::h_from_T_v(), h_from_T_v(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), StiffenedGasFluidProperties::p_from_h_s(), p_from_h_s(), CaloricallyImperfectGas::p_from_h_s(), LeadFluidProperties::p_from_v_e(), LeadBismuthFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_h(), SinglePhaseFluidProperties::p_T_from_h_s(), Water97FluidProperties::p_T_from_v_h(), SinglePhaseFluidProperties::p_T_from_v_h(), StiffenedGasFluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_h_p(), s_from_h_p(), TabulatedFluidProperties::s_from_h_p(), CaloricallyImperfectGas::T_from_h(), TabulatedFluidProperties::T_from_h_p(), TabulatedFluidProperties::T_from_h_s(), LeadBismuthFluidProperties::T_from_p_h(), LeadFluidProperties::T_from_p_h(), TemperaturePressureFunctionFluidProperties::T_from_p_h(), CaloricallyImperfectGas::T_from_p_h(), FlibeFluidProperties::T_from_p_h(), FlinakFluidProperties::T_from_p_h(), T_from_p_h(), HeliumFluidProperties::T_from_p_h(), SimpleFluidProperties::T_from_p_h(), Water97FluidProperties::T_from_p_h(), and SimpleFluidProperties::T_from_v_h().

◆ p [1/9]

e e e e SinglePhaseFluidProperties::p
inherited

Definition at line 190 of file SinglePhaseFluidProperties.h.

Referenced by LinearFluidProperties::beta_from_p_T(), CaloricallyImperfectGas::c_from_p_T(), Water97FluidProperties::c_from_p_T(), StiffenedGasFluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), Water97FluidProperties::c_from_v_e(), SimpleFluidProperties::c_from_v_e(), LeadBismuthFluidProperties::cp_from_p_T(), LeadFluidProperties::cp_from_p_T(), cp_from_p_T(), TemperaturePressureFunctionFluidProperties::cp_from_p_T(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), Water97FluidProperties::cp_from_v_e(), LeadFluidProperties::cv_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), cv_from_p_T(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), Water97FluidProperties::cv_from_v_e(), TestSinglePhaseFluidProperties::e_from_p_rho(), LinearTestFluidProperties::e_from_p_rho(), LinearFluidProperties::e_from_p_rho(), e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), TemperaturePressureFunctionFluidProperties::e_from_p_rho(), FlibeFluidProperties::e_from_p_rho(), FlinakFluidProperties::e_from_p_rho(), HeliumFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho_template(), StiffenedGasFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), CaloricallyImperfectGas::e_from_p_T(), e_from_p_T(), Water97FluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::g_from_v_e(), g_from_v_e(), CaloricallyImperfectGas::g_from_v_e(), TabulatedFluidProperties::g_from_v_e(), CaloricallyImperfectGas::gamma_from_p_T(), TabulatedFluidProperties::generateTabulatedData(), LinearFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_p_T(), LeadFluidProperties::h_from_p_T(), CaloricallyImperfectGas::h_from_p_T(), h_from_p_T(), Water97FluidProperties::henryConstant(), LeadBismuthFluidProperties::k_from_p_T(), LeadFluidProperties::k_from_p_T(), CaloricallyImperfectGas::k_from_p_T(), k_from_p_T(), CaloricallyImperfectGas::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), Water97FluidProperties::k_from_v_e_template(), LeadBismuthFluidProperties::mu_from_p_T(), LeadFluidProperties::mu_from_p_T(), CaloricallyImperfectGas::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), StiffenedGasFluidProperties::p_from_h_s(), p_from_h_s(), CaloricallyImperfectGas::p_from_h_s(), StiffenedGasFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), p_from_T_v(), LinearFluidProperties::p_from_v_e(), LeadBismuthFluidProperties::p_from_v_e(), LeadFluidProperties::p_from_v_e(), p_from_v_e(), LinearTestFluidProperties::p_from_v_e(), CaloricallyImperfectGas::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), TemperaturePressureFunctionFluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e_template(), SimpleFluidProperties::p_from_v_h(), SinglePhaseFluidProperties::p_T_from_v_e(), Water97FluidProperties::p_T_from_v_e(), SinglePhaseFluidProperties::rho_e_from_p_T(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), CaloricallyImperfectGas::rho_from_p_s(), rho_from_p_s(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), rho_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_T_from_v_e(), StiffenedGasFluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_h_p(), s_from_h_p(), CaloricallyImperfectGas::s_from_p_T(), s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), CaloricallyImperfectGas::s_from_T_v(), s_from_T_v(), s_from_v_e(), Water97FluidProperties::T_drhodT_from_p_rho(), TabulatedFluidProperties::T_from_h_s(), LeadBismuthFluidProperties::T_from_p_h(), LeadFluidProperties::T_from_p_h(), TemperaturePressureFunctionFluidProperties::T_from_p_h(), CaloricallyImperfectGas::T_from_p_h(), SimpleFluidProperties::T_from_p_h(), Water97FluidProperties::T_from_p_h(), NaKFluidProperties::T_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), TemperaturePressureFunctionFluidProperties::T_from_p_rho(), FlibeFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), FlinakFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_s(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), SinglePhaseFluidProperties::v_e_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), Water97FluidProperties::vaporPressure(), SinglePhaseFluidProperties::vaporPressure(), Water97FluidProperties::vaporTemperature(), SinglePhaseFluidProperties::vaporTemperature(), and TabulatedFluidProperties::writeTabulatedData().

◆ p [2/9]

e e e e s SinglePhaseFluidProperties::p
inherited

Definition at line 192 of file SinglePhaseFluidProperties.h.

◆ p [3/9]

e e e e s T T SinglePhaseFluidProperties::p
inherited

Definition at line 196 of file SinglePhaseFluidProperties.h.

◆ p [4/9]

e e e e s T T T SinglePhaseFluidProperties::p
inherited

Definition at line 198 of file SinglePhaseFluidProperties.h.

◆ p [5/9]

e e e e s T T T T SinglePhaseFluidProperties::p
inherited

Definition at line 200 of file SinglePhaseFluidProperties.h.

◆ p [6/9]

e e e e s T T T T T SinglePhaseFluidProperties::p
inherited

Definition at line 202 of file SinglePhaseFluidProperties.h.

◆ p [7/9]

e e e e s T T T T T rho v v SinglePhaseFluidProperties::p
inherited

Definition at line 208 of file SinglePhaseFluidProperties.h.

◆ p [8/9]

e e e e s T T T T T rho v v T s SinglePhaseFluidProperties::p
inherited

Definition at line 212 of file SinglePhaseFluidProperties.h.

◆ p [9/9]

e e e e s T T T T T rho v v T s h SinglePhaseFluidProperties::p
inherited

Definition at line 214 of file SinglePhaseFluidProperties.h.

◆ propfuncWithDefault

e e e e s T T T T T rho v v T s h T e SinglePhaseFluidProperties::propfuncWithDefault(gamma, p, T)
inherited

Definition at line 217 of file SinglePhaseFluidProperties.h.

◆ rho

e e e e s T SinglePhaseFluidProperties::rho
inherited

Definition at line 194 of file SinglePhaseFluidProperties.h.

Referenced by HeliumFluidProperties::beta_from_p_T(), TemperaturePressureFunctionFluidProperties::beta_from_p_T(), FlinakFluidProperties::beta_from_p_T(), StiffenedGasFluidProperties::c2_from_p_rho(), HeliumFluidProperties::c_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_p_T(), LeadFluidProperties::cv_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), TestSinglePhaseFluidProperties::e_from_p_rho(), LinearTestFluidProperties::e_from_p_rho(), LinearFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), TemperaturePressureFunctionFluidProperties::e_from_p_rho(), FlibeFluidProperties::e_from_p_rho(), FlinakFluidProperties::e_from_p_rho(), HeliumFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho_template(), NaKFluidProperties::e_from_p_T(), NaClFluidProperties::e_from_p_T(), LinearFluidProperties::h_from_p_T(), TemperaturePressureFunctionFluidProperties::h_from_p_T(), Water97FluidProperties::k_from_p_T_template(), CO2FluidProperties::mu_from_p_T(), NitrogenFluidProperties::mu_from_p_T(), NaKFluidProperties::mu_from_p_T(), HydrogenFluidProperties::mu_from_p_T(), Water97FluidProperties::mu_from_p_T(), Water97FluidProperties::mu_from_p_T_template(), Water97FluidProperties::mu_from_v_e(), Water97FluidProperties::p_from_v_e_template(), Water97FluidProperties::p_T_from_v_e(), SinglePhaseFluidProperties::rho_e_from_p_T(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), rho_from_p_s(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), SodiumSaturationFluidProperties::rho_from_p_T(), HelmholtzFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), NaKFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), CO2FluidProperties::rho_from_p_T(), NaClFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), SalineMoltenSaltFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), rho_from_p_T(), Water97FluidProperties::rho_from_p_T(), SimpleFluidProperties::rho_from_p_T(), TemperaturePressureFunctionFluidProperties::rho_from_p_T(), FlibeFluidProperties::rho_from_p_T(), FlinakFluidProperties::rho_from_p_T(), HeliumFluidProperties::rho_from_p_T(), Water97FluidProperties::rho_from_p_T_template(), NitrogenFluidProperties::rho_mu_from_p_T(), HydrogenFluidProperties::rho_mu_from_p_T(), CO2FluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_T_from_v_e(), Water97FluidProperties::T_drhodT_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), TemperaturePressureFunctionFluidProperties::T_from_p_rho(), FlibeFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), FlinakFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), SinglePhaseFluidProperties::v_e_from_p_T(), TabulatedFluidProperties::v_from_p_T(), and TemperaturePressureFunctionFluidProperties::v_from_p_T().

◆ T [1/2]

e e e e s T T T T T rho SinglePhaseFluidProperties::T
inherited

Definition at line 204 of file SinglePhaseFluidProperties.h.

Referenced by LinearFluidProperties::beta_from_p_T(), LeadBismuthFluidProperties::bulk_modulus_from_p_T(), LeadFluidProperties::bulk_modulus_from_p_T(), CaloricallyImperfectGas::c_from_p_T(), c_from_p_T(), Water97FluidProperties::c_from_p_T(), Water97FluidProperties::c_from_p_T_template(), c_from_v_e(), LeadBismuthFluidProperties::c_from_v_e(), LeadFluidProperties::c_from_v_e(), CaloricallyImperfectGas::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), Water97FluidProperties::c_from_v_e(), SimpleFluidProperties::c_from_v_e(), TabulatedFluidProperties::checkInputVariables(), LeadBismuthFluidProperties::cp_from_p_T(), LeadFluidProperties::cp_from_p_T(), CaloricallyImperfectGas::cp_from_p_T(), cp_from_p_T(), TemperaturePressureFunctionFluidProperties::cp_from_p_T(), Water97FluidProperties::cp_from_p_T_template(), CaloricallyImperfectGas::cp_from_T(), CaloricallyImperfectGas::cp_from_v_e(), LeadBismuthFluidProperties::cp_from_v_e(), LeadFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), Water97FluidProperties::cp_from_v_e(), LeadFluidProperties::cv_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), CaloricallyImperfectGas::cv_from_p_T(), cv_from_p_T(), Water97FluidProperties::cv_from_p_T_template(), CaloricallyImperfectGas::cv_from_T(), CaloricallyImperfectGas::cv_from_T_v(), CaloricallyImperfectGas::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), Water97FluidProperties::cv_from_v_e(), Water97FluidProperties::d2gamma1_dpi2(), Water97FluidProperties::d2gamma1_dpitau(), Water97FluidProperties::d2gamma1_dtau2(), Water97FluidProperties::d2gamma2_dpi2(), Water97FluidProperties::d2gamma2_dpitau(), Water97FluidProperties::d2gamma2_dtau2(), Water97FluidProperties::d2gamma5_dpi2(), Water97FluidProperties::d2gamma5_dpitau(), Water97FluidProperties::d2gamma5_dtau2(), Water97FluidProperties::d2phi3_ddelta2(), Water97FluidProperties::d2phi3_ddeltatau(), Water97FluidProperties::d2phi3_dtau2(), Water97FluidProperties::densityRegion3(), Water97FluidProperties::dgamma1_dpi(), Water97FluidProperties::dgamma1_dtau(), Water97FluidProperties::dgamma2_dpi(), Water97FluidProperties::dgamma2_dtau(), Water97FluidProperties::dgamma5_dpi(), Water97FluidProperties::dgamma5_dtau(), Water97FluidProperties::dphi3_ddelta(), Water97FluidProperties::dphi3_dtau(), TabulatedFluidProperties::e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), StiffenedGasFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), CaloricallyImperfectGas::e_from_p_T(), LeadFluidProperties::e_from_p_T(), e_from_p_T(), Water97FluidProperties::e_from_p_T_template(), CaloricallyImperfectGas::e_from_T(), StiffenedGasFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_T_v(), e_from_T_v(), HeliumFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_v_h(), Water97FluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::g_from_v_e(), g_from_v_e(), CaloricallyImperfectGas::g_from_v_e(), TabulatedFluidProperties::g_from_v_e(), Water97FluidProperties::gamma1(), Water97FluidProperties::gamma2(), Water97FluidProperties::gamma5(), CaloricallyImperfectGas::gamma_from_p_T(), LinearFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_p_T(), LeadFluidProperties::h_from_p_T(), CaloricallyImperfectGas::h_from_p_T(), h_from_p_T(), Water97FluidProperties::h_from_p_T_template(), CaloricallyImperfectGas::h_from_T(), StiffenedGasFluidProperties::h_from_T_v(), CaloricallyImperfectGas::h_from_T_v(), h_from_T_v(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), Water97FluidProperties::henryConstant(), LeadBismuthFluidProperties::k_from_p_T(), LeadFluidProperties::k_from_p_T(), CaloricallyImperfectGas::k_from_p_T(), k_from_p_T(), Water97FluidProperties::k_from_p_T_template(), Water97FluidProperties::k_from_rho_T_template(), CaloricallyImperfectGas::k_from_v_e(), LeadBismuthFluidProperties::k_from_v_e(), LeadFluidProperties::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), SinglePhaseFluidProperties::makeZeroAndOne(), CaloricallyImperfectGas::mu_from_p_T(), LeadBismuthFluidProperties::mu_from_p_T(), LeadFluidProperties::mu_from_p_T(), mu_from_p_T(), Water97FluidProperties::mu_from_p_T_template(), Water97FluidProperties::mu_from_rho_T_template(), CaloricallyImperfectGas::mu_from_v_e(), LeadBismuthFluidProperties::mu_from_v_e(), LeadFluidProperties::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), Water97FluidProperties::mu_from_v_e(), CaloricallyImperfectGas::p_from_h_s(), StiffenedGasFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), p_from_T_v(), HeliumFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), TemperaturePressureFunctionFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e_template(), SimpleFluidProperties::p_from_v_h(), SinglePhaseFluidProperties::p_T_from_h_s(), SinglePhaseFluidProperties::p_T_from_v_e(), Water97FluidProperties::p_T_from_v_h(), SinglePhaseFluidProperties::p_T_from_v_h(), Water97FluidProperties::phi3(), SinglePhaseFluidProperties::rho_e_from_p_T(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), CaloricallyImperfectGas::rho_from_p_s(), rho_from_p_s(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), rho_from_p_T(), Water97FluidProperties::rho_from_p_T_template(), SinglePhaseFluidProperties::rho_mu_from_p_T(), CaloricallyImperfectGas::s_from_h_p(), TabulatedFluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_p_T(), s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), StiffenedGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_T_v(), s_from_T_v(), CaloricallyImperfectGas::s_from_v_e(), s_from_v_e(), Water97FluidProperties::subregionVolume(), Water97FluidProperties::T_drhodT_from_p_rho(), TabulatedFluidProperties::T_from_h_p(), TabulatedFluidProperties::T_from_h_s(), LeadBismuthFluidProperties::T_from_p_h(), LeadFluidProperties::T_from_p_h(), TemperaturePressureFunctionFluidProperties::T_from_p_h(), CaloricallyImperfectGas::T_from_p_h(), T_from_p_h(), Water97FluidProperties::T_from_p_h(), NaKFluidProperties::T_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), TemperaturePressureFunctionFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_s(), LinearFluidProperties::T_from_v_e(), LeadBismuthFluidProperties::T_from_v_e(), LinearTestFluidProperties::T_from_v_e(), LeadFluidProperties::T_from_v_e(), T_from_v_e(), CaloricallyImperfectGas::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_e(), TabulatedFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_h(), Water97FluidProperties::tempXY(), SinglePhaseFluidProperties::v_e_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), SinglePhaseFluidProperties::vaporPressure(), Water97FluidProperties::vaporPressureTemplate(), Water97FluidProperties::vaporTemperature(), SinglePhaseFluidProperties::vaporTemperature(), and CaloricallyImperfectGas::Z_from_T().

◆ T [2/2]

e e e e s T T T T T rho v SinglePhaseFluidProperties::T
inherited

Definition at line 206 of file SinglePhaseFluidProperties.h.

◆ v [1/5]

SinglePhaseFluidProperties::v
inherited

Definition at line 182 of file SinglePhaseFluidProperties.h.

Referenced by StiffenedGasFluidProperties::c_from_v_e(), LinearFluidProperties::c_from_v_e(), TestSinglePhaseFluidProperties::c_from_v_e(), c_from_v_e(), LeadBismuthFluidProperties::c_from_v_e(), LeadFluidProperties::c_from_v_e(), CaloricallyImperfectGas::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), Water97FluidProperties::c_from_v_e(), SimpleFluidProperties::c_from_v_e(), LinearFluidProperties::cp_from_v_e(), StiffenedGasFluidProperties::cp_from_v_e(), CaloricallyImperfectGas::cp_from_v_e(), TestSinglePhaseFluidProperties::cp_from_v_e(), LeadBismuthFluidProperties::cp_from_v_e(), cp_from_v_e(), LeadFluidProperties::cp_from_v_e(), SimpleFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), FlibeFluidProperties::cp_from_v_e(), FlinakFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), HeliumFluidProperties::cp_from_v_e(), Water97FluidProperties::cp_from_v_e(), FlibeFluidProperties::cv_from_p_T(), FlinakFluidProperties::cv_from_p_T(), StiffenedGasFluidProperties::cv_from_v_e(), TestSinglePhaseFluidProperties::cv_from_v_e(), CaloricallyImperfectGas::cv_from_v_e(), cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), SimpleFluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), FlibeFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), FlinakFluidProperties::cv_from_v_e(), Water97FluidProperties::cv_from_v_e(), HeliumFluidProperties::cv_from_v_e(), HeliumFluidProperties::e_from_p_rho(), SodiumSaturationFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), FlibeFluidProperties::e_from_p_T(), FlinakFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_v_h(), StiffenedGasFluidProperties::e_from_v_h(), e_from_v_h(), Water97FluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::g_from_v_e(), g_from_v_e(), CaloricallyImperfectGas::g_from_v_e(), TabulatedFluidProperties::g_from_v_e(), CaloricallyImperfectGas::gamma_from_v_e(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), StiffenedGasFluidProperties::k_from_v_e(), CaloricallyImperfectGas::k_from_v_e(), TestSinglePhaseFluidProperties::k_from_v_e(), LeadBismuthFluidProperties::k_from_v_e(), LeadFluidProperties::k_from_v_e(), TemperaturePressureFunctionFluidProperties::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), FlibeFluidProperties::k_from_v_e(), FlinakFluidProperties::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), Water97FluidProperties::k_from_v_e(), Water97FluidProperties::k_from_v_e_template(), LinearTestFluidProperties::mu_from_v_e(), TestSinglePhaseFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::mu_from_v_e(), LeadBismuthFluidProperties::mu_from_v_e(), LeadFluidProperties::mu_from_v_e(), TemperaturePressureFunctionFluidProperties::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), FlibeFluidProperties::mu_from_v_e(), FlinakFluidProperties::mu_from_v_e(), Water97FluidProperties::mu_from_v_e(), HeliumFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::p_from_h_s(), StiffenedGasFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), p_from_T_v(), HeliumFluidProperties::p_from_T_v(), TestConservedVarFluidProperties::p_from_v_e(), LinearFluidProperties::p_from_v_e(), LeadBismuthFluidProperties::p_from_v_e(), LeadFluidProperties::p_from_v_e(), p_from_v_e(), LinearTestFluidProperties::p_from_v_e(), CaloricallyImperfectGas::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), SodiumSaturationFluidProperties::p_from_v_e(), TemperaturePressureFunctionFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e_template(), SimpleFluidProperties::p_from_v_h(), SinglePhaseFluidProperties::p_T_from_v_e(), Water97FluidProperties::p_T_from_v_e(), Water97FluidProperties::p_T_from_v_h(), SinglePhaseFluidProperties::p_T_from_v_h(), Water97FluidProperties::rho_T_from_v_e(), CaloricallyImperfectGas::s_from_h_p(), CaloricallyImperfectGas::s_from_p_T(), StiffenedGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_T_v(), s_from_T_v(), TestSinglePhaseFluidProperties::s_from_v_e(), CaloricallyImperfectGas::s_from_v_e(), s_from_v_e(), LinearFluidProperties::T_from_v_e(), LeadBismuthFluidProperties::T_from_v_e(), LinearTestFluidProperties::T_from_v_e(), LeadFluidProperties::T_from_v_e(), CaloricallyImperfectGas::T_from_v_e(), T_from_v_e(), SodiumSaturationFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_e(), TabulatedFluidProperties::T_from_v_e(), Water97FluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_h(), SinglePhaseFluidProperties::v_e_from_p_T(), StiffenedGasFluidProperties::v_e_spndl_from_T(), CaloricallyImperfectGas::v_e_spndl_from_T(), v_e_spndl_from_T(), SodiumSaturationFluidProperties::v_from_p_T(), TabulatedFluidProperties::v_from_p_T(), Water97FluidProperties::v_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), TemperaturePressureFunctionFluidProperties::v_from_p_T(), FlibeFluidProperties::v_from_p_T(), FlinakFluidProperties::v_from_p_T(), and Water97FluidProperties::v_from_p_T_template().

◆ v [2/5]

e SinglePhaseFluidProperties::v
inherited

Definition at line 184 of file SinglePhaseFluidProperties.h.

◆ v [3/5]

e e SinglePhaseFluidProperties::v
inherited

Definition at line 186 of file SinglePhaseFluidProperties.h.

◆ v [4/5]

e e e SinglePhaseFluidProperties::v
inherited

Definition at line 188 of file SinglePhaseFluidProperties.h.

◆ v [5/5]

e e e e s T T T T T rho v v T s h T SinglePhaseFluidProperties::v
inherited

Definition at line 216 of file SinglePhaseFluidProperties.h.


The documentation for this class was generated from the following files: