www.mooseframework.org
NaClFluidProperties.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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  using SinglePhaseFluidProperties::cp_from_p_T;
73 
74  virtual Real cv_from_p_T(Real pressure, Real temperature) const override;
75 
76  virtual Real k_from_p_T(Real pressure, Real temperature) const override;
77 
78  virtual void
79  k_from_p_T(Real pressure, Real temperature, Real & k, Real & dk_dp, Real & dk_dT) const override;
80 
81  virtual Real h_from_p_T(Real pressure, Real temperature) const override;
82 
83  virtual void
84  h_from_p_T(Real pressure, Real temperature, Real & h, Real & dh_dp, Real & dh_dT) const override;
85 
86 protected:
88  const Real _Mnacl;
96  const Real _p_triple;
98  const Real _T_triple;
99 };
100 
101 #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
static const std::string temperature
Definition: NS.h:57
virtual Real e_from_p_T(Real pressure, Real temperature) const override
virtual Real cv_from_p_T(Real pressure, Real temperature) const override
virtual Real k_from_p_T(Real pressure, Real temperature) const override
Common class for single phase fluid properties.
e e e e s T T T T T rho v v T h
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:124
virtual Real molarMass() const override
Fluid name.