https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CO2FluidProperties Class Reference

CO2 fluid properties Most thermophysical properties taken from: Span and Wagner, "A New Equation of State for Carbon Dioxide Covering the Fluid Region from the Triple-Point Temperature to 1100K at Pressures up to 800 MPa", J. More...

#include <CO2FluidProperties.h>

Inheritance diagram for CO2FluidProperties:
[legend]

Public Types

typedef DataFileName DataFileParameterType
 

Public Member Functions

 CO2FluidProperties (const InputParameters &parameters)
 
virtual ~CO2FluidProperties ()
 
virtual Real rho_from_p_T (Real pressure, Real temperature) const override
 
virtual void rho_from_p_T (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const override
 
virtual Real mu_from_p_T (Real pressure, Real temperature) const override
 
virtual void mu_from_p_T (Real pressure, Real temperature, Real &mu, Real &dmu_dp, Real &dmu_dT) const override
 
virtual Real mu_from_rho_T (Real density, Real temperature) const override
 
void mu_from_rho_T (Real density, Real temperature, Real ddensity_dT, Real &mu, Real &dmu_drho, Real &dmu_dT) const
 
virtual void rho_mu_from_p_T (Real pressure, Real temperature, Real &rho, Real &mu) const override
 Combined methods.
 
virtual void rho_mu_from_p_T (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT, Real &mu, Real &dmu_dp, Real &dmu_dT) const override
 
virtual std::string fluidName () const override
 Fluid name.
 
virtual Real molarMass () const override
 Molar mass [kg/mol].
 
virtual Real criticalPressure () const override
 Critical pressure.
 
virtual Real criticalTemperature () const override
 Critical temperature.
 
virtual Real criticalDensity () const override
 Critical density.
 
virtual Real triplePointPressure () const override
 Triple point pressure.
 
virtual Real triplePointTemperature () const override
 Triple point temperature.
 
Real meltingPressure (Real temperature) const
 Melting pressure.
 
Real sublimationPressure (Real temperature) const
 Sublimation pressure.
 
virtual Real vaporPressure (Real temperature) const override
 Vapor pressure.
 
virtual void vaporPressure (Real temperature, Real &psat, Real &dpsat_dT) const override
 
Real saturatedLiquidDensity (Real temperature) const
 Saturated liquid density of CO2 Valid for temperatures between the triple point temperature and critical temperature.
 
Real saturatedVaporDensity (Real temperature) const
 Saturated vapor density of CO2 Valid for temperatures between the triple point temperature and critical temperature.
 
virtual Real p_from_rho_T (Real density, Real temperature) const override
 Pressure as a function of density and temperature.
 
virtual std::vector< Real > henryCoefficients () const override
 Henry's law coefficients for dissolution in water.
 
Real partialDensity (Real temperature) const
 Partial density of dissolved CO2 From Garcia, Density of aqueous solutions of CO2, LBNL-49023 (2001)
 
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 Real k_from_rho_T (Real density, Real temperature) const override
 
virtual Real e_from_p_T (Real pressure, Real temperature) const override
 
virtual void e_from_p_T (Real p, Real T, Real &e, Real &de_dp, Real &de_dT) const override
 
virtual Real c_from_p_T (Real pressure, Real temperature) const override
 
virtual Real cp_from_p_T (Real pressure, Real temperature) const override
 
virtual Real cv_from_p_T (Real pressure, Real temperature) const override
 
virtual Real s_from_p_T (Real pressure, Real temperature) const override
 
virtual void s_from_p_T (Real p, Real T, Real &s, Real &ds_dp, Real &ds_dT) const override
 
virtual Real h_from_p_T (Real pressure, Real temperature) const override
 
virtual void h_from_p_T (Real p, Real T, Real &h, Real &dh_dp, Real &dh_dT) const override
 
virtual Real T_from_p_h (Real pressure, Real enthalpy) const override
 
virtual Real criticalInternalEnergy () const
 Critical specific internal energy.
 
virtual Real e_spndl_from_v (Real v) const
 Specific internal energy from temperature and specific volume.
 
virtual void v_e_spndl_from_T (Real T, Real &v, Real &e) const
 Specific internal energy from temperature and specific volume.
 
virtual ADReal vaporPressure (const ADReal &T) const
 
virtual Real vaporTemperature (Real p) const
 Vapor temperature.
 
virtual void vaporTemperature (Real p, Real &Tsat, Real &dTsat_dp) const
 
virtual ADReal vaporTemperature (const ADReal &p) const
 
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 (const ADReal &p, const ADReal &T, ADReal &rho, ADReal &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.
 
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.
 
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.
 
template<>
std::pair< Real, Real > makeZeroAndOne (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
 
virtual Real spatialValue (const Point &) const
 
virtual const std::vector< Point > spatialPoints () const
 
void setPrimaryThreadCopy (UserObject *primary)
 
UserObjectprimaryThreadCopy ()
 
SubProblemgetSubProblem () const
 
bool shouldDuplicateInitialExecution () const
 
void gatherSum (T &value)
 
void gatherMax (T &value)
 
void gatherMin (T &value)
 
void gatherProxyValueMax (T1 &proxy, T2 &value)
 
void gatherProxyValueMin (T1 &proxy, T2 &value)
 
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
 
bool isKokkosObject () const
 
MooseAppgetMooseApp () const
 
const std::string & type () const
 
const std::string & name () const
 
std::string typeAndName () const
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
MooseObjectName uniqueName () const
 
const InputParametersparameters () const
 
const hit::Node * getHitNode () const
 
bool hasBase () const
 
const std::string & getBase () 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 TqueryParam (const std::string &name) 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 &name) const
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 
void paramError (const std::string &param, Args... args) const
 
void paramWarning (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
 
std::string messagePrefix (const bool hit_prefix=true) const
 
std::string errorPrefix (const std::string &) const
 
void mooseError (Args &&... args) const
 
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
void mooseErrorNonPrefixed (Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseDeprecatedNoTrace (Args &&... args) const
 
void mooseInfo (Args &&... args) const
 
void callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const
 
std::string getDataFileName (const std::string &param) const
 
std::string getDataFileNameByName (const std::string &relative_path) const
 
std::string getDataFilePath (const std::string &relative_path) 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 UserObjectBasegetUserObjectBase (const std::string &param_name, bool is_dependency=true) const
 
const UserObjectBasegetUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const std::vector< MooseVariableScalar * > & getCoupledMooseScalarVars ()
 
const std::set< TagID > & getScalarVariableCoupleableVectorTags () const
 
const std::set< TagID > & getScalarVariableCoupleableMatrixTags () 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)
 
Moose::Kokkos::MaterialProperty< T, dimension > getKokkosMaterialPropertyByName (const std::string &prop_name_in)
 
Moose::Kokkos::MaterialProperty< T, dimension > getKokkosMaterialPropertyOldByName (const std::string &prop_name)
 
Moose::Kokkos::MaterialProperty< T, dimension > getKokkosMaterialPropertyOlderByName (const std::string &prop_name)
 
Moose::Kokkos::MaterialProperty< T, dimension > getKokkosMaterialProperty (const std::string &name)
 
Moose::Kokkos::MaterialProperty< T, dimension > getKokkosMaterialPropertyOld (const std::string &name)
 
Moose::Kokkos::MaterialProperty< T, dimension > getKokkosMaterialPropertyOlder (const std::string &name)
 
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > getBlockMaterialProperty (const MaterialPropertyName &name)
 
std::pair< Moose::Kokkos::MaterialProperty< T, dimension >, std::set< SubdomainID > > getKokkosBlockMaterialProperty (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)
 
virtual bool getMaterialPropertyCalled () const
 
virtual 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 ()
 
Moose::StateArg determineState () 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 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 hasKokkosMaterialProperty (const std::string &name)
 
bool hasKokkosMaterialProperty (const std::string &name)
 
bool hasKokkosMaterialPropertyByName (const std::string &name)
 
bool hasKokkosMaterialPropertyByName (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
 
Moose::Kokkos::Function getKokkosFunction (const std::string &name) const
 
const TgetKokkosFunction (const std::string &name) const
 
Moose::Kokkos::Function getKokkosFunctionByName (const FunctionName &name) const
 
const TgetKokkosFunctionByName (const FunctionName &name) const
 
bool hasKokkosFunction (const std::string &param_name) const
 
bool hasKokkosFunctionByName (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 ()
 
virtual void meshDisplaced ()
 
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 callMooseError (MooseApp *const app, const InputParameters &params, std::string msg, const bool with_prefix, const hit::Node *node, const bool show_trace=true)
 
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, NameFunc &&name_func)
 
static void cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header)
 

Public Attributes

 usingCombinedWarningSolutionWarnings
 
const ConsoleStream _console
 

Static Public Attributes

static const Real _R = 8.3144598
 Universal gas constant (J/mol/K)
 
static const std::string type_param
 
static const std::string name_param
 
static const std::string unique_name_param
 
static const std::string app_param
 
static const std::string moose_base_param
 
static const std::string kokkos_object_param
 
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 Member Functions

virtual Real alpha (Real delta, Real tau) const override
 Helmholtz free energy.
 
virtual Real dalpha_ddelta (Real delta, Real tau) const override
 Derivative of Helmholtz free energy wrt delta.
 
virtual Real dalpha_dtau (Real delta, Real tau) const override
 Derivative of Helmholtz free energy wrt tau.
 
virtual Real d2alpha_ddelta2 (Real delta, Real tau) const override
 Second derivative of Helmholtz free energy wrt delta.
 
virtual Real d2alpha_dtau2 (Real delta, Real tau) const override
 Second derivative of Helmholtz free energy wrt tau.
 
virtual Real d2alpha_ddeltatau (Real delta, Real tau) const override
 Second derivative of Helmholtz free energy wrt delta and tau.
 
virtual void addPostprocessorDependencyHelper (const PostprocessorName &name) const override
 
virtual void addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &name) const override
 
virtual void addUserObjectDependencyHelper (const UserObjectBase &uo) const override
 
void addReporterDependencyHelper (const ReporterName &reporter_name) override
 
void flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const
 
InvalidSolutionID registerInvalidSolutionInternal (const std::string &message, const bool warning) const
 
const ReporterContextBasegetReporterContextBaseByName (const ReporterName &reporter_name) const
 
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
 
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
 
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
 
libMesh::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
 
virtual void checkMaterialProperty (const std::string &name, const unsigned int state)
 
virtual void getKokkosMaterialPropertyHook (const std::string &, const unsigned int)
 
void markMatPropRequested (const std::string &)
 
MaterialPropertyName getMaterialPropertyName (const std::string &name) const
 
void checkExecutionStage ()
 
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)
 

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.
 
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)
 
static std::string meshPropertyName (const std::string &data_name, const std::string &prefix)
 

Protected Attributes

const Real _Mco2 = 44.0098e-3
 Molar mass of CO2 (kg/mol)
 
const Real _critical_pressure = 7.3773e6
 Critical pressure (Pa)
 
const Real _critical_temperature = 304.1282
 Critical temperature (K)
 
const Real _critical_density = 467.6
 Critical density (kg/m^3)
 
const Real _triple_point_pressure = 0.51795e6
 Triple point pressure (Pa)
 
const Real _triple_point_temperature = 216.592
 Triple point temperature (K)
 
const Real _Rco2 = 188.9241
 Specific gas constant (J/mol/K)
 
const std::array< Real, 5 > _a0 {{1.99427042, 0.62105248, 0.41195293, 1.04028922, 0.08327678}}
 Coefficients for the ideal gas component of the Helmholtz free energy.
 
const std::array< Real, 5 > _theta0 {{3.15163, 6.11190, 6.77708, 11.32384, 27.08792}}
 
const std::array< Real, 7 > _n1
 Coefficients for the residual component of the Helmholtz free energy.
 
const std::array< unsigned int, 7 > _d1 {{1, 1, 1, 1, 2, 2, 3}}
 
const std::array< Real, 7 > _t1 {{0.0, 0.75, 1.0, 2.0, 0.75, 2.0, 0.75}}
 
const std::array< Real, 27 > _n2
 
const std::array< unsigned int, 27 > _d2
 
const std::array< Real, 27 > _t2
 
const std::array< unsigned int, 27 > _c2
 
const std::array< Real, 5 > _n3
 
const std::array< unsigned int, 5 > _d3 {{2, 2, 2, 3, 3}}
 
const std::array< unsigned int, 5 > _t3 {{1, 0, 1, 3, 3}}
 
const std::array< Real, 5 > _alpha3 {{25.0, 25.0, 25.0, 15.0, 20.0}}
 
const std::array< Real, 5 > _beta3 {{325.0, 300.0, 300.0, 275.0, 275.0}}
 
const std::array< Real, 5 > _gamma3 {{1.16, 1.19, 1.19, 1.25, 1.22}}
 
const std::array< Real, 5 > _eps3 {{1.0, 1.0, 1.0, 1.0, 1.0}}
 
const std::array< Real, 3 > _n4 {{-0.66642276540751, 0.72608632349897, 0.055068668612842}}
 
const std::array< Real, 3 > _a4 {{3.5, 3.5, 3.0}}
 
const std::array< Real, 3 > _b4 {{0.875, 0.925, 0.875}}
 
const std::array< Real, 3 > _beta4 {{0.3, 0.3, 0.3}}
 
const std::array< Real, 3 > _A4 {{0.7, 0.7, 0.7}}
 
const std::array< Real, 3 > _B4 {{0.3, 0.3, 1.0}}
 
const std::array< Real, 3 > _C4 {{10.0, 10.0, 12.5}}
 
const std::array< Real, 3 > _D4 {{275.0, 275.0, 275.0}}
 
const std::array< Real, 5 > _mu_a {{0.235156, -0.491266, 5.211155e-2, 5.347906e-2, -1.537102e-2}}
 Coefficients for viscosity.
 
const std::array< Real, 5 > _mu_d
 
const std::array< Real, 3 > _k_g1 {{0.0, 0.0, 1.5}}
 Coefficients for the thermal conductivity.
 
const std::array< Real, 7 > _k_g2 {{0.0, 1.0, 1.5, 1.5, 1.5, 3.5, 5.5}}
 
const std::array< unsigned int, 3 > _k_h1 {{1, 5, 1}}
 
const std::array< unsigned int, 7 > _k_h2 {{1, 2, 0, 5, 9, 0, 0}}
 
const std::array< Real, 3 > _k_n1 {{7.69857587, 0.159885811, 1.56918621}}
 
const std::array< Real, 7 > _k_n2
 
const std::array< Real, 12 > _k_a
 
const Real _tolerance
 Newton's method may be used to convert between variable sets.
 
const Real _T_initial_guess
 Initial guess for temperature (or temperature used to compute the initial guess)
 
const Real _p_initial_guess
 Initial guess for pressure (or pressure used to compute the initial guess)
 
const unsigned int _max_newton_its
 Maximum number of iterations for the variable conversion newton solves.
 
const bool _verbose_newton
 Whether to output information about newton solves to console.
 
const Real _T_c2k
 Conversion of temperature from Celsius to Kelvin.
 
const bool _allow_imperfect_jacobians
 Flag to set unimplemented Jacobian entries to zero.
 
const Moose::CoordinateSystemType_coord_sys
 
const THREAD_ID _tid
 
SubProblem_subproblem
 
FEProblemBase_fe_problem
 
SystemBase_sys
 
Assembly_assembly
 
const bool _duplicate_initial_execution
 
std::set< std::string > _depend_uo
 
const bool & _enabled
 
MooseApp_app
 
Factory_factory
 
ActionFactory_action_factory
 
const std::string & _type
 
const std::string & _name
 
const InputParameters_pars
 
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_mdi_feproblem
 
MooseApp_pg_moose_app
 
const std::string _prefix
 
FEProblemBase_sc_fe_problem
 
const THREAD_ID _sc_tid
 
const Real & _real_zero
 
const VariableValue_scalar_zero
 
const Point & _point_zero
 
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 bool _is_kokkos_object
 
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
 
const Real & _t_old
 
int_t_step
 
Real & _dt
 
Real & _dt_old
 
bool _is_transient
 
const Parallel::Communicator & _communicator
 

Static Protected Attributes

static const std::string _interpolated_old
 
static const std::string _interpolated_older
 

Private Member Functions

void unimplementedDerivativeMethod (const std::string &property_function_name) const
 
const Moose::FunctionBasegetKokkosFunctionByNameHelper (const FunctionName &name) const
 
const UserObjectBasegetUserObjectFromFEProblem (const UserObjectName &object_name, const THREAD_ID tid=0) const
 
const TcastUserObject (const UserObjectBase &uo_base, const std::string &param_name="") const
 
void mooseObjectError (const std::string &param_name, std::stringstream &oss) const
 
const std::string & userObjectType (const UserObjectBase &uo) const
 
const std::string & userObjectName (const UserObjectBase &uo) const
 
const PostprocessorName & getPostprocessorNameInternal (const std::string &param_name, const unsigned int index, const bool allow_default_value=true) const
 
bool isDefaultPostprocessorValueByName (const PostprocessorName &name) const
 
PostprocessorValue getDefaultPostprocessorValueByName (const PostprocessorName &name) const
 
void checkParam (const std::string &param_name, const unsigned int index=std::numeric_limits< unsigned int >::max()) const
 
bool postprocessorsAdded () const
 
const VectorPostprocessorValuegetVectorPostprocessorByNameHelper (const VectorPostprocessorName &name, const std::string &vector_name, bool broadcast, std::size_t t_index) const
 
const VectorPostprocessorContext< VectorPostprocessorValue > & getVectorPostprocessorContextByNameHelper (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool vectorPostprocessorsAdded () const
 
bool reportersAdded () const
 
void possiblyCheckHasReporter (const ReporterName &reporter_name, const std::string &param_name="") const
 
RestartableDataValueregisterRestartableDataOnApp (std::unique_ptr< RestartableDataValue > data, THREAD_ID tid) const
 
void registerRestartableNameWithFilterOnApp (const std::string &name, Moose::RESTARTABLE_FILTER filter)
 
RestartableData< T > & declareRestartableDataHelper (const std::string &data_name, void *context, Args &&... args) const
 
virtual std::string meshPropertyPrefix (const std::string &data_name) const
 
const RestartableDataValuegetMeshPropertyInternal (const std::string &data_name, const std::string &prefix) const
 
void mooseErrorInternal (Args &&... args) const
 
const VariableValuegetDefaultValue (const std::string &var_name) const
 
const ADVariableValuegetADDefaultValue (const std::string &var_name) const
 
void checkVar (const std::string &var_name) const
 
void validateExecutionerType (const std::string &name, const std::string &fn_name) const
 
Moose::MaterialDataType getMaterialDataType (const std::set< BoundaryID > &boundary_ids) const
 
unsigned int getMaxQps () const
 
void addConsumedPropertyName (const MooseObjectName &obj_name, const std::string &prop_name)
 
const PostprocessorValuegetPostprocessorValueInternal (const std::string &param_name, unsigned int index, std::size_t t_index) const
 
const PostprocessorValuegetPostprocessorValueInternal (const std::string &param_name, unsigned int index, std::size_t t_index) const
 
const PostprocessorValuegetPostprocessorValueByNameInternal (const PostprocessorName &name, std::size_t t_index) const
 
const PostprocessorValuegetPostprocessorValueByNameInternal (const PostprocessorName &name, std::size_t t_index) const
 
void possiblyCheckHasVectorPostprocessor (const std::string &param_name, const std::string &vector_name) const
 
void possiblyCheckHasVectorPostprocessor (const std::string &param_name, const std::string &vector_name) const
 
void possiblyCheckHasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
void possiblyCheckHasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 

Static Private Member Functions

static const hit::Node * getHitNode (const InputParameters &params)
 
static std::string messagePrefix (const InputParameters &params, const bool hit_prefix)
 

Private Attributes

UserObject_primary_thread_copy
 
std::set< std::string > _supplied_uo
 
const ParallelParamObject_parent
 
const MooseBase_si_moose_base
 
const FEProblemBase_si_problem
 
ExecFlagEnum _empty_execute_enum
 
const MooseObject_fni_object
 
const InputParameters_fni_params
 
FEProblemBase_fni_feproblem
 
const THREAD_ID _fni_tid
 
const MooseObject_uoi_moose_object
 
const FEProblemBase_uoi_feproblem
 
const THREAD_ID _uoi_tid
 
const MooseObject_ppi_moose_object
 
const InputParameters_ppi_params
 
const FEProblemBase_ppi_feproblem
 
std::map< PostprocessorName, std::unique_ptr< PostprocessorValue > > _default_values
 
const bool _broadcast_by_default
 
const MooseObject_vpi_moose_object
 
const FEProblemBase_vpi_feproblem
 
const THREAD_ID _vpi_tid
 
const InputParameters_ri_params
 
FEProblemBase_ri_fe_problem_base
 
const ReporterData_ri_reporter_data
 
const MooseObject_ri_moose_object
 
const InputParameters_dni_params
 
FEProblemBase_dni_feproblem
 
const MooseObject *const _dni_moose_object_ptr
 
const InputParameters_si_params
 
FEProblemBase_si_feproblem
 
THREAD_ID _si_tid
 
const RestartableDataMapName _metaname
 
std::string _restartable_name
 
MooseApp_meta_data_app
 
const MooseObject *const _meta_data_object
 
const InputParameters_sc_parameters
 
const std::string & _sc_name
 
const bool _sc_is_implicit
 
std::unordered_map< std::string, std::vector< MooseVariableScalar * > > _coupled_scalar_vars
 
std::unordered_map< std::string, std::unique_ptr< VariableValue > > _default_value
 
std::unordered_map< std::string, std::unique_ptr< ADVariableValue > > _dual_default_value
 
std::vector< MooseVariableScalar * > _coupled_moose_scalar_vars
 
std::unordered_map< std::string, std::vector< MooseVariableFieldBase * > > _sc_coupled_vars
 
std::set< TagID_sc_coupleable_vector_tags
 
std::set< TagID_sc_coupleable_matrix_tags
 
const MooseObject_mi_moose_object
 
const bool _mi_boundary_restricted
 
const std::set< SubdomainID > & _mi_block_ids
 
const std::set< BoundaryID > & _mi_boundary_ids
 
std::vector< std::unique_ptr< OptionalMaterialPropertyProxyBase< MaterialPropertyInterface > > > _optional_property_proxies
 
const std::string _ti_name
 
 propfunc (p, v, e) propfunc(T
 Compute a fluid property given for the state defined by two given properties.
 
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 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 propfuncWithDefault (h, v, e) propfunc(g
 
e e e e s T T T T T rho v v TpropfuncWithDefault (p, h, s) propfunc(T
 
e e e e s T T T T T rho v v T e p propfuncWithDefault (T, p, h) propfuncWithDefault(beta
 
e e e e s T T T T T rho v v T e p T propfuncWithDefault (v, p, T) propfuncWithDefault(e
 
e e e e s T T T T T rho v v T e p T T propfuncWithDefault (gamma, v, e) propfuncWithDefault(gamma
 
 v
 
v
 
e e v
 
e e e v
 
e e e e s T T T T T rho v v 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 T e p p
 
e e e e s T T T T T rho v v T e p T p
 
e e e e s T T T T T rho v v T e p T T 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 Th
 

Detailed Description

CO2 fluid properties Most thermophysical properties taken from: Span and Wagner, "A New Equation of State for Carbon Dioxide Covering the Fluid Region from the Triple-Point Temperature to 1100K at Pressures up to 800 MPa", J.

Phys. Chem. Ref. Data, 25 (1996)

Note: the Span and Wagner EOS uses density and temperature as the primary variables. As a result, density must first be found using iteration, after which the other properties can be calculated directly.

Viscosity from: Fenghour et al., The viscosity of carbon dioxide, J. Phys. Chem. Ref.Data, 27, 31-44 (1998) Note: critical enhancement not included Valid for 217 K < T < 1000K and rho < 1400 kg/m^3

Thermal conductivity from: Scalabrin et al., A Reference Multiparameter Thermal Conductivity Equation for Carbon Dioxide with an Optimized Functional Form, J. Phys. Chem. Ref. Data 35 (2006)

Definition at line 40 of file CO2FluidProperties.h.

Constructor & Destructor Documentation

◆ CO2FluidProperties()

CO2FluidProperties::CO2FluidProperties ( const InputParameters parameters)

Definition at line 27 of file CO2FluidProperties.C.

29{
30}
Base class equation of state for fluids that use a Helmholtz free energy alpha(delta,...
const InputParameters & parameters() const

◆ ~CO2FluidProperties()

CO2FluidProperties::~CO2FluidProperties ( )
virtual

Definition at line 32 of file CO2FluidProperties.C.

32{}

Member Function Documentation

◆ alpha()

Real CO2FluidProperties::alpha ( Real  delta,
Real  tau 
) const
overrideprotectedvirtual

Helmholtz free energy.

Parameters
deltascaled density (-)
tauscaled temperature (-)
Returns
alpha Helmholtz free energy

Implements HelmholtzFluidProperties.

Definition at line 161 of file CO2FluidProperties.C.

162{
163 // Ideal gas component of the Helmholtz free energy
164 Real sum0 = 0.0;
165 for (std::size_t i = 0; i < _a0.size(); ++i)
166 sum0 += _a0[i] * std::log(1.0 - std::exp(-_theta0[i] * tau));
167
168 Real phi0 = std::log(delta) + 8.37304456 - 3.70454304 * tau + 2.5 * std::log(tau) + sum0;
169
170 // Residual component of the Helmholtz free energy
171 Real theta, Delta, Psi;
172 Real phir = 0.0;
173 for (std::size_t i = 0; i < _n1.size(); ++i)
174 phir += _n1[i] * MathUtils::pow(delta, _d1[i]) * std::pow(tau, _t1[i]);
175
176 for (std::size_t i = 0; i < _n2.size(); ++i)
177 phir += _n2[i] * MathUtils::pow(delta, _d2[i]) * std::pow(tau, _t2[i]) *
178 std::exp(-MathUtils::pow(delta, _c2[i]));
179
180 for (std::size_t i = 0; i < _n3.size(); ++i)
181 phir += _n3[i] * MathUtils::pow(delta, _d3[i]) * MathUtils::pow(tau, _t3[i]) *
182 std::exp(-_alpha3[i] * Utility::pow<2>(delta - _eps3[i]) -
183 _beta3[i] * Utility::pow<2>(tau - _gamma3[i]));
184
185 for (std::size_t i = 0; i < _n4.size(); ++i)
186 {
187 theta = 1.0 - tau + _A4[i] * std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]));
188 Delta = Utility::pow<2>(theta) + _B4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i]);
189 Psi = std::exp(-_C4[i] * Utility::pow<2>(delta - 1.0) - _D4[i] * Utility::pow<2>(tau - 1.0));
190 phir += _n4[i] * std::pow(Delta, _b4[i]) * delta * Psi;
191 }
192
193 // The Helmholtz free energy is the sum of these components
194 return phi0 + phir;
195}
const std::array< unsigned int, 5 > _d3
const std::array< Real, 3 > _b4
const std::array< Real, 3 > _n4
const std::array< Real, 3 > _D4
const std::array< Real, 27 > _n2
const std::array< unsigned int, 27 > _c2
const std::array< Real, 3 > _a4
const std::array< unsigned int, 27 > _d2
const std::array< Real, 5 > _beta3
const std::array< Real, 3 > _A4
const std::array< Real, 5 > _theta0
const std::array< Real, 7 > _t1
const std::array< Real, 5 > _eps3
const std::array< Real, 7 > _n1
Coefficients for the residual component of the Helmholtz free energy.
const std::array< Real, 5 > _n3
const std::array< Real, 3 > _beta4
const std::array< Real, 3 > _C4
const std::array< unsigned int, 7 > _d1
const std::array< Real, 5 > _alpha3
const std::array< unsigned int, 5 > _t3
const std::array< Real, 5 > _a0
Coefficients for the ideal gas component of the Helmholtz free energy.
const std::array< Real, 3 > _B4
const std::array< Real, 27 > _t2
const std::array< Real, 5 > _gamma3
T pow(T x, int e)
int delta(unsigned int i, unsigned int j)
Delta function, which returns zero if $i\ne j$ and unity if $i=j$.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

Referenced by k_from_rho_T().

◆ c_from_p_T()

Real HelmholtzFluidProperties::c_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtualinherited

Definition at line 98 of file HelmholtzFluidProperties.C.

99{
100 // Require density first
101 const Real density = rho_from_p_T(pressure, temperature);
102 // Scale the input density and temperature
103 const Real delta = density / criticalDensity();
104 const Real tau = criticalTemperature() / temperature;
105
106 const Real da_dd = dalpha_ddelta(delta, tau);
107
108 Real w = 2.0 * delta * da_dd + delta * delta * d2alpha_ddelta2(delta, tau);
109 w -= Utility::pow<2>(delta * da_dd - delta * tau * d2alpha_ddeltatau(delta, tau)) /
110 (tau * tau * d2alpha_dtau2(delta, tau));
111
112 return std::sqrt(_R * temperature * w / molarMass());
113}
static const Real _R
Universal gas constant (J/mol/K)
virtual Real d2alpha_ddelta2(Real delta, Real tau) const =0
Second derivative of Helmholtz free energy wrt delta.
virtual Real d2alpha_ddeltatau(Real delta, Real tau) const =0
Second derivative of Helmholtz free energy wrt delta and tau.
virtual Real d2alpha_dtau2(Real delta, Real tau) const =0
Second derivative of Helmholtz free energy wrt tau.
virtual Real dalpha_ddelta(Real delta, Real tau) const =0
Derivative of Helmholtz free energy wrt delta.
virtual Real rho_from_p_T(Real pressure, Real temperature) const override
virtual Real criticalDensity() const
Critical density.
virtual Real molarMass() const
Molar mass [kg/mol].
virtual Real criticalTemperature() const
Critical temperature.

◆ cp_from_p_T()

Real HelmholtzFluidProperties::cp_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtualinherited

Definition at line 116 of file HelmholtzFluidProperties.C.

117{
118 // Require density first
119 const Real density = rho_from_p_T(pressure, temperature);
120 // Scale the input density and temperature
121 const Real delta = density / criticalDensity();
122 const Real tau = criticalTemperature() / temperature;
123
124 const Real da_dd = dalpha_ddelta(delta, tau);
125
126 const Real cp = _R *
127 (-tau * tau * d2alpha_dtau2(delta, tau) +
128 Utility::pow<2>(delta * da_dd - delta * tau * d2alpha_ddeltatau(delta, tau)) /
129 (2.0 * delta * da_dd + delta * delta * d2alpha_ddelta2(delta, tau))) /
130 molarMass();
131
132 return cp;
133}

◆ criticalDensity()

Real CO2FluidProperties::criticalDensity ( ) const
overridevirtual

Critical density.

Returns
critical density (kg/m^3)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 59 of file CO2FluidProperties.C.

60{
61 return _critical_density;
62}
const Real _critical_density
Critical density (kg/m^3)

◆ criticalInternalEnergy()

Real SinglePhaseFluidProperties::criticalInternalEnergy ( ) const
virtualinherited

Critical specific internal energy.

Returns
specific internal energy (J/kg)

Reimplemented in CaloricallyImperfectGas, IdealGasFluidProperties, and StiffenedGasFluidProperties.

Definition at line 320 of file SinglePhaseFluidProperties.C.

321{
322 return e_from_p_rho(criticalPressure(), criticalDensity());
323}
virtual Real criticalPressure() const
Critical pressure.

◆ criticalPressure()

Real CO2FluidProperties::criticalPressure ( ) const
overridevirtual

Critical pressure.

Returns
critical pressure (Pa)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 47 of file CO2FluidProperties.C.

48{
49 return _critical_pressure;
50}
const Real _critical_pressure
Critical pressure (Pa)

◆ criticalTemperature()

Real CO2FluidProperties::criticalTemperature ( ) const
overridevirtual

Critical temperature.

Returns
critical temperature (K)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 53 of file CO2FluidProperties.C.

54{
56}
const Real _critical_temperature
Critical temperature (K)

◆ cv_from_p_T()

Real HelmholtzFluidProperties::cv_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtualinherited

Definition at line 136 of file HelmholtzFluidProperties.C.

137{
138 // Require density first
139 const Real density = rho_from_p_T(pressure, temperature);
140 // Scale the input density and temperature
141 const Real delta = density / criticalDensity();
142 const Real tau = criticalTemperature() / temperature;
143
144 return -_R * tau * tau * d2alpha_dtau2(delta, tau) / molarMass();
145}

◆ d2alpha_ddelta2()

Real CO2FluidProperties::d2alpha_ddelta2 ( Real  delta,
Real  tau 
) const
overrideprotectedvirtual

Second derivative of Helmholtz free energy wrt delta.

Parameters
deltascaled density (-)
tauscaled temperature (-)
Returns
second derivative of Helmholtz free energy wrt delta

Implements HelmholtzFluidProperties.

Definition at line 282 of file CO2FluidProperties.C.

283{
284 // Second derivative of the ideal gas component wrt gamma
285 Real d2phi0dd2 = -1.0 / delta / delta;
286
287 // Second derivative of the residual component wrt gamma
288 Real d2phirdd2 = 0.0;
289 Real theta, Delta, Psi, dDelta_dd, dPsi_dd, d2Delta_dd2, d2Psi_dd2;
290
291 for (std::size_t i = 0; i < _n1.size(); ++i)
292 d2phirdd2 += _n1[i] * _d1[i] * (_d1[i] - 1.0) * MathUtils::pow(delta, _d1[i] - 2) *
293 std::pow(tau, _t1[i]);
294
295 for (std::size_t i = 0; i < _n2.size(); ++i)
296 d2phirdd2 += _n2[i] * std::exp(-MathUtils::pow(delta, _c2[i])) *
297 MathUtils::pow(delta, _d2[i] - 2) * std::pow(tau, _t2[i]) *
298 ((_d2[i] - _c2[i] * MathUtils::pow(delta, _c2[i])) *
299 (_d2[i] - 1.0 - _c2[i] * MathUtils::pow(delta, _c2[i])) -
300 _c2[i] * _c2[i] * MathUtils::pow(delta, _c2[i]));
301
302 for (std::size_t i = 0; i < _n3.size(); ++i)
303 d2phirdd2 +=
304 _n3[i] * MathUtils::pow(tau, _t3[i]) *
305 std::exp(-_alpha3[i] * Utility::pow<2>(delta - _eps3[i]) -
306 _beta3[i] * Utility::pow<2>(tau - _gamma3[i])) *
307 (-2.0 * _alpha3[i] * MathUtils::pow(delta, _d3[i]) +
308 4.0 * _alpha3[i] * _alpha3[i] * MathUtils::pow(delta, _d3[i]) *
309 Utility::pow<2>(delta - _eps3[i]) -
310 4.0 * _d3[i] * _alpha3[i] * MathUtils::pow(delta, _d3[i] - 1.0) * (delta - _eps3[i]) +
311 _d3[i] * (_d3[i] - 1.0) * MathUtils::pow(delta, _d3[i] - 2.0));
312
313 for (std::size_t i = 0; i < _n4.size(); ++i)
314 {
315 theta = 1.0 - tau + _A4[i] * std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]));
316 Delta = Utility::pow<2>(theta) + _B4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i]);
317 Psi = std::exp(-_C4[i] * Utility::pow<2>(delta - 1.0) - _D4[i] * Utility::pow<2>(tau - 1.0));
318 dPsi_dd = -2.0 * _C4[i] * (delta - 1.0) * Psi;
319 dDelta_dd = (delta - 1.0) *
320 (_A4[i] * theta * 2.0 / _beta4[i] *
321 std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]) - 1.0) +
322 2.0 * _B4[i] * _a4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i] - 1.0));
323 d2Psi_dd2 = 3.0 * _D4[i] * Psi * (2.0 * _C4[i] * Utility::pow<2>(delta - 1.0) - 1.0);
324 d2Delta_dd2 = 1.0 / (delta - 1.0) * dDelta_dd +
325 (delta - 1.0) * (delta - 1.0) *
326 (4.0 * _B4[i] * _a4[i] * (_a4[i] - 1.0) *
327 std::pow(Utility::pow<2>(delta - 1.0), _a4[i] - 2.0) +
328 2.0 * _A4[i] * _A4[i] *
329 Utility::pow<2>(std::pow(Utility::pow<2>(delta - 1.0),
330 1.0 / (2.0 * _beta4[i]) - 1.0)) /
331 _beta4[i] / _beta4[i] +
332 (4.0 / _beta4[i]) * _A4[i] * theta * (1.0 / (2.0 * _beta4[i]) - 1.0) *
333 std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]) - 2.0));
334 d2phirdd2 +=
335 _n4[i] *
336 (std::pow(Delta, _b4[i]) * (2.0 * dPsi_dd + delta * d2Psi_dd2) +
337 2.0 * _b4[i] * std::pow(Delta, _b4[i] - 1.0) * dDelta_dd * (Psi + delta * dPsi_dd) +
338 _b4[i] *
339 (std::pow(Delta, _b4[i] - 1.0) * d2Delta_dd2 +
340 (_b4[i] - 1.0) * std::pow(Delta, _b4[i] - 2.0) * Utility::pow<2>(dDelta_dd)) *
341 delta * Psi);
342 }
343 // The second derivative of the free energy wrt delta is the sum of these components
344 return d2phi0dd2 + d2phirdd2;
345}

◆ d2alpha_ddeltatau()

Real CO2FluidProperties::d2alpha_ddeltatau ( Real  delta,
Real  tau 
) const
overrideprotectedvirtual

Second derivative of Helmholtz free energy wrt delta and tau.

Parameters
deltascaled density (-)
tauscaled temperature (-)
Returns
second derivative of Helmholtz free energy wrt delta and tau

Implements HelmholtzFluidProperties.

Definition at line 397 of file CO2FluidProperties.C.

398{
399 // Note: second derivative of the ideal gas component wrt delta and tau is 0
400 // Derivative of the residual component wrt gamma
401 Real theta, Delta, Psi, dDelta_dd, dPsi_dd, dDelta_dt, dPsi_dt, d2Delta_ddt, d2Psi_ddt;
402 Real d2phirddt = 0.0;
403 for (std::size_t i = 0; i < _n1.size(); ++i)
404 d2phirddt += _n1[i] * _d1[i] * _t1[i] * MathUtils::pow(delta, _d1[i] - 1.0) *
405 std::pow(tau, _t1[i] - 1.0);
406
407 for (std::size_t i = 0; i < _n2.size(); ++i)
408 d2phirddt += _n2[i] * std::exp(-MathUtils::pow(delta, _c2[i])) *
409 (MathUtils::pow(delta, _d2[i] - 1.0) * _t2[i] * std::pow(tau, _t2[i] - 1.0) *
410 (_d2[i] - _c2[i] * MathUtils::pow(delta, _c2[i])));
411
412 for (std::size_t i = 0; i < _n3.size(); ++i)
413 d2phirddt += _n3[i] * MathUtils::pow(delta, _d3[i]) * MathUtils::pow(tau, _t3[i]) *
414 std::exp(-_alpha3[i] * Utility::pow<2>(delta - _eps3[i]) -
415 _beta3[i] * Utility::pow<2>(tau - _gamma3[i])) *
416 (_d3[i] / delta - 2.0 * _alpha3[i] * (delta - _eps3[i])) *
417 (_t3[i] / tau - 2.0 * _beta3[i] * (tau - _gamma3[i]));
418
419 for (std::size_t i = 0; i < _n4.size(); ++i)
420 {
421 theta = 1.0 - tau + _A4[i] * std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]));
422 Delta = Utility::pow<2>(theta) + _B4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i]);
423 Psi = std::exp(-_C4[i] * Utility::pow<2>(delta - 1.0) - _D4[i] * Utility::pow<2>(tau - 1.0));
424 dPsi_dd = -2.0 * _C4[i] * (delta - 1.0) * Psi;
425 dPsi_dt = -2.0 * _D4[i] * (tau - 1.0) * Psi;
426 d2Psi_ddt = 4.0 * _C4[i] * _D4[i] * (delta - 1.0) * (tau - 1.0) * Psi;
427 dDelta_dd = (delta - 1.0) *
428 (_A4[i] * theta * 2.0 / _beta4[i] *
429 std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]) - 1.0) +
430 2.0 * _B4[i] * _a4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i] - 1.0));
431 dDelta_dt = -2.0 * theta * _b4[i] * std::pow(Delta, _b4[i] - 1.0);
432 d2Delta_ddt = -2.0 * _A4[i] * _b4[i] / _beta4[i] * std::pow(Delta, _b4[i] - 1.0) *
433 (delta - 1.0) *
434 std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]) - 1.0) -
435 2.0 * theta * _b4[i] * (_b4[i] - 1.0) * std::pow(Delta, _b4[i] - 2.0) * dDelta_dd;
436
437 d2phirddt += _n4[i] * (std::pow(Delta, _b4[i]) * (dPsi_dt + delta * d2Psi_ddt) +
438 delta * _b4[i] * std::pow(Delta, _b4[i] - 1.0) * dDelta_dd * dPsi_dt +
439 dDelta_dt * (Psi + delta * dPsi_dd) + d2Delta_ddt * delta * Psi);
440 }
441
442 return d2phirddt;
443}

◆ d2alpha_dtau2()

Real CO2FluidProperties::d2alpha_dtau2 ( Real  delta,
Real  tau 
) const
overrideprotectedvirtual

Second derivative of Helmholtz free energy wrt tau.

Parameters
deltascaled density (-)
tauscaled temperature (-)
Returns
second derivative of Helmholtz free energy wrt tau

Implements HelmholtzFluidProperties.

Definition at line 348 of file CO2FluidProperties.C.

349{
350 // Second derivative of the ideal gas component wrt tau
351 Real sum0 = 0.0;
352 for (std::size_t i = 0; i < _a0.size(); ++i)
353 sum0 += _a0[i] * _theta0[i] * _theta0[i] * std::exp(-_theta0[i] * tau) /
354 Utility::pow<2>(1.0 - std::exp(-_theta0[i] * tau));
355
356 Real d2phi0dt2 = -2.5 / tau / tau - sum0;
357
358 // Second derivative of the residual component wrt tau
359 Real d2phirdt2 = 0.0;
360 Real theta, Delta, Psi, dPsi_dt, dDelta_dt, d2Delta_dt2, d2Psi_dt2;
361
362 for (std::size_t i = 0; i < _n1.size(); ++i)
363 d2phirdt2 += _n1[i] * _t1[i] * (_t1[i] - 1.0) * MathUtils::pow(delta, _d1[i]) *
364 std::pow(tau, _t1[i] - 2.0);
365
366 for (std::size_t i = 0; i < _n2.size(); ++i)
367 d2phirdt2 += _n2[i] * _t2[i] * (_t2[i] - 1.0) * MathUtils::pow(delta, _d2[i]) *
368 std::exp(-MathUtils::pow(delta, _c2[i])) * std::pow(tau, _t2[i] - 2.0);
369
370 for (std::size_t i = 0; i < _n3.size(); ++i)
371 d2phirdt2 += _n3[i] * MathUtils::pow(delta, _d3[i]) * MathUtils::pow(tau, _t3[i]) *
372 std::exp(-_alpha3[i] * Utility::pow<2>(delta - _eps3[i]) -
373 _beta3[i] * Utility::pow<2>(tau - _gamma3[i])) *
374 (Utility::pow<2>(_t3[i] / tau - 2.0 * _beta3[i] * (tau - _gamma3[i])) -
375 _t3[i] / tau / tau - 2.0 * _beta3[i]);
376
377 for (std::size_t i = 0; i < _n4.size(); ++i)
378 {
379 theta = 1.0 - tau + _A4[i] * std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]));
380 Delta = Utility::pow<2>(theta) + _B4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i]);
381 Psi = std::exp(-_C4[i] * Utility::pow<2>(delta - 1.0) - _D4[i] * Utility::pow<2>(tau - 1.0));
382 dDelta_dt = -2.0 * theta * _b4[i] * std::pow(Delta, _b4[i] - 1.0);
383 d2Delta_dt2 = 2.0 * _b4[i] * std::pow(Delta, _b4[i] - 1.0) +
384 4.0 * theta * theta * _b4[i] * (_b4[i] - 1.0) * std::pow(Delta, _b4[i] - 2.0);
385 dPsi_dt = -2.0 * _D4[i] * (tau - 1.0) * Psi;
386 d2Psi_dt2 = 2.0 * _D4[i] * (2.0 * _D4[i] * (tau - 1.0) * (tau - 1.0) - 1.0) * Psi;
387 d2phirdt2 +=
388 _n4[i] * delta *
389 (Psi * d2Delta_dt2 + 2.0 * dDelta_dt * dPsi_dt + std::pow(Delta, _b4[i]) * d2Psi_dt2);
390 }
391
392 // The second derivative of the free energy wrt tau is the sum of these components
393 return d2phi0dt2 + d2phirdt2;
394}

◆ dalpha_ddelta()

Real CO2FluidProperties::dalpha_ddelta ( Real  delta,
Real  tau 
) const
overrideprotectedvirtual

Derivative of Helmholtz free energy wrt delta.

Parameters
deltascaled density (-)
tauscaled temperature (-)
Returns
derivative of Helmholtz free energy wrt delta

Implements HelmholtzFluidProperties.

Definition at line 198 of file CO2FluidProperties.C.

199{
200 // Derivative of the ideal gas component wrt gamma
201 Real dphi0dd = 1.0 / delta;
202
203 // Derivative of the residual component wrt gamma
204 Real theta, Delta, Psi, dDelta_dd, dPsi_dd;
205 Real dphirdd = 0.0;
206
207 for (std::size_t i = 0; i < _n1.size(); ++i)
208 dphirdd += _n1[i] * _d1[i] * MathUtils::pow(delta, _d1[i] - 1.0) * std::pow(tau, _t1[i]);
209
210 for (std::size_t i = 0; i < _n2.size(); ++i)
211 dphirdd += _n2[i] * std::exp(-MathUtils::pow(delta, _c2[i])) *
212 (MathUtils::pow(delta, _d2[i] - 1.0) * std::pow(tau, _t2[i]) *
213 (_d2[i] - _c2[i] * MathUtils::pow(delta, _c2[i])));
214
215 for (std::size_t i = 0; i < _n3.size(); ++i)
216 dphirdd += _n3[i] * MathUtils::pow(delta, _d3[i]) * MathUtils::pow(tau, _t3[i]) *
217 std::exp(-_alpha3[i] * Utility::pow<2>(delta - _eps3[i]) -
218 _beta3[i] * Utility::pow<2>(tau - _gamma3[i])) *
219 (_d3[i] / delta - 2.0 * _alpha3[i] * (delta - _eps3[i]));
220
221 for (std::size_t i = 0; i < _n4.size(); ++i)
222 {
223 theta = 1.0 - tau + _A4[i] * std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]));
224 Delta = Utility::pow<2>(theta) + _B4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i]);
225 Psi = std::exp(-_C4[i] * Utility::pow<2>(delta - 1.0) - _D4[i] * Utility::pow<2>(tau - 1.0));
226 dPsi_dd = -2.0 * _C4[i] * (delta - 1.0) * Psi;
227 dDelta_dd = (delta - 1.0) *
228 (_A4[i] * theta * 2.0 / _beta4[i] *
229 std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]) - 1.0) +
230 2.0 * _B4[i] * _a4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i] - 1.0));
231
232 dphirdd += _n4[i] * (std::pow(Delta, _b4[i]) * (Psi + delta * dPsi_dd) +
233 _b4[i] * std::pow(Delta, _b4[i] - 1.0) * dDelta_dd * delta * Psi);
234 }
235
236 // The derivative of the free energy wrt delta is the sum of these components
237 return dphi0dd + dphirdd;
238}

◆ dalpha_dtau()

Real CO2FluidProperties::dalpha_dtau ( Real  delta,
Real  tau 
) const
overrideprotectedvirtual

Derivative of Helmholtz free energy wrt tau.

Parameters
deltascaled density (-)
tauscaled temperature (-)
Returns
derivative of Helmholtz free energy wrt tau

Implements HelmholtzFluidProperties.

Definition at line 241 of file CO2FluidProperties.C.

242{
243 // Derivative of the ideal gas component wrt tau
244 Real sum0 = 0.0;
245 for (std::size_t i = 0; i < _a0.size(); ++i)
246 sum0 += _a0[i] * _theta0[i] * (1.0 / (1.0 - std::exp(-_theta0[i] * tau)) - 1.0);
247
248 Real dphi0dt = -3.70454304 + 2.5 / tau + sum0;
249
250 // Derivative of the residual component wrt tau
251 Real theta, Delta, Psi, dDelta_dt, dPsi_dt;
252 Real dphirdt = 0.0;
253 for (std::size_t i = 0; i < _n1.size(); ++i)
254 dphirdt += _n1[i] * _t1[i] * MathUtils::pow(delta, _d1[i]) * std::pow(tau, _t1[i] - 1.0);
255
256 for (std::size_t i = 0; i < _n2.size(); ++i)
257 dphirdt += _n2[i] * _t2[i] * MathUtils::pow(delta, _d2[i]) * std::pow(tau, _t2[i] - 1.0) *
258 std::exp(-MathUtils::pow(delta, _c2[i]));
259
260 for (std::size_t i = 0; i < _n3.size(); ++i)
261 dphirdt += _n3[i] * MathUtils::pow(delta, _d3[i]) * MathUtils::pow(tau, _t3[i]) *
262 std::exp(-_alpha3[i] * Utility::pow<2>(delta - _eps3[i]) -
263 _beta3[i] * Utility::pow<2>(tau - _gamma3[i])) *
264 (_t3[i] / tau - 2.0 * _beta3[i] * (tau - _gamma3[i]));
265
266 for (std::size_t i = 0; i < _n4.size(); ++i)
267 {
268 theta = 1.0 - tau + _A4[i] * std::pow(Utility::pow<2>(delta - 1.0), 1.0 / (2.0 * _beta4[i]));
269 Delta = Utility::pow<2>(theta) + _B4[i] * std::pow(Utility::pow<2>(delta - 1.0), _a4[i]);
270 Psi = std::exp(-_C4[i] * Utility::pow<2>(delta - 1.0) - _D4[i] * Utility::pow<2>(tau - 1.0));
271 dDelta_dt = -2.0 * theta * _b4[i] * std::pow(Delta, _b4[i] - 1.0);
272 dPsi_dt = -2.0 * _D4[i] * (tau - 1.0) * Psi;
273
274 dphirdt += _n4[i] * delta * (Psi * dDelta_dt + std::pow(Delta, _b4[i]) * dPsi_dt);
275 }
276
277 // The derivative of the free energy wrt tau is the sum of these components
278 return dphi0dt + dphirdt;
279}

◆ e_from_p_T() [1/2]

void HelmholtzFluidProperties::e_from_p_T ( Real  p,
Real  T,
Real &  e,
Real &  de_dp,
Real &  de_dT 
) const
overridevirtualinherited

Definition at line 75 of file HelmholtzFluidProperties.C.

77{
78 e = this->e_from_p_T(pressure, temperature);
79
80 // Require density first
81 const Real density = rho_from_p_T(pressure, temperature);
82 // Scale the input density and temperature
83 const Real delta = density / criticalDensity();
84 const Real tau = criticalTemperature() / temperature;
85
86 const Real da_dd = dalpha_ddelta(delta, tau);
87 const Real d2a_dd2 = d2alpha_ddelta2(delta, tau);
88 const Real d2a_ddt = d2alpha_ddeltatau(delta, tau);
89
90 de_dp = tau * d2a_ddt / (density * (2.0 * da_dd + delta * d2a_dd2));
91 de_dT = -_R *
92 (delta * tau * d2a_ddt * (da_dd - tau * d2a_ddt) / (2.0 * da_dd + delta * d2a_dd2) +
93 tau * tau * d2alpha_dtau2(delta, tau)) /
94 molarMass();
95}
virtual Real e_from_p_T(Real pressure, Real temperature) const override

◆ e_from_p_T() [2/2]

Real HelmholtzFluidProperties::e_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtualinherited

Definition at line 63 of file HelmholtzFluidProperties.C.

64{
65 // Require density first
66 const Real density = rho_from_p_T(pressure, temperature);
67 // Scale the input density and temperature
68 const Real delta = density / criticalDensity();
69 const Real tau = criticalTemperature() / temperature;
70
71 return _R * temperature * tau * dalpha_dtau(delta, tau) / molarMass();
72}
virtual Real dalpha_dtau(Real delta, Real tau) const =0
Derivative of Helmholtz free energy wrt tau.

Referenced by HelmholtzFluidProperties::e_from_p_T().

◆ e_spndl_from_v()

Real SinglePhaseFluidProperties::e_spndl_from_v ( Real  v) const
virtualinherited

Specific internal energy from temperature and specific volume.

Parameters
[in]Ttemperature
[in]vspecific volume

Reimplemented in CaloricallyImperfectGas, IdealGasFluidProperties, and StiffenedGasFluidProperties.

Definition at line 483 of file SinglePhaseFluidProperties.C.

484{
485 mooseError(__PRETTY_FUNCTION__, " not implemented.");
486}
void mooseError(Args &&... args) const

◆ 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 CO2FluidProperties::fluidName ( ) const
overridevirtual

Fluid name.

Returns
string representing fluid name

Reimplemented from SinglePhaseFluidProperties.

Definition at line 35 of file CO2FluidProperties.C.

36{
37 return "co2";
38}

◆ h_from_p_T() [1/2]

void HelmholtzFluidProperties::h_from_p_T ( Real  p,
Real  T,
Real &  h,
Real &  dh_dp,
Real &  dh_dT 
) const
overridevirtualinherited

Definition at line 196 of file HelmholtzFluidProperties.C.

198{
199 h = this->h_from_p_T(pressure, temperature);
200
201 // Require density first
202 const Real density = rho_from_p_T(pressure, temperature);
203 // Scale the input density and temperature
204 const Real delta = density / criticalDensity();
205 const Real tau = criticalTemperature() / temperature;
206
207 const Real da_dd = dalpha_ddelta(delta, tau);
208 const Real d2a_dd2 = d2alpha_ddelta2(delta, tau);
209 const Real d2a_ddt = d2alpha_ddeltatau(delta, tau);
210
211 dh_dp = (da_dd + delta * d2a_dd2 + tau * d2a_ddt) / (density * (2.0 * da_dd + delta * d2a_dd2));
212 dh_dT = _R *
213 (delta * da_dd * (1.0 - tau * d2a_ddt / da_dd) * (1.0 - tau * d2a_ddt / da_dd) /
214 (2.0 + delta * d2a_dd2 / da_dd) -
215 tau * tau * d2alpha_dtau2(delta, tau)) /
216 molarMass();
217}
virtual Real h_from_p_T(Real pressure, Real temperature) const override
e e e e s T T T T T rho v v T e h

◆ h_from_p_T() [2/2]

Real HelmholtzFluidProperties::h_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtualinherited

Definition at line 183 of file HelmholtzFluidProperties.C.

184{
185 // Require density first
186 const Real density = rho_from_p_T(pressure, temperature);
187 // Scale the input density and temperature
188 const Real delta = density / criticalDensity();
189 const Real tau = criticalTemperature() / temperature;
190
191 return _R * temperature * (tau * dalpha_dtau(delta, tau) + delta * dalpha_ddelta(delta, tau)) /
192 molarMass();
193}

Referenced by HelmholtzFluidProperties::h_from_p_T(), and HelmholtzFluidProperties::T_from_p_h().

◆ henryCoefficients()

std::vector< Real > CO2FluidProperties::henryCoefficients ( ) const
overridevirtual

Henry's law coefficients for dissolution in water.

Returns
Henry's constant coefficients

Reimplemented from SinglePhaseFluidProperties.

Definition at line 635 of file CO2FluidProperties.C.

636{
637 return {-8.55445, 4.01195, 9.52345};
638}

◆ initialize()

virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Implements ThreadedGeneralUserObject.

Definition at line 34 of file FluidProperties.h.

34{}

◆ k_from_p_T() [1/2]

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

Definition at line 641 of file CO2FluidProperties.C.

642{
643 // Require density first
644 Real density = rho_from_p_T(pressure, temperature);
645 return k_from_rho_T(density, temperature);
646}
virtual Real rho_from_p_T(Real pressure, Real temperature) const override
virtual Real k_from_rho_T(Real density, Real temperature) const override

Referenced by k_from_p_T().

◆ k_from_p_T() [2/2]

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

Definition at line 649 of file CO2FluidProperties.C.

651{
652 k = this->k_from_p_T(pressure, temperature);
653 // Calculate derivatives using finite differences. Note: this will be slow as
654 // multiple calculations of density are required
655 const Real eps = 1.0e-6;
656 const Real peps = pressure * eps;
657 const Real Teps = temperature * eps;
658
659 dk_dp = (this->k_from_p_T(pressure + peps, temperature) - k) / peps;
660 dk_dT = (this->k_from_p_T(pressure, temperature + Teps) - k) / Teps;
661}
virtual Real k_from_p_T(Real pressure, Real temperature) const override

◆ k_from_rho_T()

Real CO2FluidProperties::k_from_rho_T ( Real  density,
Real  temperature 
) const
overridevirtual

Definition at line 664 of file CO2FluidProperties.C.

665{
666 // Check the temperature is in the range of validity (216.592 K <= T <= 1000 K)
667 if (temperature <= _triple_point_temperature || temperature >= 1000.0)
668 throw MooseException("Temperature " + Moose::stringify(temperature) +
669 "K out of range (200K, 1000K) in " + name() + ": k()");
670
671 // Scaled variables
672 Real Tr = temperature / _critical_temperature;
673 Real rhor = density / _critical_density;
674
675 Real sum1 = 0.0;
676 for (std::size_t i = 0; i < _k_n1.size(); ++i)
677 sum1 += _k_n1[i] * std::pow(Tr, _k_g1[i]) * MathUtils::pow(rhor, _k_h1[i]);
678
679 Real sum2 = 0.0;
680 for (std::size_t i = 0; i < _k_n2.size(); ++i)
681 sum2 += _k_n2[i] * std::pow(Tr, _k_g2[i]) * MathUtils::pow(rhor, _k_h2[i]);
682
683 // Near-critical enhancement
684 Real alpha =
685 1.0 - _k_a[9] * std::acosh(1.0 + _k_a[10] * std::pow(Utility::pow<2>(1.0 - Tr), _k_a[11]));
686 Real lambdac =
687 rhor *
688 std::exp(-std::pow(rhor, _k_a[0]) / _k_a[0] - Utility::pow<2>(_k_a[1] * (Tr - 1.0)) -
689 Utility::pow<2>(_k_a[2] * (rhor - 1.0))) /
690 std::pow(std::pow(Utility::pow<2>(
691 1.0 - 1.0 / Tr +
692 _k_a[3] * std::pow(Utility::pow<2>(rhor - 1.0), 1.0 / (2.0 * _k_a[4]))),
693 _k_a[5]) +
694 std::pow(Utility::pow<2>(_k_a[6] * (rhor - alpha)), _k_a[7]),
695 _k_a[8]);
696
697 return 4.81384 * (sum1 + std::exp(-5.0 * rhor * rhor) * sum2 + 0.775547504 * lambdac) / 1000.0;
698}
const std::string name
Definition Setup.h:21
const std::array< Real, 7 > _k_g2
virtual Real alpha(Real delta, Real tau) const override
Helmholtz free energy.
const std::array< unsigned int, 7 > _k_h2
const std::array< Real, 7 > _k_n2
const std::array< Real, 3 > _k_n1
const std::array< Real, 12 > _k_a
const std::array< unsigned int, 3 > _k_h1
const std::array< Real, 3 > _k_g1
Coefficients for the thermal conductivity.
std::string stringify(const T &t)

Referenced by k_from_p_T().

◆ makeZeroAndOne() [1/2]

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

Definition at line 485 of file SinglePhaseFluidProperties.h.

486{
487 return {Real{0}, Real{1}};
488}

◆ makeZeroAndOne() [2/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 478 of file SinglePhaseFluidProperties.h.

479{
480 return {T{0, 0}, T{1, 0}};
481}

Referenced by SinglePhaseFluidProperties::xyDerivatives().

◆ meltingPressure()

Real CO2FluidProperties::meltingPressure ( Real  temperature) const

Melting pressure.

Used to delineate solid and liquid phases Valid for temperatures greater than the triple point temperature

Eq. 3.10, from Span and Wagner (reference above)

Parameters
temperatureCO2 temperature (K)
Returns
melting pressure (Pa)

Definition at line 77 of file CO2FluidProperties.C.

78{
79 if (temperature < _triple_point_temperature)
80 throw MooseException("Temperature is below the triple point temperature in " + name() +
81 ": meltingPressure()");
82
83 Real Tstar = temperature / _triple_point_temperature;
84
86 (1.0 + 1955.539 * (Tstar - 1.0) + 2055.4593 * Utility::pow<2>(Tstar - 1.0));
87}
const Real _triple_point_temperature
Triple point temperature (K)
const Real _triple_point_pressure
Triple point pressure (Pa)

Referenced by rho_from_p_T().

◆ molarMass()

Real CO2FluidProperties::molarMass ( ) const
overridevirtual

Molar mass [kg/mol].

Returns
molar mass

Reimplemented from SinglePhaseFluidProperties.

Definition at line 41 of file CO2FluidProperties.C.

42{
43 return _Mco2;
44}
const Real _Mco2
Molar mass of CO2 (kg/mol)

◆ mu_from_p_T() [1/2]

Real CO2FluidProperties::mu_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtual

Definition at line 507 of file CO2FluidProperties.C.

508{
509 Real rho = rho_from_p_T(pressure, temperature);
510 return mu_from_rho_T(rho, temperature);
511}
virtual Real mu_from_rho_T(Real density, Real temperature) const override

◆ mu_from_p_T() [2/2]

void CO2FluidProperties::mu_from_p_T ( Real  pressure,
Real  temperature,
Real &  mu,
Real &  dmu_dp,
Real &  dmu_dT 
) const
overridevirtual

Definition at line 514 of file CO2FluidProperties.C.

516{
517 Real rho, drho_dp, drho_dT;
518 HelmholtzFluidProperties::rho_from_p_T(pressure, temperature, rho, drho_dp, drho_dT);
519
520 Real dmu_drho;
521 mu_from_rho_T(rho, temperature, drho_dT, mu, dmu_drho, dmu_dT);
522 dmu_dp = dmu_drho * drho_dp;
523}
const double mu

◆ mu_from_rho_T() [1/2]

Real CO2FluidProperties::mu_from_rho_T ( Real  density,
Real  temperature 
) const
overridevirtual

Definition at line 526 of file CO2FluidProperties.C.

527{
528 // Check that the input parameters are within the region of validity
529 if (temperature < 216.0 || temperature > 1000.0 || density > 1400.0)
530 throw MooseException("Parameters out of range in " + name() + ": mu_from_rho_T()");
531
532 Real Tstar = temperature / 251.196;
533
534 // Viscosity in the zero-density limit
535 Real sum = 0.0;
536
537 for (std::size_t i = 0; i < _mu_a.size(); ++i)
538 sum += _mu_a[i] * MathUtils::pow(std::log(Tstar), i);
539
540 Real mu0 = 1.00697 * std::sqrt(temperature) / std::exp(sum);
541
542 // Excess viscosity due to finite density
543 Real mue = _mu_d[0] * density + _mu_d[1] * Utility::pow<2>(density) +
544 _mu_d[2] * Utility::pow<6>(density) / Utility::pow<3>(Tstar) +
545 _mu_d[3] * Utility::pow<8>(density) + _mu_d[4] * Utility::pow<8>(density) / Tstar;
546
547 return (mu0 + mue) * 1.0e-6; // convert to Pa.s
548}
const std::array< Real, 5 > _mu_d
const std::array< Real, 5 > _mu_a
Coefficients for viscosity.

Referenced by mu_from_p_T(), mu_from_p_T(), rho_mu_from_p_T(), and rho_mu_from_p_T().

◆ mu_from_rho_T() [2/2]

void CO2FluidProperties::mu_from_rho_T ( Real  density,
Real  temperature,
Real  ddensity_dT,
Real &  mu,
Real &  dmu_drho,
Real &  dmu_dT 
) const

Definition at line 551 of file CO2FluidProperties.C.

557{
558 // Check that the input parameters are within the region of validity
559 if (temperature < 216.0 || temperature > 1000.0 || density > 1400.0)
560 throw MooseException("Parameters out of range in " + name() + ": mu_drhoT()");
561
562 Real Tstar = temperature / 251.196;
563 Real dTstar_dT = 1.0 / 251.196;
564
565 // Viscosity in the zero-density limit. Note this is only a function of T.
566 // Start the sum at i = 1 so the derivative is defined
567 Real sum0 = _mu_a[0], dsum0_dTstar = 0.0;
568
569 for (std::size_t i = 1; i < _mu_a.size(); ++i)
570 {
571 sum0 += _mu_a[i] * MathUtils::pow(std::log(Tstar), i);
572 dsum0_dTstar += i * _mu_a[i] * MathUtils::pow(std::log(Tstar), i - 1) / Tstar;
573 }
574
575 Real mu0 = 1.00697 * std::sqrt(temperature) / std::exp(sum0);
576 Real dmu0_dT = (0.5 * 1.00697 / std::sqrt(temperature) -
577 1.00697 * std::sqrt(temperature) * dsum0_dTstar * dTstar_dT) /
578 std::exp(sum0);
579
580 // Excess viscosity due to finite density
581 Real mue = _mu_d[0] * density + _mu_d[1] * Utility::pow<2>(density) +
582 _mu_d[2] * Utility::pow<6>(density) / Utility::pow<3>(Tstar) +
583 _mu_d[3] * Utility::pow<8>(density) + _mu_d[4] * Utility::pow<8>(density) / Tstar;
584
585 Real dmue_drho = _mu_d[0] + 2.0 * _mu_d[1] * density +
586 6.0 * _mu_d[2] * Utility::pow<5>(density) / Utility::pow<3>(Tstar) +
587 8.0 * _mu_d[3] * Utility::pow<7>(density) +
588 8.0 * _mu_d[4] * Utility::pow<7>(density) / Tstar;
589
590 Real dmue_dT = (-3.0 * _mu_d[2] * Utility::pow<6>(density) / Utility::pow<4>(Tstar) -
591 _mu_d[4] * Utility::pow<8>(density) / Tstar / Tstar) *
592 dTstar_dT;
593
594 // Viscosity in Pa.s is
595 mu = (mu0 + mue) * 1.0e-6;
596 dmu_drho = dmue_drho * 1.0e-6;
597 dmu_dT = (dmu0_dT + dmue_dT) * 1.0e-6 + dmu_drho * ddensity_dT;
598}

◆ p_from_rho_T()

Real CO2FluidProperties::p_from_rho_T ( Real  rho,
Real  T 
) const
overridevirtual

Pressure as a function of density and temperature.

Parameters
rhodensity (kg/m^3)
Ttemperature (K)
Returns
pressure (Pa)

Reimplemented from HelmholtzFluidProperties.

Definition at line 446 of file CO2FluidProperties.C.

447{
448 // Check that the input parameters are within the region of validity
449 if (temperature < 216.0 || temperature > 1100.0 || density <= 0.0)
450 throw MooseException("Parameters out of range in " + name() + ": pressure()");
451
452 Real pressure = 0.0;
453
454 if (temperature > _triple_point_temperature && temperature < _critical_temperature)
455 {
456 Real gas_density = saturatedVaporDensity(temperature);
457 Real liquid_density = saturatedLiquidDensity(temperature);
458
459 if (density < gas_density || density > liquid_density)
460 pressure = HelmholtzFluidProperties::p_from_rho_T(density, temperature);
461 else
462 pressure = vaporPressure(temperature);
463 }
464 else
465 pressure = HelmholtzFluidProperties::p_from_rho_T(density, temperature);
466
467 return pressure;
468}
Real saturatedLiquidDensity(Real temperature) const
Saturated liquid density of CO2 Valid for temperatures between the triple point temperature and criti...
virtual Real vaporPressure(Real temperature) const override
Vapor pressure.
Real saturatedVaporDensity(Real temperature) const
Saturated vapor density of CO2 Valid for temperatures between the triple point temperature and critic...
virtual Real p_from_rho_T(Real rho, Real T) const
Pressure as a function of density and temperature.

Referenced by rho_from_p_T().

◆ 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 599 of file SinglePhaseFluidProperties.h.

606{
607 auto h_lambda = [&](const T & pressure, const T & temperature, T & new_h, T & dh_dp, T & dh_dT)
608 { h_from_p_T(pressure, temperature, new_h, dh_dp, dh_dT); };
609 auto s_lambda = [&](const T & pressure, const T & temperature, T & new_s, T & ds_dp, T & ds_dT)
610 { s_from_p_T(pressure, temperature, new_s, ds_dp, ds_dT); };
611 try
612 {
614 s,
615 p0,
616 T0,
617 pressure,
618 temperature,
621 h_lambda,
622 s_lambda,
623 "p_T_from_h_s",
626 conversion_succeeded = true;
627 }
628 catch (MooseException &)
629 {
630 conversion_succeeded = false;
631 }
632
633 if (!conversion_succeeded)
634 mooseDoOnce(mooseWarning("Conversion from (h, s)=(", h, ", ", s, ") to (p, T) failed"));
635}
void mooseWarning(Args &&... args) const
const bool _verbose_newton
Whether to output information about newton solves to console.
const Real _tolerance
Newton's method may be used to convert between variable sets.
const unsigned int _max_newton_its
Maximum number of iterations for the variable conversion newton 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 &f_from_x_y, const Functor2 &g_from_x_y, const std::string &caller_name="", const unsigned int max_its=100, bool debug=false)
NewtonSolve2D does a 2D Newton Solve to solve for the x and y such that: f = f_from_x_y(x,...

Referenced by TabulatedFluidProperties::T_from_h_s().

◆ 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 513 of file SinglePhaseFluidProperties.h.

520{
521 auto v_lambda = [&](const CppType & pressure,
522 const CppType & temperature,
523 CppType & new_v,
524 CppType & dv_dp,
525 CppType & dv_dT) { v_from_p_T(pressure, temperature, new_v, dv_dp, dv_dT); };
526 auto e_lambda = [&](const CppType & pressure,
527 const CppType & temperature,
528 CppType & new_e,
529 CppType & de_dp,
530 CppType & de_dT) { e_from_p_T(pressure, temperature, new_e, de_dp, de_dT); };
531 try
532 {
534 e,
535 p0,
536 T0,
537 p,
538 T,
541 v_lambda,
542 e_lambda,
543 "p_T_from_v_e",
546 conversion_succeeded = true;
547 }
548 catch (MooseException &)
549 {
550 conversion_succeeded = false;
551 }
552
553 if (!conversion_succeeded)
554 mooseDoOnce(mooseWarning("Conversion from (v, e)=(", v, ", ", e, ") to (p, T) failed"));
555}

Referenced by TabulatedBicubicFluidProperties::constructInterpolation(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), TabulatedFluidProperties::g_from_v_e(), TemperaturePressureFunctionFluidProperties::k_from_v_e(), TemperaturePressureFunctionFluidProperties::mu_from_v_e(), and TemperaturePressureFunctionFluidProperties::T_from_v_e().

◆ 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 559 of file SinglePhaseFluidProperties.h.

566{
567 auto v_lambda = [&](const T & pressure, const T & temperature, T & new_v, T & dv_dp, T & dv_dT)
568 { v_from_p_T(pressure, temperature, new_v, dv_dp, dv_dT); };
569 auto h_lambda = [&](const T & pressure, const T & temperature, T & new_h, T & dh_dp, T & dh_dT)
570 { h_from_p_T(pressure, temperature, new_h, dh_dp, dh_dT); };
571 try
572 {
574 h,
575 p0,
576 T0,
577 pressure,
578 temperature,
581 v_lambda,
582 h_lambda,
583 "p_T_from_v_h",
586 conversion_succeeded = true;
587 }
588 catch (MooseException &)
589 {
590 conversion_succeeded = false;
591 }
592
593 if (!conversion_succeeded)
594 mooseDoOnce(mooseWarning("Conversion from (v, h)=(", v, ", ", h, ") to (p, T) failed"));
595}

Referenced by TabulatedBicubicFluidProperties::constructInterpolation().

◆ partialDensity()

Real CO2FluidProperties::partialDensity ( Real  temperature) const

Partial density of dissolved CO2 From Garcia, Density of aqueous solutions of CO2, LBNL-49023 (2001)

Parameters
temperaturefluid temperature (K)
Returns
partial molar density (kg/m^3)

Definition at line 624 of file CO2FluidProperties.C.

625{
626 // This correlation uses temperature in C
627 Real Tc = temperature - _T_c2k;
628 // The partial volume
629 Real V = 37.51 - 9.585e-2 * Tc + 8.74e-4 * Tc * Tc - 5.044e-7 * Tc * Tc * Tc;
630
631 return 1.0e6 * _Mco2 / V;
632}
const Real _T_c2k
Conversion of temperature from Celsius to Kelvin.

◆ propfunc() [1/12]

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

◆ propfunc() [2/12]

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

◆ propfunc() [3/12]

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

◆ propfunc() [4/12]

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

◆ propfunc() [5/12]

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

◆ propfunc() [6/12]

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

◆ propfunc() [7/12]

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

◆ propfunc() [8/12]

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

◆ propfunc() [9/12]

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:

@begincode 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:

@begincode // 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(ADReal a, ADReal b) and x_from_a_b(ADReal a, ADReal b, ADReal x, ADReal dx_da, ADReal dx_db) versions of the functions where a and b must be ADReal/DualNumber's calculated using all AD-supporting values:

@begincode 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() [10/12]

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

◆ propfunc() [11/12]

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

◆ propfunc() [12/12]

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

◆ propfuncWithDefault() [1/7]

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

◆ propfuncWithDefault() [2/7]

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

◆ propfuncWithDefault() [3/7]

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

◆ propfuncWithDefault() [4/7]

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

◆ propfuncWithDefault() [5/7]

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

◆ propfuncWithDefault() [6/7]

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

◆ propfuncWithDefault() [7/7]

e e e e s T T T T T rho v v T e p T SinglePhaseFluidProperties::propfuncWithDefault ( v  ,
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 438 of file SinglePhaseFluidProperties.C.

446{
447 rho_from_p_T(p, T, rho, drho_dp, drho_dT);
448 e_from_p_T(p, T, e, de_dp, de_dT);
449}

◆ rho_from_p_T() [1/2]

Real CO2FluidProperties::rho_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtual

Reimplemented from HelmholtzFluidProperties.

Definition at line 471 of file CO2FluidProperties.C.

472{
473 // Check that the input parameters are within the region of validity
474 if (temperature < 216.0 || temperature > 1100.0 || pressure <= 0.0)
475 throw MooseException("Parameters out of range in " + name() + ": rho_from_p_T()");
476
477 // Also check that the pressure and temperature are not in the solid phase region
478 if (((temperature > _triple_point_temperature) && (pressure > meltingPressure(temperature))) ||
479 ((temperature < _triple_point_temperature) && (pressure > sublimationPressure(temperature))))
480 throw MooseException("Input pressure and temperature in " + name() +
481 ": rho_from_p_T() correspond to solid CO2 phase");
482
483 Real density;
484 // Initial estimate of a bracketing interval for the density
485 Real lower_density = 100.0;
486 Real upper_density = 1000.0;
487
488 // The density is found by finding the zero of the pressure calculated using the
489 // Span and Wagner EOS minus the input pressure
490 auto pressure_diff = [&pressure, &temperature, this](Real x)
491 { return p_from_rho_T(x, temperature) - pressure; };
492
493 BrentsMethod::bracket(pressure_diff, lower_density, upper_density);
494 density = BrentsMethod::root(pressure_diff, lower_density, upper_density);
495
496 return density;
497}
const std::vector< double > x
virtual Real p_from_rho_T(Real density, Real temperature) const override
Pressure as a function of density and temperature.
Real meltingPressure(Real temperature) const
Melting pressure.
Real sublimationPressure(Real temperature) const
Sublimation pressure.
Real root(std::function< Real(Real)> const &f, Real x1, Real x2, Real tol=1.0e-12)
Finds the root of a function using Brent's method.
void bracket(std::function< Real(Real)> const &f, Real &x1, Real &x2)
Function to bracket a root of a given function.

Referenced by k_from_p_T(), mu_from_p_T(), rho_mu_from_p_T(), and rho_mu_from_p_T().

◆ rho_from_p_T() [2/2]

void CO2FluidProperties::rho_from_p_T ( Real  pressure,
Real  temperature,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT 
) const
overridevirtual

Reimplemented from HelmholtzFluidProperties.

Definition at line 500 of file CO2FluidProperties.C.

502{
503 HelmholtzFluidProperties::rho_from_p_T(pressure, temperature, rho, drho_dp, drho_dT);
504}

◆ rho_mu_from_p_T() [1/3]

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

Definition at line 473 of file SinglePhaseFluidProperties.C.

477{
478 rho = rho_from_p_T(p, T);
479 mu = mu_from_p_T(p, T);
480}

◆ rho_mu_from_p_T() [2/3]

void CO2FluidProperties::rho_mu_from_p_T ( Real  pressure,
Real  temperature,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT,
Real &  mu,
Real &  dmu_dp,
Real &  dmu_dT 
) const
overridevirtual

Reimplemented from SinglePhaseFluidProperties.

Definition at line 608 of file CO2FluidProperties.C.

616{
617 rho_from_p_T(pressure, temperature, rho, drho_dp, drho_dT);
618 Real dmu_drho;
619 mu_from_rho_T(rho, temperature, drho_dT, mu, dmu_drho, dmu_dT);
620 dmu_dp = dmu_drho * drho_dp;
621}

◆ rho_mu_from_p_T() [3/3]

void CO2FluidProperties::rho_mu_from_p_T ( Real  p,
Real  T,
Real &  rho,
Real &  mu 
) const
overridevirtual

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 from SinglePhaseFluidProperties.

Definition at line 601 of file CO2FluidProperties.C.

602{
603 rho = rho_from_p_T(pressure, temperature);
604 mu = mu_from_rho_T(rho, temperature);
605}

◆ s_from_p_T() [1/2]

void HelmholtzFluidProperties::s_from_p_T ( Real  p,
Real  T,
Real &  s,
Real &  ds_dp,
Real &  ds_dT 
) const
overridevirtualinherited

Definition at line 160 of file HelmholtzFluidProperties.C.

162{
163 s = this->s_from_p_T(pressure, temperature);
164
165 // Require density first
166 const Real density = rho_from_p_T(pressure, temperature);
167 // Scale the input density and temperature
168 const Real delta = density / criticalDensity();
169 const Real tau = criticalTemperature() / temperature;
170
171 const Real da_dd = dalpha_ddelta(delta, tau);
172 const Real da_dt = dalpha_dtau(delta, tau);
173 const Real d2a_dd2 = d2alpha_ddelta2(delta, tau);
174 const Real d2a_dt2 = d2alpha_dtau2(delta, tau);
175 const Real d2a_ddt = d2alpha_ddeltatau(delta, tau);
176
177 ds_dp = tau * (d2a_ddt - da_dd) / (density * temperature * (2.0 * da_dd + delta * d2a_dd2));
178 ds_dT = -_R * tau * (da_dt - alpha(delta, tau) + tau * (d2a_dt2 - da_dt)) /
179 (molarMass() * temperature);
180}
virtual Real s_from_p_T(Real pressure, Real temperature) const override
virtual Real alpha(Real delta, Real tau) const =0
Helmholtz free energy.

◆ s_from_p_T() [2/2]

Real HelmholtzFluidProperties::s_from_p_T ( Real  pressure,
Real  temperature 
) const
overridevirtualinherited

Definition at line 148 of file HelmholtzFluidProperties.C.

149{
150 // Require density first
151 const Real density = rho_from_p_T(pressure, temperature);
152 // Scale the input density and temperature
153 const Real delta = density / criticalDensity();
154 const Real tau = criticalTemperature() / temperature;
155
156 return _R * (tau * dalpha_dtau(delta, tau) - alpha(delta, tau)) / molarMass();
157}

Referenced by HelmholtzFluidProperties::s_from_p_T().

◆ saturatedLiquidDensity()

Real CO2FluidProperties::saturatedLiquidDensity ( Real  temperature) const

Saturated liquid density of CO2 Valid for temperatures between the triple point temperature and critical temperature.

Eq. 3.14, from Span and Wagner (reference above)

Parameters
temperatureCO2 temperature (K)
Returns
saturated liquid density (kg/m^3)

Definition at line 129 of file CO2FluidProperties.C.

130{
131 if (temperature < _triple_point_temperature || temperature > _critical_temperature)
132 throw MooseException("Temperature is out of range in " + name() + ": saturatedLiquiDensity()");
133
134 Real Tstar = temperature / _critical_temperature;
135
136 Real logdensity = 1.9245108 * std::pow(1.0 - Tstar, 0.34) -
137 0.62385555 * std::pow(1.0 - Tstar, 0.5) -
138 0.32731127 * std::pow(1.0 - Tstar, 10.0 / 6.0) +
139 0.39245142 * std::pow(1.0 - Tstar, 11.0 / 6.0);
140
141 return _critical_density * std::exp(logdensity);
142}

Referenced by p_from_rho_T().

◆ saturatedVaporDensity()

Real CO2FluidProperties::saturatedVaporDensity ( Real  temperature) const

Saturated vapor density of CO2 Valid for temperatures between the triple point temperature and critical temperature.

Eq. 3.15, from Span and Wagner (reference above)

Parameters
temperatureCO2 temperature (K)
Returns
saturated vapor density (kg/m^3)

Definition at line 145 of file CO2FluidProperties.C.

146{
147 if (temperature < _triple_point_temperature || temperature > _critical_temperature)
148 throw MooseException("Temperature is out of range in " + name() + ": saturatedVaporDensity()");
149
150 Real Tstar = temperature / _critical_temperature;
151
152 Real logdensity =
153 (-1.7074879 * std::pow(1.0 - Tstar, 0.34) - 0.82274670 * std::pow(1.0 - Tstar, 0.5) -
154 4.6008549 * (1.0 - Tstar) - 10.111178 * std::pow(1.0 - Tstar, 7.0 / 3.0) -
155 29.742252 * std::pow(1.0 - Tstar, 14.0 / 3.0));
156
157 return _critical_density * std::exp(logdensity);
158}

Referenced by p_from_rho_T().

◆ subdomainSetup()

virtual void FluidProperties::subdomainSetup ( )
inlinefinalvirtualinherited

Reimplemented from ThreadedGeneralUserObject.

Definition at line 38 of file FluidProperties.h.

38{}

◆ sublimationPressure()

Real CO2FluidProperties::sublimationPressure ( Real  temperature) const

Sublimation pressure.

Used to delineate solid and gas phases Valid for temperatures less than the triple point temperature

Eq. 3.12, from Span and Wagner (reference above)

Parameters
temperatureCO2 temperature (K)
Returns
sublimation pressure (Pa)

Definition at line 90 of file CO2FluidProperties.C.

91{
92 if (temperature > _triple_point_temperature)
93 throw MooseException("Temperature is above the triple point temperature in " + name() +
94 ": sublimationPressure()");
95
96 Real Tstar = temperature / _triple_point_temperature;
97
98 Real pressure = _triple_point_pressure *
99 std::exp((-14.740846 * (1.0 - Tstar) + 2.4327015 * std::pow(1.0 - Tstar, 1.9) -
100 5.3061778 * std::pow(1.0 - Tstar, 2.9)) /
101 Tstar);
102
103 return pressure;
104}

Referenced by rho_from_p_T().

◆ T_from_p_h()

Real HelmholtzFluidProperties::T_from_p_h ( Real  pressure,
Real  enthalpy 
) const
overridevirtualinherited

Definition at line 220 of file HelmholtzFluidProperties.C.

221{
222 auto lambda = [&](Real pressure, Real current_T, Real & new_h, Real & dh_dp, Real & dh_dT)
223 { h_from_p_T(pressure, current_T, new_h, dh_dp, dh_dT); };
225 pressure, enthalpy, _T_initial_guess, _tolerance, lambda, name() + "::T_from_p_h")
226 .first;
227 // check for nans
228 if (std::isnan(T))
229 mooseError("Conversion from enthalpy (h = ",
230 enthalpy,
231 ") and pressure (p = ",
232 pressure,
233 ") to temperature failed to converge.");
234 return T;
235}
const std::string & name() const
const Real _T_initial_guess
Initial guess for temperature (or temperature used to compute the initial guess)
std::pair< T, T > NewtonSolve(const T &x, const T &y, const Real z_initial_guess, const Real tolerance, const Functor &y_from_x_z, const std::string &caller_name, const unsigned int max_its=100, const bool verbose=false)
NewtonSolve does a 1D Newton Solve to solve the equation y = f(x, z) for variable z.

◆ threadJoin()

virtual void FluidProperties::threadJoin ( const UserObject )
inlinefinalvirtualinherited

Reimplemented from ThreadedGeneralUserObject.

Definition at line 37 of file FluidProperties.h.

37{}

◆ triplePointPressure()

Real CO2FluidProperties::triplePointPressure ( ) const
overridevirtual

Triple point pressure.

Returns
triple point pressure (Pa)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 65 of file CO2FluidProperties.C.

66{
68}

◆ triplePointTemperature()

Real CO2FluidProperties::triplePointTemperature ( ) const
overridevirtual

Triple point temperature.

Returns
triple point temperature (K)

Reimplemented from SinglePhaseFluidProperties.

Definition at line 71 of file CO2FluidProperties.C.

72{
74}

◆ unimplementedDerivativeMethod()

void SinglePhaseFluidProperties::unimplementedDerivativeMethod ( const std::string &  property_function_name) const
inlineprivateinherited

Definition at line 454 of file SinglePhaseFluidProperties.h.

455 {
456 const std::string message =
457 "The fluid properties class '" + type() +
458 "' has not implemented the method below, which computes derivatives of fluid properties "
459 "with regards to the flow variables. If your application requires this "
460 "method, you must either implement it or use a different fluid properties "
461 " class.\n\n" +
462 property_function_name;
463
465 mooseDoOnce(mooseWarning(message + "\nThe unimplemented derivatives for this fluid property "
466 "are currently neglected, set to 0."));
467 else
468 mooseError(message + "\n\nYou can avoid this error by neglecting the "
469 "unimplemented derivatives of fluid properties by setting the "
470 "'allow_imperfect_jacobians' parameter");
471 }
const bool _allow_imperfect_jacobians
Flag to set unimplemented Jacobian entries to zero.
const std::string & type() const

Referenced by SinglePhaseFluidProperties::vaporPressure(), and SinglePhaseFluidProperties::vaporTemperature().

◆ 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 &  dv_dp,
CppType &  dv_dT,
CppType &  e,
CppType &  de_dp,
CppType &  de_dT 
) const
inherited

Definition at line 659 of file SinglePhaseFluidProperties.h.

667{
668 CppType rho, drho_dp, drho_dT;
669 rho_from_p_T(p, T, rho, drho_dp, drho_dT);
670
671 v = 1.0 / rho;
672 const CppType dv_drho = -1.0 / (rho * rho);
673 dv_dp = dv_drho * drho_dp;
674 dv_dT = dv_drho * drho_dT;
675
676 CppType de_dp_partial, de_drho;
677 e_from_p_rho(p, rho, e, de_dp_partial, de_drho);
678 de_dp = de_dp_partial + de_drho * drho_dp;
679 de_dT = de_drho * drho_dT;
680}

◆ 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 &  e 
) const
inherited

Definition at line 639 of file SinglePhaseFluidProperties.h.

643{
644 const CppType rho = rho_from_p_T(p, T);
645 v = 1.0 / rho;
646 try
647 {
648 // more likely to not involve a Newton search
649 e = e_from_p_T(p, T);
650 }
651 catch (...)
652 {
653 e = e_from_p_rho(p, rho);
654 }
655}

Referenced by TabulatedFluidProperties::h_from_p_T(), TabulatedFluidProperties::h_from_p_T(), TabulatedFluidProperties::h_from_p_T(), and TabulatedFluidProperties::s_from_p_T().

◆ v_e_spndl_from_T()

void SinglePhaseFluidProperties::v_e_spndl_from_T ( Real  T,
Real &  v,
Real &  e 
) const
virtualinherited

Specific internal energy from temperature and specific volume.

Parameters
[in]Ttemperature
[in]vspecific volume

Reimplemented in CaloricallyImperfectGas, IdealGasFluidProperties, and StiffenedGasFluidProperties.

Definition at line 489 of file SinglePhaseFluidProperties.C.

490{
491 mooseError(__PRETTY_FUNCTION__, " not implemented.");
492}

◆ validParams()

InputParameters CO2FluidProperties::validParams ( )
static

Definition at line 19 of file CO2FluidProperties.C.

20{
23 "Fluid properties for carbon dioxide (CO2) using the Span & Wagner EOS");
24 return params;
25}
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)

◆ vaporPressure() [1/3]

ADReal SinglePhaseFluidProperties::vaporPressure ( const ADReal T) const
virtualinherited

Definition at line 393 of file SinglePhaseFluidProperties.C.

394{
395 Real p = 0.0;
396 Real temperature = T.value();
397 Real dpdT = 0.0;
398
399 vaporPressure(temperature, p, dpdT);
400
401 ADReal result = p;
402 result.derivatives() = T.derivatives() * dpdT;
403
404 return result;
405}
DualNumber< Real, DNDerivativeType, true > ADReal
virtual Real vaporPressure(Real T) const
Vapor pressure.

◆ vaporPressure() [2/3]

Real CO2FluidProperties::vaporPressure ( Real  T) const
overridevirtual

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 from SinglePhaseFluidProperties.

Definition at line 107 of file CO2FluidProperties.C.

108{
109 if (temperature < _triple_point_temperature || temperature > _critical_temperature)
110 throw MooseException("Temperature is out of range in " + name() + ": vaporPressure()");
111
112 Real Tstar = temperature / _critical_temperature;
113
114 Real logpressure =
115 (-7.0602087 * (1.0 - Tstar) + 1.9391218 * std::pow(1.0 - Tstar, 1.5) -
116 1.6463597 * Utility::pow<2>(1.0 - Tstar) - 3.2995634 * Utility::pow<4>(1.0 - Tstar)) /
117 Tstar;
118
119 return _critical_pressure * std::exp(logpressure);
120}

Referenced by p_from_rho_T().

◆ vaporPressure() [3/3]

void CO2FluidProperties::vaporPressure ( Real  temperature,
Real &  psat,
Real &  dpsat_dT 
) const
overridevirtual

Reimplemented from SinglePhaseFluidProperties.

Definition at line 123 of file CO2FluidProperties.C.

124{
125 mooseError("vaporPressure() is not implemented");
126}

◆ vaporTemperature() [1/3]

ADReal SinglePhaseFluidProperties::vaporTemperature ( const ADReal p) const
virtualinherited

Definition at line 423 of file SinglePhaseFluidProperties.C.

424{
425 Real T = 0.0;
426 Real pressure = p.value();
427 Real dTdp = 0.0;
428
429 vaporTemperature(pressure, T, dTdp);
430
431 ADReal result = T;
432 result.derivatives() = p.derivatives() * dTdp;
433
434 return result;
435}
virtual Real vaporTemperature(Real p) const
Vapor temperature.

◆ vaporTemperature() [2/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 TabulatedFluidProperties, and Water97FluidProperties.

Definition at line 408 of file SinglePhaseFluidProperties.C.

409{
410 mooseError(__PRETTY_FUNCTION__, " not implemented.");
411}

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

◆ vaporTemperature() [3/3]

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

Reimplemented in TabulatedFluidProperties, and Water97FluidProperties.

Definition at line 414 of file SinglePhaseFluidProperties.C.

415{
416 unimplementedDerivativeMethod(__PRETTY_FUNCTION__);
417
418 dT_dp = 0.0;
420}
void unimplementedDerivativeMethod(const std::string &property_function_name) const

◆ 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 492 of file SinglePhaseFluidProperties.h.

494{
496 const auto [zero, one] = makeZeroAndOne(x);
497
498 CompoundType x_c(x, zero);
499 auto & x_cd = x_c.derivatives();
500 x_cd[0] = one;
501 CompoundType y_c(y, zero);
502 auto & y_cd = y_c.derivatives();
503 y_cd[1] = one;
504
505 const auto z_c = z_from_x_y(x_c, y_c);
506 z = z_c.value();
507 dz_dx = z_c.derivatives()[0];
508 dz_dy = z_c.derivatives()[1];
509}
const std::vector< double > y
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 Number zero

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().

Member Data Documentation

◆ _a0

const std::array<Real, 5> CO2FluidProperties::_a0 {{1.99427042, 0.62105248, 0.41195293, 1.04028922, 0.08327678}}
protected

Coefficients for the ideal gas component of the Helmholtz free energy.

Definition at line 192 of file CO2FluidProperties.h.

192{{1.99427042, 0.62105248, 0.41195293, 1.04028922, 0.08327678}};

Referenced by alpha(), d2alpha_dtau2(), and dalpha_dtau().

◆ _a4

const std::array<Real, 3> CO2FluidProperties::_a4 {{3.5, 3.5, 3.0}}
protected

Definition at line 229 of file CO2FluidProperties.h.

229{{3.5, 3.5, 3.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _A4

const std::array<Real, 3> CO2FluidProperties::_A4 {{0.7, 0.7, 0.7}}
protected

Definition at line 232 of file CO2FluidProperties.h.

232{{0.7, 0.7, 0.7}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _allow_imperfect_jacobians

const bool FluidProperties::_allow_imperfect_jacobians
protectedinherited

◆ _alpha3

const std::array<Real, 5> CO2FluidProperties::_alpha3 {{25.0, 25.0, 25.0, 15.0, 20.0}}
protected

Definition at line 224 of file CO2FluidProperties.h.

224{{25.0, 25.0, 25.0, 15.0, 20.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _b4

const std::array<Real, 3> CO2FluidProperties::_b4 {{0.875, 0.925, 0.875}}
protected

Definition at line 230 of file CO2FluidProperties.h.

230{{0.875, 0.925, 0.875}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _B4

const std::array<Real, 3> CO2FluidProperties::_B4 {{0.3, 0.3, 1.0}}
protected

Definition at line 233 of file CO2FluidProperties.h.

233{{0.3, 0.3, 1.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _beta3

const std::array<Real, 5> CO2FluidProperties::_beta3 {{325.0, 300.0, 300.0, 275.0, 275.0}}
protected

Definition at line 225 of file CO2FluidProperties.h.

225{{325.0, 300.0, 300.0, 275.0, 275.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _beta4

const std::array<Real, 3> CO2FluidProperties::_beta4 {{0.3, 0.3, 0.3}}
protected

Definition at line 231 of file CO2FluidProperties.h.

231{{0.3, 0.3, 0.3}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _c2

const std::array<unsigned int, 27> CO2FluidProperties::_c2
protected
Initial value:
{
{1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 6}}

Definition at line 218 of file CO2FluidProperties.h.

218 {
219 {1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 6}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _C4

const std::array<Real, 3> CO2FluidProperties::_C4 {{10.0, 10.0, 12.5}}
protected

Definition at line 234 of file CO2FluidProperties.h.

234{{10.0, 10.0, 12.5}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _critical_density

const Real CO2FluidProperties::_critical_density = 467.6
protected

Critical density (kg/m^3)

Definition at line 183 of file CO2FluidProperties.h.

Referenced by criticalDensity(), k_from_rho_T(), saturatedLiquidDensity(), and saturatedVaporDensity().

◆ _critical_pressure

const Real CO2FluidProperties::_critical_pressure = 7.3773e6
protected

Critical pressure (Pa)

Definition at line 179 of file CO2FluidProperties.h.

Referenced by criticalPressure(), and vaporPressure().

◆ _critical_temperature

const Real CO2FluidProperties::_critical_temperature = 304.1282
protected

◆ _d1

const std::array<unsigned int, 7> CO2FluidProperties::_d1 {{1, 1, 1, 1, 2, 2, 3}}
protected

Definition at line 203 of file CO2FluidProperties.h.

203{{1, 1, 1, 1, 2, 2, 3}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _d2

const std::array<unsigned int, 27> CO2FluidProperties::_d2
protected
Initial value:
{
{1, 2, 4, 5, 5, 5, 6, 6, 6, 1, 1, 4, 4, 4, 7, 8, 2, 3, 3, 5, 5, 6, 7, 8, 10, 4, 8}}

Definition at line 213 of file CO2FluidProperties.h.

213 {
214 {1, 2, 4, 5, 5, 5, 6, 6, 6, 1, 1, 4, 4, 4, 7, 8, 2, 3, 3, 5, 5, 6, 7, 8, 10, 4, 8}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _d3

const std::array<unsigned int, 5> CO2FluidProperties::_d3 {{2, 2, 2, 3, 3}}
protected

Definition at line 222 of file CO2FluidProperties.h.

222{{2, 2, 2, 3, 3}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _D4

const std::array<Real, 3> CO2FluidProperties::_D4 {{275.0, 275.0, 275.0}}
protected

Definition at line 235 of file CO2FluidProperties.h.

235{{275.0, 275.0, 275.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _eps3

const std::array<Real, 5> CO2FluidProperties::_eps3 {{1.0, 1.0, 1.0, 1.0, 1.0}}
protected

Definition at line 227 of file CO2FluidProperties.h.

227{{1.0, 1.0, 1.0, 1.0, 1.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _gamma3

const std::array<Real, 5> CO2FluidProperties::_gamma3 {{1.16, 1.19, 1.19, 1.25, 1.22}}
protected

Definition at line 226 of file CO2FluidProperties.h.

226{{1.16, 1.19, 1.19, 1.25, 1.22}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _k_a

const std::array<Real, 12> CO2FluidProperties::_k_a
protected
Initial value:
{
{3.0, 6.70697, 0.94604, 0.3, 0.3, 0.39751, 0.33791, 0.77963, 0.79857, 0.9, 0.02, 0.2}}

Definition at line 250 of file CO2FluidProperties.h.

250 {
251 {3.0, 6.70697, 0.94604, 0.3, 0.3, 0.39751, 0.33791, 0.77963, 0.79857, 0.9, 0.02, 0.2}};

Referenced by k_from_rho_T().

◆ _k_g1

const std::array<Real, 3> CO2FluidProperties::_k_g1 {{0.0, 0.0, 1.5}}
protected

Coefficients for the thermal conductivity.

Definition at line 243 of file CO2FluidProperties.h.

243{{0.0, 0.0, 1.5}};

Referenced by k_from_rho_T().

◆ _k_g2

const std::array<Real, 7> CO2FluidProperties::_k_g2 {{0.0, 1.0, 1.5, 1.5, 1.5, 3.5, 5.5}}
protected

Definition at line 244 of file CO2FluidProperties.h.

244{{0.0, 1.0, 1.5, 1.5, 1.5, 3.5, 5.5}};

Referenced by k_from_rho_T().

◆ _k_h1

const std::array<unsigned int, 3> CO2FluidProperties::_k_h1 {{1, 5, 1}}
protected

Definition at line 245 of file CO2FluidProperties.h.

245{{1, 5, 1}};

Referenced by k_from_rho_T().

◆ _k_h2

const std::array<unsigned int, 7> CO2FluidProperties::_k_h2 {{1, 2, 0, 5, 9, 0, 0}}
protected

Definition at line 246 of file CO2FluidProperties.h.

246{{1, 2, 0, 5, 9, 0, 0}};

Referenced by k_from_rho_T().

◆ _k_n1

const std::array<Real, 3> CO2FluidProperties::_k_n1 {{7.69857587, 0.159885811, 1.56918621}}
protected

Definition at line 247 of file CO2FluidProperties.h.

247{{7.69857587, 0.159885811, 1.56918621}};

Referenced by k_from_rho_T().

◆ _k_n2

const std::array<Real, 7> CO2FluidProperties::_k_n2
protected
Initial value:
{
{-6.73400790, 16.3890156, 3.69415242, 22.3205514, 66.1420950, -0.171779133, 0.00433043347}}

Definition at line 248 of file CO2FluidProperties.h.

248 {
249 {-6.73400790, 16.3890156, 3.69415242, 22.3205514, 66.1420950, -0.171779133, 0.00433043347}};

Referenced by k_from_rho_T().

◆ _max_newton_its

const unsigned int SinglePhaseFluidProperties::_max_newton_its
protectedinherited

◆ _Mco2

const Real CO2FluidProperties::_Mco2 = 44.0098e-3
protected

Molar mass of CO2 (kg/mol)

Definition at line 177 of file CO2FluidProperties.h.

Referenced by molarMass(), and partialDensity().

◆ _mu_a

const std::array<Real, 5> CO2FluidProperties::_mu_a {{0.235156, -0.491266, 5.211155e-2, 5.347906e-2, -1.537102e-2}}
protected

Coefficients for viscosity.

Definition at line 238 of file CO2FluidProperties.h.

238{{0.235156, -0.491266, 5.211155e-2, 5.347906e-2, -1.537102e-2}};

Referenced by mu_from_rho_T(), and mu_from_rho_T().

◆ _mu_d

const std::array<Real, 5> CO2FluidProperties::_mu_d
protected
Initial value:
{
{0.4071119e-2, 0.7198037e-4, 0.2411697e-16, 0.2971072e-22, -0.1627888e-22}}

Definition at line 239 of file CO2FluidProperties.h.

239 {
240 {0.4071119e-2, 0.7198037e-4, 0.2411697e-16, 0.2971072e-22, -0.1627888e-22}};

Referenced by mu_from_rho_T(), and mu_from_rho_T().

◆ _n1

const std::array<Real, 7> CO2FluidProperties::_n1
protected
Initial value:
{{0.38856823203161,
2.9385475942740,
-5.5867188534934,
-0.76753199592477,
0.31729005580416,
0.54803315897767,
0.12279411220335}}

Coefficients for the residual component of the Helmholtz free energy.

Definition at line 196 of file CO2FluidProperties.h.

196 {{0.38856823203161,
197 2.9385475942740,
198 -5.5867188534934,
199 -0.76753199592477,
200 0.31729005580416,
201 0.54803315897767,
202 0.12279411220335}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _n2

const std::array<Real, 27> CO2FluidProperties::_n2
protected
Initial value:
{
{2.1658961543220, 1.5841735109724, -0.23132705405503, 0.058116916431436,
-0.55369137205382, 0.48946615909422, -0.024275739843501, 0.062494790501678,
-0.12175860225246, -0.37055685270086, -0.016775879700426, -0.11960736637987,
-0.045619362508778, 0.035612789270346, -0.0074427727132052, -0.0017395704902432,
-0.021810121289527, 0.024332166559236, -0.037440133423463, 0.14338715756878,
-0.13491969083286, -0.023151225053480, 0.012363125492901, 0.0021058321972940,
-0.00033958519026368, 0.0055993651771592, -0.00030335118055646}}

Definition at line 205 of file CO2FluidProperties.h.

205 {
206 {2.1658961543220, 1.5841735109724, -0.23132705405503, 0.058116916431436,
207 -0.55369137205382, 0.48946615909422, -0.024275739843501, 0.062494790501678,
208 -0.12175860225246, -0.37055685270086, -0.016775879700426, -0.11960736637987,
209 -0.045619362508778, 0.035612789270346, -0.0074427727132052, -0.0017395704902432,
210 -0.021810121289527, 0.024332166559236, -0.037440133423463, 0.14338715756878,
211 -0.13491969083286, -0.023151225053480, 0.012363125492901, 0.0021058321972940,
212 -0.00033958519026368, 0.0055993651771592, -0.00030335118055646}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _n3

const std::array<Real, 5> CO2FluidProperties::_n3
protected
Initial value:
{
{-213.65488688320, 26641.569149272, -24027.212204557, -283.41603423999, 212.47284400179}}

Definition at line 220 of file CO2FluidProperties.h.

220 {
221 {-213.65488688320, 26641.569149272, -24027.212204557, -283.41603423999, 212.47284400179}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _n4

const std::array<Real, 3> CO2FluidProperties::_n4 {{-0.66642276540751, 0.72608632349897, 0.055068668612842}}
protected

Definition at line 228 of file CO2FluidProperties.h.

228{{-0.66642276540751, 0.72608632349897, 0.055068668612842}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _p_initial_guess

const Real SinglePhaseFluidProperties::_p_initial_guess
protectedinherited

◆ _R

const Real FluidProperties::_R = 8.3144598
staticinherited

◆ _Rco2

const Real CO2FluidProperties::_Rco2 = 188.9241
protected

Specific gas constant (J/mol/K)

Definition at line 189 of file CO2FluidProperties.h.

◆ _t1

const std::array<Real, 7> CO2FluidProperties::_t1 {{0.0, 0.75, 1.0, 2.0, 0.75, 2.0, 0.75}}
protected

Definition at line 204 of file CO2FluidProperties.h.

204{{0.0, 0.75, 1.0, 2.0, 0.75, 2.0, 0.75}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _t2

const std::array<Real, 27> CO2FluidProperties::_t2
protected
Initial value:
{{1.5, 1.5, 2.5, 0.0, 1.5, 2.0, 0.0, 1.0, 2.0,
3.0, 6.0, 3.0, 6.0, 8.0, 6.0, 0.0, 7.0, 12.0,
16.0, 22.0, 24.0, 16.0, 24.0, 8.0, 2.0, 28.0, 14.0}}

Definition at line 215 of file CO2FluidProperties.h.

215 {{1.5, 1.5, 2.5, 0.0, 1.5, 2.0, 0.0, 1.0, 2.0,
216 3.0, 6.0, 3.0, 6.0, 8.0, 6.0, 0.0, 7.0, 12.0,
217 16.0, 22.0, 24.0, 16.0, 24.0, 8.0, 2.0, 28.0, 14.0}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _t3

const std::array<unsigned int, 5> CO2FluidProperties::_t3 {{1, 0, 1, 3, 3}}
protected

Definition at line 223 of file CO2FluidProperties.h.

223{{1, 0, 1, 3, 3}};

Referenced by alpha(), d2alpha_ddelta2(), d2alpha_ddeltatau(), d2alpha_dtau2(), dalpha_ddelta(), and dalpha_dtau().

◆ _T_c2k

const Real FluidProperties::_T_c2k
protectedinherited

◆ _T_initial_guess

const Real SinglePhaseFluidProperties::_T_initial_guess
protectedinherited

◆ _theta0

const std::array<Real, 5> CO2FluidProperties::_theta0 {{3.15163, 6.11190, 6.77708, 11.32384, 27.08792}}
protected

Definition at line 193 of file CO2FluidProperties.h.

193{{3.15163, 6.11190, 6.77708, 11.32384, 27.08792}};

Referenced by alpha(), d2alpha_dtau2(), and dalpha_dtau().

◆ _tolerance

const Real SinglePhaseFluidProperties::_tolerance
protectedinherited

◆ _triple_point_pressure

const Real CO2FluidProperties::_triple_point_pressure = 0.51795e6
protected

Triple point pressure (Pa)

Definition at line 185 of file CO2FluidProperties.h.

Referenced by meltingPressure(), sublimationPressure(), and triplePointPressure().

◆ _triple_point_temperature

const Real CO2FluidProperties::_triple_point_temperature = 216.592
protected

Triple point temperature (K)

Definition at line 187 of file CO2FluidProperties.h.

Referenced by meltingPressure(), p_from_rho_T(), rho_from_p_T(), sublimationPressure(), and triplePointTemperature().

◆ _verbose_newton

const bool SinglePhaseFluidProperties::_verbose_newton
protectedinherited

◆ h

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

Definition at line 212 of file SinglePhaseFluidProperties.h.

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

◆ p [1/10]

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(), CaloricallyImperfectGas::c_from_p_T(), Water97FluidProperties::c_from_p_T(), CaloricallyImperfectGas::c_from_p_T(), Water97FluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), StiffenedGasFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_p_T(), IdealGasFluidProperties::cp_from_p_T(), LeadBismuthFluidProperties::cp_from_p_T(), LeadFluidProperties::cp_from_p_T(), LeadLithiumFluidProperties::cp_from_p_T(), Water97FluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), LeadBismuthFluidProperties::cv_from_p_T(), LeadFluidProperties::cv_from_p_T(), LeadLithiumFluidProperties::cv_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), LeadFluidProperties::cv_from_p_T(), LeadLithiumFluidProperties::cv_from_p_T(), IdealGasFluidProperties::cv_from_p_T(), Water97FluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), LeadLithiumFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), LeadLithiumFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), HeliumFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), FlibeFluidProperties::e_from_p_rho(), FlinakFluidProperties::e_from_p_rho(), HeliumFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), LeadLithiumFluidProperties::e_from_p_rho(), TemperaturePressureFunctionFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), TestSinglePhaseFluidProperties::e_from_p_rho(), LinearFluidProperties::e_from_p_rho(), LinearTestFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), LeadLithiumFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), TestSinglePhaseFluidProperties::e_from_p_rho(), LinearFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho_template(), Water97FluidProperties::e_from_p_rho_template(), CaloricallyImperfectGas::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), LeadLithiumFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_p_T(), LinearFluidProperties::e_from_p_T(), CaloricallyImperfectGas::e_from_p_T(), IdealGasFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), LeadLithiumFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_p_T(), LinearFluidProperties::e_from_p_T(), Water97FluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), CaloricallyImperfectGas::g_from_v_e(), IdealGasFluidProperties::g_from_v_e(), StiffenedGasFluidProperties::g_from_v_e(), TabulatedFluidProperties::g_from_v_e(), CaloricallyImperfectGas::gamma_from_p_T(), CaloricallyImperfectGas::gamma_from_p_T(), CaloricallyImperfectGas::gamma_from_p_T(), TabulatedFluidProperties::generateTabulatedData(), LinearFluidProperties::h_from_p_T(), CaloricallyImperfectGas::h_from_p_T(), IdealGasFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_p_T(), LeadFluidProperties::h_from_p_T(), LeadLithiumFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), LinearFluidProperties::h_from_p_T(), Water97FluidProperties::henryConstant(), LeadBismuthFluidProperties::k_from_p_T(), LeadFluidProperties::k_from_p_T(), LeadLithiumFluidProperties::k_from_p_T(), CaloricallyImperfectGas::k_from_p_T(), IdealGasFluidProperties::k_from_p_T(), CaloricallyImperfectGas::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), TemperaturePressureFunctionFluidProperties::k_from_v_e(), CaloricallyImperfectGas::k_from_v_e(), HeliumFluidProperties::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(), LeadLithiumFluidProperties::mu_from_p_T(), CaloricallyImperfectGas::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), TemperaturePressureFunctionFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::p_from_h_s(), IdealGasFluidProperties::p_from_h_s(), StiffenedGasFluidProperties::p_from_h_s(), CaloricallyImperfectGas::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), StiffenedGasFluidProperties::p_from_T_v(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), IdealGasFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), TemperaturePressureFunctionFluidProperties::p_from_v_e(), CaloricallyImperfectGas::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), IdealGasFluidProperties::p_from_v_e(), LeadBismuthFluidProperties::p_from_v_e(), LeadFluidProperties::p_from_v_e(), LeadLithiumFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), LinearFluidProperties::p_from_v_e(), LinearTestFluidProperties::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(), CaloricallyImperfectGas::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), SodiumSaturationFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), SodiumSaturationFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_T_from_v_e(), Water97FluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_h_p(), IdealGasFluidProperties::s_from_h_p(), StiffenedGasFluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_h_p(), IdealGasFluidProperties::s_from_h_p(), StiffenedGasFluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_p_T(), IdealGasFluidProperties::s_from_p_T(), CaloricallyImperfectGas::s_from_p_T(), IdealGasFluidProperties::s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), CaloricallyImperfectGas::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), IdealGasFluidProperties::s_from_v_e(), TabulatedFluidProperties::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), TabulatedFluidProperties::s_from_v_e(), Water97FluidProperties::T_drhodT_from_p_rho(), TabulatedFluidProperties::T_from_h_s(), SimpleFluidProperties::T_from_p_h(), SodiumSaturationFluidProperties::T_from_p_h(), TemperaturePressureFunctionFluidProperties::T_from_p_h(), CaloricallyImperfectGas::T_from_p_h(), LeadBismuthFluidProperties::T_from_p_h(), LeadFluidProperties::T_from_p_h(), LeadLithiumFluidProperties::T_from_p_h(), Water97FluidProperties::T_from_p_h(), Water97FluidProperties::T_from_p_h(), TabulatedFluidProperties::T_from_p_rho(), FlibeFluidProperties::T_from_p_rho(), FlinakFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), TemperaturePressureFunctionFluidProperties::T_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), LeadLithiumFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), NaKFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_s(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), TemperaturePressureFunctionFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), SinglePhaseFluidProperties::v_e_from_p_T(), SinglePhaseFluidProperties::v_e_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), LeadLithiumFluidProperties::v_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), LeadLithiumFluidProperties::v_from_p_T(), SinglePhaseFluidProperties::vaporPressure(), SinglePhaseFluidProperties::vaporPressure(), Water97FluidProperties::vaporPressure(), SinglePhaseFluidProperties::vaporTemperature(), SinglePhaseFluidProperties::vaporTemperature(), Water97FluidProperties::vaporTemperature(), Water97FluidProperties::vaporTemperature(), and TabulatedFluidProperties::writeTabulatedData().

◆ p [2/10]

e e e e s SinglePhaseFluidProperties::p
inherited

Definition at line 192 of file SinglePhaseFluidProperties.h.

◆ p [3/10]

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

Definition at line 196 of file SinglePhaseFluidProperties.h.

◆ p [4/10]

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

Definition at line 198 of file SinglePhaseFluidProperties.h.

◆ p [5/10]

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

Definition at line 200 of file SinglePhaseFluidProperties.h.

◆ p [6/10]

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

Definition at line 202 of file SinglePhaseFluidProperties.h.

◆ p [7/10]

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/10]

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

Definition at line 214 of file SinglePhaseFluidProperties.h.

◆ p [9/10]

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

Definition at line 216 of file SinglePhaseFluidProperties.h.

◆ p [10/10]

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

Definition at line 218 of file SinglePhaseFluidProperties.h.

◆ rho

e e e e s T SinglePhaseFluidProperties::rho
inherited

Definition at line 194 of file SinglePhaseFluidProperties.h.

Referenced by FlinakFluidProperties::beta_from_p_T(), HeliumFluidProperties::beta_from_p_T(), TemperaturePressureFunctionFluidProperties::beta_from_p_T(), StiffenedGasFluidProperties::c2_from_p_rho(), HeliumFluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), LeadFluidProperties::cv_from_p_T(), LeadLithiumFluidProperties::cv_from_p_T(), TemperaturePressureFunctionFluidProperties::cv_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), LeadFluidProperties::cv_from_p_T(), HeliumFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), FlibeFluidProperties::e_from_p_rho(), FlinakFluidProperties::e_from_p_rho(), HeliumFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), LeadLithiumFluidProperties::e_from_p_rho(), SodiumSaturationFluidProperties::e_from_p_rho(), TemperaturePressureFunctionFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), TestSinglePhaseFluidProperties::e_from_p_rho(), LinearFluidProperties::e_from_p_rho(), LinearTestFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), LeadBismuthFluidProperties::e_from_p_rho(), LeadFluidProperties::e_from_p_rho(), LeadLithiumFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), SodiumSaturationFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho(), TestSinglePhaseFluidProperties::e_from_p_rho(), LinearFluidProperties::e_from_p_rho(), LinearTestFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), Water97FluidProperties::e_from_p_rho_template(), Water97FluidProperties::e_from_p_rho_template(), TabulatedFluidProperties::e_from_p_T(), LinearFluidProperties::e_from_p_T(), LinearFluidProperties::e_from_p_T(), SalineMoltenSaltFluidProperties::e_from_p_T(), TabulatedFluidProperties::e_from_p_T(), NaClFluidProperties::e_from_p_T(), NaKFluidProperties::e_from_p_T(), TemperaturePressureFunctionFluidProperties::h_from_p_T(), LinearFluidProperties::h_from_p_T(), TemperaturePressureFunctionFluidProperties::h_from_p_T(), LinearFluidProperties::h_from_p_T(), Water97FluidProperties::k_from_p_T_template(), NaKFluidProperties::mu_from_p_T(), mu_from_p_T(), mu_from_p_T(), HydrogenFluidProperties::mu_from_p_T(), NaKFluidProperties::mu_from_p_T(), NitrogenFluidProperties::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(), IdealGasFluidProperties::rho_from_p_s(), SodiumSaturationFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), CaloricallyImperfectGas::rho_from_p_T(), FlibeFluidProperties::rho_from_p_T(), HeliumFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), SodiumSaturationFluidProperties::rho_from_p_T(), FlinakFluidProperties::rho_from_p_T(), SimpleFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), TemperaturePressureFunctionFluidProperties::rho_from_p_T(), Water97FluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), FlibeFluidProperties::rho_from_p_T(), FlinakFluidProperties::rho_from_p_T(), HeliumFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), SodiumSaturationFluidProperties::rho_from_p_T(), TemperaturePressureFunctionFluidProperties::rho_from_p_T(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), rho_from_p_T(), HelmholtzFluidProperties::rho_from_p_T(), NaClFluidProperties::rho_from_p_T(), NaKFluidProperties::rho_from_p_T(), SalineMoltenSaltFluidProperties::rho_from_p_T(), SimpleFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), Water97FluidProperties::rho_from_p_T(), PBSodiumFluidProperties::rho_from_p_T(), Water97FluidProperties::rho_from_p_T_template(), SinglePhaseFluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), rho_mu_from_p_T(), HydrogenFluidProperties::rho_mu_from_p_T(), NitrogenFluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_mu_from_p_T(), rho_mu_from_p_T(), HydrogenFluidProperties::rho_mu_from_p_T(), NitrogenFluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_mu_from_p_T(), Water97FluidProperties::rho_T_from_v_e(), SodiumSaturationFluidProperties::specific_volume_derivatives(), Water97FluidProperties::T_drhodT_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), FlibeFluidProperties::T_from_p_rho(), FlinakFluidProperties::T_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), LeadLithiumFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), TemperaturePressureFunctionFluidProperties::T_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), LeadLithiumFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), SinglePhaseFluidProperties::v_e_from_p_T(), SinglePhaseFluidProperties::v_e_from_p_T(), TemperaturePressureFunctionFluidProperties::v_from_p_T(), and TabulatedFluidProperties::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 IdealGasFluidProperties::beta_from_p_T(), IdealGasFluidProperties::beta_from_p_T(), IdealGasFluidProperties::beta_from_p_T(), LinearFluidProperties::beta_from_p_T(), LeadBismuthFluidProperties::bulk_modulus_from_p_T(), LeadFluidProperties::bulk_modulus_from_p_T(), LeadLithiumFluidProperties::bulk_modulus_from_p_T(), CaloricallyImperfectGas::c_from_p_T(), IdealGasFluidProperties::c_from_p_T(), Water97FluidProperties::c_from_p_T(), CaloricallyImperfectGas::c_from_p_T(), IdealGasFluidProperties::c_from_p_T(), LeadLithiumFluidProperties::c_from_p_T(), Water97FluidProperties::c_from_p_T(), CaloricallyImperfectGas::c_from_p_T(), IdealGasFluidProperties::c_from_p_T(), Water97FluidProperties::c_from_p_T_template(), CaloricallyImperfectGas::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), LeadBismuthFluidProperties::c_from_v_e(), LeadFluidProperties::c_from_v_e(), LeadLithiumFluidProperties::c_from_v_e(), Water97FluidProperties::c_from_v_e(), CaloricallyImperfectGas::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), LeadBismuthFluidProperties::c_from_v_e(), LeadFluidProperties::c_from_v_e(), LeadLithiumFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), CaloricallyImperfectGas::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), TabulatedFluidProperties::checkInputVariables(), TabulatedFluidProperties::checkInputVariablesVE(), LeadBismuthFluidProperties::cp_from_p_T(), LeadFluidProperties::cp_from_p_T(), LeadLithiumFluidProperties::cp_from_p_T(), TemperaturePressureFunctionFluidProperties::cp_from_p_T(), CaloricallyImperfectGas::cp_from_p_T(), IdealGasFluidProperties::cp_from_p_T(), LeadBismuthFluidProperties::cp_from_p_T(), LeadFluidProperties::cp_from_p_T(), LeadLithiumFluidProperties::cp_from_p_T(), Water97FluidProperties::cp_from_p_T_template(), CaloricallyImperfectGas::cp_from_T(), CaloricallyImperfectGas::cp_from_T(), Water97FluidProperties::cp_from_v_e(), CaloricallyImperfectGas::cp_from_v_e(), LeadBismuthFluidProperties::cp_from_v_e(), LeadFluidProperties::cp_from_v_e(), LeadLithiumFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), CaloricallyImperfectGas::cp_from_v_e(), LeadBismuthFluidProperties::cp_from_v_e(), LeadFluidProperties::cp_from_v_e(), LeadLithiumFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), LeadBismuthFluidProperties::cv_from_p_T(), LeadFluidProperties::cv_from_p_T(), LeadLithiumFluidProperties::cv_from_p_T(), LeadBismuthFluidProperties::cv_from_p_T(), LeadFluidProperties::cv_from_p_T(), LeadLithiumFluidProperties::cv_from_p_T(), CaloricallyImperfectGas::cv_from_p_T(), IdealGasFluidProperties::cv_from_p_T(), Water97FluidProperties::cv_from_p_T_template(), CaloricallyImperfectGas::cv_from_T(), CaloricallyImperfectGas::cv_from_T(), CaloricallyImperfectGas::cv_from_T_v(), Water97FluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), CaloricallyImperfectGas::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), LeadLithiumFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), CaloricallyImperfectGas::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), LeadLithiumFluidProperties::cv_from_v_e(), TabulatedFluidProperties::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(), LeadLithiumFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), SimpleFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), CaloricallyImperfectGas::e_from_p_T(), CaloricallyImperfectGas::e_from_p_T(), IdealGasFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), LeadLithiumFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_p_T(), LinearFluidProperties::e_from_p_T(), CaloricallyImperfectGas::e_from_p_T(), IdealGasFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), LeadLithiumFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_p_T(), LinearFluidProperties::e_from_p_T(), Water97FluidProperties::e_from_p_T_template(), Water97FluidProperties::e_from_p_T_template(), CaloricallyImperfectGas::e_from_T(), CaloricallyImperfectGas::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), IdealGasFluidProperties::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), IdealGasFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_T_v(), IdealGasFluidProperties::e_from_T_v(), StiffenedGasFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), IdealGasFluidProperties::e_from_T_v(), StiffenedGasFluidProperties::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), Water97FluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), CaloricallyImperfectGas::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), CaloricallyImperfectGas::g_from_v_e(), IdealGasFluidProperties::g_from_v_e(), StiffenedGasFluidProperties::g_from_v_e(), TabulatedFluidProperties::g_from_v_e(), Water97FluidProperties::gamma1(), Water97FluidProperties::gamma2(), Water97FluidProperties::gamma5(), CaloricallyImperfectGas::gamma_from_p_T(), CaloricallyImperfectGas::gamma_from_p_T(), CaloricallyImperfectGas::gamma_from_p_T(), CaloricallyImperfectGas::h_from_p_T(), IdealGasFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_p_T(), LeadFluidProperties::h_from_p_T(), LeadLithiumFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), LinearFluidProperties::h_from_p_T(), CaloricallyImperfectGas::h_from_p_T(), IdealGasFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_p_T(), LeadFluidProperties::h_from_p_T(), LeadLithiumFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), LinearFluidProperties::h_from_p_T(), Water97FluidProperties::h_from_p_T_template(), CaloricallyImperfectGas::h_from_T(), CaloricallyImperfectGas::h_from_T_v(), IdealGasFluidProperties::h_from_T_v(), StiffenedGasFluidProperties::h_from_T_v(), CaloricallyImperfectGas::h_from_T_v(), IdealGasFluidProperties::h_from_T_v(), StiffenedGasFluidProperties::h_from_T_v(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), LeadLithiumFluidProperties::h_from_v_e(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), LeadLithiumFluidProperties::h_from_v_e(), Water97FluidProperties::henryConstant(), LeadBismuthFluidProperties::k_from_p_T(), LeadFluidProperties::k_from_p_T(), LeadLithiumFluidProperties::k_from_p_T(), LeadBismuthFluidProperties::k_from_p_T(), LeadFluidProperties::k_from_p_T(), LeadLithiumFluidProperties::k_from_p_T(), CaloricallyImperfectGas::k_from_p_T(), IdealGasFluidProperties::k_from_p_T(), Water97FluidProperties::k_from_p_T_template(), Water97FluidProperties::k_from_rho_T_template(), CaloricallyImperfectGas::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), LeadBismuthFluidProperties::k_from_v_e(), LeadFluidProperties::k_from_v_e(), LeadLithiumFluidProperties::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), TemperaturePressureFunctionFluidProperties::k_from_v_e(), CaloricallyImperfectGas::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), LeadBismuthFluidProperties::k_from_v_e(), LeadFluidProperties::k_from_v_e(), LeadLithiumFluidProperties::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), SinglePhaseFluidProperties::makeZeroAndOne(), LeadBismuthFluidProperties::mu_from_p_T(), LeadFluidProperties::mu_from_p_T(), LeadLithiumFluidProperties::mu_from_p_T(), CaloricallyImperfectGas::mu_from_p_T(), IdealGasFluidProperties::mu_from_p_T(), LeadBismuthFluidProperties::mu_from_p_T(), LeadFluidProperties::mu_from_p_T(), LeadLithiumFluidProperties::mu_from_p_T(), Water97FluidProperties::mu_from_p_T_template(), Water97FluidProperties::mu_from_rho_T_template(), Water97FluidProperties::mu_from_v_e(), CaloricallyImperfectGas::mu_from_v_e(), LeadBismuthFluidProperties::mu_from_v_e(), LeadFluidProperties::mu_from_v_e(), LeadLithiumFluidProperties::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), TemperaturePressureFunctionFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::mu_from_v_e(), LeadBismuthFluidProperties::mu_from_v_e(), LeadFluidProperties::mu_from_v_e(), LeadLithiumFluidProperties::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::p_from_h_s(), HeliumFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), HeliumFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), StiffenedGasFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), StiffenedGasFluidProperties::p_from_T_v(), HeliumFluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), TemperaturePressureFunctionFluidProperties::p_from_v_e(), CaloricallyImperfectGas::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e_template(), SimpleFluidProperties::p_from_v_h(), 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(), CaloricallyImperfectGas::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), SodiumSaturationFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), SodiumSaturationFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_s(), TabulatedFluidProperties::rho_from_p_s(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), CaloricallyImperfectGas::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), LeadBismuthFluidProperties::rho_from_p_T(), LeadFluidProperties::rho_from_p_T(), LeadLithiumFluidProperties::rho_from_p_T(), TestSinglePhaseFluidProperties::rho_from_p_T(), LinearFluidProperties::rho_from_p_T(), LinearTestFluidProperties::rho_from_p_T(), Water97FluidProperties::rho_from_p_T_template(), SinglePhaseFluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), Water97FluidProperties::s_from_h_p(), Water97FluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_h_p(), TabulatedFluidProperties::s_from_h_p(), CaloricallyImperfectGas::s_from_p_T(), IdealGasFluidProperties::s_from_p_T(), SodiumSaturationFluidProperties::s_from_p_T(), CaloricallyImperfectGas::s_from_p_T(), IdealGasFluidProperties::s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), CaloricallyImperfectGas::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), TabulatedFluidProperties::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), TabulatedFluidProperties::s_from_v_e(), Water97FluidProperties::subregionVolume(), Water97FluidProperties::T_drhodT_from_p_rho(), TabulatedFluidProperties::T_from_h_s(), TabulatedFluidProperties::T_from_p_h(), LeadLithiumFluidProperties::T_from_p_h(), SodiumSaturationFluidProperties::T_from_p_h(), TemperaturePressureFunctionFluidProperties::T_from_p_h(), CaloricallyImperfectGas::T_from_p_h(), IdealGasFluidProperties::T_from_p_h(), LeadBismuthFluidProperties::T_from_p_h(), LeadFluidProperties::T_from_p_h(), LeadLithiumFluidProperties::T_from_p_h(), Water97FluidProperties::T_from_p_h(), HelmholtzFluidProperties::T_from_p_h(), TabulatedFluidProperties::T_from_p_h(), TabulatedFluidProperties::T_from_p_rho(), LeadLithiumFluidProperties::T_from_p_rho(), TemperaturePressureFunctionFluidProperties::T_from_p_rho(), LeadBismuthFluidProperties::T_from_p_rho(), LeadFluidProperties::T_from_p_rho(), LeadLithiumFluidProperties::T_from_p_rho(), SimpleFluidProperties::T_from_p_rho(), NaKFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_rho(), TabulatedFluidProperties::T_from_p_s(), TabulatedFluidProperties::T_from_p_s(), TabulatedFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), IdealGasFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_e(), LeadLithiumFluidProperties::T_from_v_e(), TemperaturePressureFunctionFluidProperties::T_from_v_e(), CaloricallyImperfectGas::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), IdealGasFluidProperties::T_from_v_e(), LeadBismuthFluidProperties::T_from_v_e(), LeadFluidProperties::T_from_v_e(), LeadLithiumFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_e(), TabulatedFluidProperties::T_from_v_e(), LinearFluidProperties::T_from_v_e(), LinearTestFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_h(), Water97FluidProperties::tempXY(), SinglePhaseFluidProperties::v_e_from_p_T(), SinglePhaseFluidProperties::v_e_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), LeadLithiumFluidProperties::v_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), LeadLithiumFluidProperties::v_from_p_T(), SinglePhaseFluidProperties::vaporPressure(), SinglePhaseFluidProperties::vaporPressure(), Water97FluidProperties::vaporPressureTemplate(), SinglePhaseFluidProperties::vaporTemperature(), SinglePhaseFluidProperties::vaporTemperature(), Water97FluidProperties::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 CaloricallyImperfectGas::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), LeadBismuthFluidProperties::c_from_v_e(), LeadFluidProperties::c_from_v_e(), LeadLithiumFluidProperties::c_from_v_e(), Water97FluidProperties::c_from_v_e(), CaloricallyImperfectGas::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), LeadBismuthFluidProperties::c_from_v_e(), LeadFluidProperties::c_from_v_e(), LeadLithiumFluidProperties::c_from_v_e(), SimpleFluidProperties::c_from_v_e(), SodiumSaturationFluidProperties::c_from_v_e(), StiffenedGasFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), TestSinglePhaseFluidProperties::c_from_v_e(), CaloricallyImperfectGas::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), SimpleFluidProperties::c_from_v_e(), SodiumSaturationFluidProperties::c_from_v_e(), StiffenedGasFluidProperties::c_from_v_e(), TabulatedFluidProperties::c_from_v_e(), TestSinglePhaseFluidProperties::c_from_v_e(), LinearFluidProperties::c_from_v_e(), TabulatedFluidProperties::checkInputVariablesVE(), SodiumSaturationFluidProperties::cp_from_p_T(), SodiumSaturationFluidProperties::cp_from_p_T(), Water97FluidProperties::cp_from_v_e(), CaloricallyImperfectGas::cp_from_v_e(), LeadBismuthFluidProperties::cp_from_v_e(), LeadFluidProperties::cp_from_v_e(), LeadLithiumFluidProperties::cp_from_v_e(), SodiumSaturationFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), TestSinglePhaseFluidProperties::cp_from_v_e(), CaloricallyImperfectGas::cp_from_v_e(), FlibeFluidProperties::cp_from_v_e(), FlinakFluidProperties::cp_from_v_e(), HeliumFluidProperties::cp_from_v_e(), IdealGasFluidProperties::cp_from_v_e(), LeadBismuthFluidProperties::cp_from_v_e(), LeadFluidProperties::cp_from_v_e(), LeadLithiumFluidProperties::cp_from_v_e(), SimpleFluidProperties::cp_from_v_e(), SodiumSaturationFluidProperties::cp_from_v_e(), StiffenedGasFluidProperties::cp_from_v_e(), TabulatedFluidProperties::cp_from_v_e(), TemperaturePressureFunctionFluidProperties::cp_from_v_e(), TestSinglePhaseFluidProperties::cp_from_v_e(), LinearFluidProperties::cp_from_v_e(), FlibeFluidProperties::cv_from_p_T(), FlinakFluidProperties::cv_from_p_T(), CaloricallyImperfectGas::cv_from_v_e(), Water97FluidProperties::cv_from_v_e(), FlibeFluidProperties::cv_from_v_e(), FlinakFluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), CaloricallyImperfectGas::cv_from_v_e(), FlibeFluidProperties::cv_from_v_e(), FlinakFluidProperties::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), LeadLithiumFluidProperties::cv_from_v_e(), SodiumSaturationFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), TemperaturePressureFunctionFluidProperties::cv_from_v_e(), TestSinglePhaseFluidProperties::cv_from_v_e(), CaloricallyImperfectGas::cv_from_v_e(), FlibeFluidProperties::cv_from_v_e(), FlinakFluidProperties::cv_from_v_e(), HeliumFluidProperties::cv_from_v_e(), IdealGasFluidProperties::cv_from_v_e(), LeadBismuthFluidProperties::cv_from_v_e(), LeadFluidProperties::cv_from_v_e(), LeadLithiumFluidProperties::cv_from_v_e(), SimpleFluidProperties::cv_from_v_e(), SodiumSaturationFluidProperties::cv_from_v_e(), StiffenedGasFluidProperties::cv_from_v_e(), TabulatedFluidProperties::cv_from_v_e(), TestSinglePhaseFluidProperties::cv_from_v_e(), LinearFluidProperties::cv_from_v_e(), HeliumFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), HeliumFluidProperties::e_from_p_rho(), SodiumSaturationFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_rho(), TabulatedFluidProperties::e_from_p_T(), FlibeFluidProperties::e_from_p_T(), FlinakFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), LeadLithiumFluidProperties::e_from_p_T(), SodiumSaturationFluidProperties::e_from_p_T(), FlibeFluidProperties::e_from_p_T(), FlinakFluidProperties::e_from_p_T(), LeadBismuthFluidProperties::e_from_p_T(), LeadFluidProperties::e_from_p_T(), LeadLithiumFluidProperties::e_from_p_T(), SodiumSaturationFluidProperties::e_from_p_T(), TabulatedFluidProperties::e_from_p_T(), CaloricallyImperfectGas::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), StiffenedGasFluidProperties::e_from_T_v(), CaloricallyImperfectGas::e_from_T_v(), HeliumFluidProperties::e_from_T_v(), StiffenedGasFluidProperties::e_from_T_v(), Water97FluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), SimpleFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), LinearFluidProperties::e_from_v_h(), CaloricallyImperfectGas::e_from_v_h(), HeliumFluidProperties::e_from_v_h(), IdealGasFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::e_from_v_h(), TabulatedFluidProperties::e_from_v_h(), LinearFluidProperties::e_from_v_h(), CaloricallyImperfectGas::g_from_v_e(), IdealGasFluidProperties::g_from_v_e(), StiffenedGasFluidProperties::g_from_v_e(), TabulatedFluidProperties::g_from_v_e(), CaloricallyImperfectGas::gamma_from_v_e(), CaloricallyImperfectGas::gamma_from_v_e(), CaloricallyImperfectGas::gamma_from_v_e(), TabulatedFluidProperties::generateVETabulatedData(), TabulatedFluidProperties::h_from_p_T(), SodiumSaturationFluidProperties::h_from_p_T(), TabulatedFluidProperties::h_from_p_T(), SodiumSaturationFluidProperties::h_from_p_T(), TabulatedFluidProperties::h_from_p_T(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), LeadLithiumFluidProperties::h_from_v_e(), LeadBismuthFluidProperties::h_from_v_e(), LeadFluidProperties::h_from_v_e(), LeadLithiumFluidProperties::h_from_v_e(), Water97FluidProperties::k_from_v_e(), CaloricallyImperfectGas::k_from_v_e(), FlibeFluidProperties::k_from_v_e(), FlinakFluidProperties::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), LeadBismuthFluidProperties::k_from_v_e(), LeadFluidProperties::k_from_v_e(), LeadLithiumFluidProperties::k_from_v_e(), SodiumSaturationFluidProperties::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), TemperaturePressureFunctionFluidProperties::k_from_v_e(), Water97FluidProperties::k_from_v_e(), TestSinglePhaseFluidProperties::k_from_v_e(), CaloricallyImperfectGas::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), LeadBismuthFluidProperties::k_from_v_e(), LeadFluidProperties::k_from_v_e(), LeadLithiumFluidProperties::k_from_v_e(), SodiumSaturationFluidProperties::k_from_v_e(), StiffenedGasFluidProperties::k_from_v_e(), TabulatedFluidProperties::k_from_v_e(), TestSinglePhaseFluidProperties::k_from_v_e(), Water97FluidProperties::k_from_v_e_template(), Water97FluidProperties::mu_from_v_e(), CaloricallyImperfectGas::mu_from_v_e(), FlibeFluidProperties::mu_from_v_e(), FlinakFluidProperties::mu_from_v_e(), HeliumFluidProperties::mu_from_v_e(), LeadBismuthFluidProperties::mu_from_v_e(), LeadFluidProperties::mu_from_v_e(), LeadLithiumFluidProperties::mu_from_v_e(), SodiumSaturationFluidProperties::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), TemperaturePressureFunctionFluidProperties::mu_from_v_e(), TestSinglePhaseFluidProperties::mu_from_v_e(), LinearTestFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::mu_from_v_e(), HeliumFluidProperties::mu_from_v_e(), LeadBismuthFluidProperties::mu_from_v_e(), LeadFluidProperties::mu_from_v_e(), LeadLithiumFluidProperties::mu_from_v_e(), SodiumSaturationFluidProperties::mu_from_v_e(), TabulatedFluidProperties::mu_from_v_e(), TestSinglePhaseFluidProperties::mu_from_v_e(), CaloricallyImperfectGas::p_from_h_s(), HeliumFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), HeliumFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), StiffenedGasFluidProperties::p_from_T_v(), CaloricallyImperfectGas::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), StiffenedGasFluidProperties::p_from_T_v(), TestConservedVarFluidProperties::p_from_v_e(), CaloricallyImperfectGas::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), IdealGasFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), IdealGasFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), CaloricallyImperfectGas::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), IdealGasFluidProperties::p_from_v_e(), LeadBismuthFluidProperties::p_from_v_e(), LeadFluidProperties::p_from_v_e(), LeadLithiumFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), SodiumSaturationFluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), TemperaturePressureFunctionFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e(), LinearFluidProperties::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(), IdealGasFluidProperties::p_from_v_e(), LeadBismuthFluidProperties::p_from_v_e(), LeadFluidProperties::p_from_v_e(), LeadLithiumFluidProperties::p_from_v_e(), SimpleFluidProperties::p_from_v_e(), SodiumSaturationFluidProperties::p_from_v_e(), TabulatedFluidProperties::p_from_v_e(), LinearFluidProperties::p_from_v_e(), Water97FluidProperties::p_from_v_e_template(), SimpleFluidProperties::p_from_v_h(), 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(), SodiumSaturationFluidProperties::s_from_p_T(), SodiumSaturationFluidProperties::s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), CaloricallyImperfectGas::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_T_v(), CaloricallyImperfectGas::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), SodiumSaturationFluidProperties::s_from_v_e(), TabulatedFluidProperties::s_from_v_e(), TestSinglePhaseFluidProperties::s_from_v_e(), CaloricallyImperfectGas::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), SodiumSaturationFluidProperties::s_from_v_e(), TabulatedFluidProperties::s_from_v_e(), TestSinglePhaseFluidProperties::s_from_v_e(), SodiumSaturationFluidProperties::specific_volume_derivatives(), CaloricallyImperfectGas::T_from_v_e(), Water97FluidProperties::T_from_v_e(), TabulatedFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), IdealGasFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), LeadBismuthFluidProperties::T_from_v_e(), LeadFluidProperties::T_from_v_e(), LeadLithiumFluidProperties::T_from_v_e(), SodiumSaturationFluidProperties::T_from_v_e(), TabulatedFluidProperties::T_from_v_e(), TemperaturePressureFunctionFluidProperties::T_from_v_e(), Water97FluidProperties::T_from_v_e(), LinearTestFluidProperties::T_from_v_e(), CaloricallyImperfectGas::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), IdealGasFluidProperties::T_from_v_e(), LeadBismuthFluidProperties::T_from_v_e(), LeadFluidProperties::T_from_v_e(), LeadLithiumFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_e(), SodiumSaturationFluidProperties::T_from_v_e(), TabulatedFluidProperties::T_from_v_e(), LinearFluidProperties::T_from_v_e(), SimpleFluidProperties::T_from_v_h(), SimpleFluidProperties::T_from_v_h(), SinglePhaseFluidProperties::v_e_from_p_T(), SinglePhaseFluidProperties::v_e_from_p_T(), CaloricallyImperfectGas::v_e_spndl_from_T(), IdealGasFluidProperties::v_e_spndl_from_T(), StiffenedGasFluidProperties::v_e_spndl_from_T(), TabulatedFluidProperties::v_from_p_T(), Water97FluidProperties::v_from_p_T(), FlibeFluidProperties::v_from_p_T(), FlinakFluidProperties::v_from_p_T(), LeadBismuthFluidProperties::v_from_p_T(), LeadFluidProperties::v_from_p_T(), LeadLithiumFluidProperties::v_from_p_T(), SodiumSaturationFluidProperties::v_from_p_T(), TemperaturePressureFunctionFluidProperties::v_from_p_T(), TabulatedFluidProperties::v_from_p_T(), TabulatedFluidProperties::v_from_p_T(), Water97FluidProperties::v_from_p_T(), Water97FluidProperties::v_from_p_T_template(), and TabulatedFluidProperties::writeTabulatedData().

◆ 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 SinglePhaseFluidProperties::v
inherited

Definition at line 210 of file SinglePhaseFluidProperties.h.


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