https://mooseframework.inl.gov
NaClFluidProperties.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
14 #pragma GCC diagnostic push
15 #pragma GCC diagnostic ignored "-Woverloaded-virtual"
16 
39 {
40 public:
42 
44  virtual ~NaClFluidProperties();
45 
46  virtual std::string fluidName() const override;
47 
48  virtual Real molarMass() const override;
49 
50  virtual Real criticalPressure() const override;
51 
52  virtual Real criticalTemperature() const override;
53 
54  virtual Real criticalDensity() const override;
55 
56  virtual Real triplePointPressure() const override;
57 
58  virtual Real triplePointTemperature() const override;
59 
60  virtual Real rho_from_p_T(Real pressure, Real temperature) const override;
61 
62  virtual void rho_from_p_T(
63  Real pressure, Real temperature, Real & rho, Real & drho_dp, Real & drho_dT) const override;
64 
65  virtual Real e_from_p_T(Real pressure, Real temperature) const override;
66 
67  virtual void
68  e_from_p_T(Real pressure, Real temperature, Real & e, Real & de_dp, Real & de_dT) const override;
69 
70  virtual Real cp_from_p_T(Real pressure, Real temperature) const override;
71 
72  virtual void cp_from_p_T(
73  Real pressure, Real temperature, Real & cp, Real & dcp_dp, Real & dcp_dT) const override;
74 
75  virtual Real cv_from_p_T(Real pressure, Real temperature) const override;
76 
77  virtual Real k_from_p_T(Real pressure, Real temperature) const override;
78 
79  virtual void
80  k_from_p_T(Real pressure, Real temperature, Real & k, Real & dk_dp, Real & dk_dT) const override;
81 
82  virtual Real h_from_p_T(Real pressure, Real temperature) const override;
83 
84  virtual void
85  h_from_p_T(Real pressure, Real temperature, Real & h, Real & dh_dp, Real & dh_dT) const override;
86 
87 protected:
89  const Real _Mnacl;
97  const Real _p_triple;
99  const Real _T_triple;
100 };
101 
102 #pragma GCC diagnostic pop
virtual Real triplePointTemperature() const override
Triple point temperature.
virtual Real triplePointPressure() const override
Triple point pressure.
virtual Real criticalTemperature() const override
Critical temperature.
const Real _T_triple
Triple point temperature (K)
virtual Real cp_from_p_T(Real pressure, Real temperature) const override
const Real _rho_critical
Critical density (kg/m^3)
virtual Real rho_from_p_T(Real pressure, Real temperature) const override
virtual std::string fluidName() const override
Fluid name.
static const std::string temperature
Definition: NS.h:59
virtual Real e_from_p_T(Real pressure, Real temperature) const override
virtual Real cv_from_p_T(Real pressure, Real temperature) const override
static const std::string cp
Definition: NS.h:121
e e e e s T T T T T rho v v T e h
virtual Real k_from_p_T(Real pressure, Real temperature) const override
Common class for single phase fluid properties.
const Real _p_triple
Triple point pressure (Pa)
virtual Real criticalDensity() const override
Critical density.
const Real _T_critical
Critical temperature (K)
const Real _p_critical
Critical pressure (Pa)
virtual Real criticalPressure() const override
Critical pressure.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string pressure
Definition: NS.h:56
NaCl fluid properties as a function of pressure (Pa) and temperature (K).
const InputParameters & parameters() const
virtual Real h_from_p_T(Real pressure, Real temperature) const override
NaClFluidProperties(const InputParameters &parameters)
static InputParameters validParams()
const Real _Mnacl
NaCl molar mass (kg/mol)
static const std::string k
Definition: NS.h:130
virtual Real molarMass() const override
Molar mass [kg/mol].