https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
19public:
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 virtual void
36 h_from_p_T(Real pressure, Real temperature, Real & h, Real & dh_dp, Real & dh_dT) const override;
37
38 virtual Real beta_from_p_T(Real pressure, Real temperature) const override;
39 virtual Real cv_from_p_T(Real pressure, Real temperature) const override;
40 virtual Real cp_from_p_T(Real pressure, Real temperature) const override;
41 virtual void cp_from_p_T(
42 Real pressure, Real temperature, Real & cp, Real & dcp_dp, Real & dcp_dT) const override;
43 virtual Real mu_from_p_T(Real pressure, Real temperature) const override;
44 virtual Real mu_from_rho_T(Real rho, Real temperature) const override;
45 virtual Real k_from_p_T(Real pressure, Real temperature) const override;
46
47 virtual Real T_from_p_h(Real pressure, Real enthalpy) const override;
48
49protected:
50 static const std::vector<Real> _temperature_vec;
51 static const std::vector<Real> _e_vec;
52
53 Real temperature_correction(Real & temperature) const;
54 Real F_enthalpy(Real temperature) const;
55
57 const Real & _p_0;
59 static constexpr Real _T0 = 628.15;
61 static constexpr Real _Tmax = 1154.55;
63 static constexpr Real _Tmin = 373.15;
65 static constexpr Real _Tmin_cp_k = 388.15;
66 static constexpr Real _Tmax_cp_k = 1148.15;
68 Real _H0;
70 Real _H_Tmax;
72 Real _H_Tmin;
77
78public:
80};
const InputParameters & parameters() const
Class that implements the equations of state for single phase liquid sodium.
Real temperature_correction(Real &temperature) const
virtual Real h_from_p_T(Real pressure, Real temperature) const override
virtual Real beta_from_p_T(Real pressure, Real temperature) const override
static constexpr Real _Tmin
min temperature
virtual Real mu_from_p_T(Real pressure, Real temperature) const override
static InputParameters validParams()
virtual Real k_from_p_T(Real pressure, Real temperature) const override
virtual Real cv_from_p_T(Real pressure, Real temperature) const override
virtual Real T_from_p_h(Real pressure, Real enthalpy) const override
static constexpr Real _T0
reference temperature
static const std::vector< Real > _temperature_vec
static constexpr Real _Tmin_cp_k
valid temperature range [K] of the heat capacity and thermal conductivity correlations
Real F_enthalpy(Real temperature) const
const Real & _p_0
reference pressure
static constexpr Real _Tmax
max temperature
static constexpr Real _Tmax_cp_k
virtual Real cp_from_p_T(Real pressure, Real temperature) const override
static const std::vector< Real > _e_vec
virtual Real rho_from_p_T(Real pressure, Real temperature) const override
virtual Real mu_from_rho_T(Real rho, 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 e h