https://mooseframework.inl.gov
PBSodiumFluidProperties.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 
18 {
19 public:
21  using SinglePhaseFluidProperties::beta_from_p_T;
22  using SinglePhaseFluidProperties::cp_from_p_T;
23  using SinglePhaseFluidProperties::cv_from_p_T;
24  using SinglePhaseFluidProperties::h_from_p_T;
25  using SinglePhaseFluidProperties::k_from_p_T;
26  using SinglePhaseFluidProperties::mu_from_p_T;
27  using SinglePhaseFluidProperties::mu_from_rho_T;
28  using SinglePhaseFluidProperties::rho_from_p_T;
29  using SinglePhaseFluidProperties::T_from_p_h;
30 
31  virtual Real rho_from_p_T(Real pressure, Real temperature) const override;
32  virtual void rho_from_p_T(
33  Real pressure, Real temperature, Real & rho, Real & drho_dp, Real & drho_dT) const override;
34  virtual Real h_from_p_T(Real pressure, Real temperature) const override;
35 
36  virtual Real beta_from_p_T(Real pressure, Real temperature) const override;
37  virtual Real cv_from_p_T(Real pressure, Real temperature) const override;
38  virtual Real cp_from_p_T(Real pressure, Real temperature) const override;
39  virtual void cp_from_p_T(
40  Real pressure, Real temperature, Real & cp, Real & dcp_dp, Real & dcp_dT) const override;
41  virtual Real mu_from_p_T(Real pressure, Real temperature) const override;
42  virtual Real mu_from_rho_T(Real rho, Real temperature) const override;
43  virtual Real k_from_p_T(Real pressure, Real temperature) const override;
44 
45  virtual Real T_from_p_h(Real pressure, Real enthalpy) const override;
46 
47 protected:
48  static const std::vector<Real> _temperature_vec;
49  static const std::vector<Real> _e_vec;
50 
52  Real F_enthalpy(Real temperature) const;
53 
55  const Real & _p_0;
57  static constexpr Real _T0 = 628.15;
59  static constexpr Real _Tmax = 1154.55;
61  static constexpr Real _Tmin = 373.15;
72 
73 public:
75 };
virtual Real rho_from_p_T(Real pressure, Real temperature) const override
Class that implements the equations of state for single phase liquid sodium.
static const std::vector< Real > _temperature_vec
virtual Real beta_from_p_T(Real pressure, Real temperature) const override
static const std::string temperature
Definition: NS.h:59
virtual Real cv_from_p_T(Real pressure, Real temperature) const override
static constexpr Real _Tmax
max temperature
static constexpr Real _Tmin
min temperature
virtual Real cp_from_p_T(Real pressure, Real temperature) const override
static const std::string cp
Definition: NS.h:121
static constexpr Real _T0
reference temperature
Common class for single phase fluid properties.
Real temperature_correction(Real &temperature) const
const Real & _p_0
reference pressure
PBSodiumFluidProperties(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real F_enthalpy(Real temperature) const
static const std::string pressure
Definition: NS.h:56
const InputParameters & parameters() const
virtual Real h_from_p_T(Real pressure, Real temperature) const override
virtual Real k_from_p_T(Real pressure, Real temperature) const override
virtual Real T_from_p_h(Real pressure, Real enthalpy) const override
Real _H0
reference enthalpy
static InputParameters validParams()
static const std::vector< Real > _e_vec
virtual Real mu_from_rho_T(Real rho, Real temperature) const override
virtual Real mu_from_p_T(Real pressure, Real temperature) const override