26 params.
addRequiredParam<UserObjectName>(
"fp",
"The name of the user object for fluid properties");
28 "Defines material properties from fluid properties to serve in the 3-equation model");
35 _area(coupledValue(
"A")),
36 _rhoA(coupledValue(
"rhoA")),
37 _rhouA(coupledValue(
"rhouA")),
38 _rhoEA(coupledValue(
"rhoEA")),
40 _rho(declareProperty<
Real>(
"rho")),
41 _drho_drhoA(declarePropertyDerivativeTHM<
Real>(
"rho",
"rhoA")),
43 _v(declareProperty<
Real>(
"v")),
44 _dv_drhoA(declarePropertyDerivativeTHM<
Real>(
"v",
"rhoA")),
46 _vel(declareProperty<
Real>(
"vel")),
47 _dvel_drhoA(declarePropertyDerivativeTHM<
Real>(
"vel",
"rhoA")),
48 _dvel_drhouA(declarePropertyDerivativeTHM<
Real>(
"vel",
"rhouA")),
50 _e(declareProperty<
Real>(
"e")),
51 _de_drhoA(declarePropertyDerivativeTHM<
Real>(
"e",
"rhoA")),
52 _de_drhouA(declarePropertyDerivativeTHM<
Real>(
"e",
"rhouA")),
53 _de_drhoEA(declarePropertyDerivativeTHM<
Real>(
"e",
"rhoEA")),
55 _p(declareProperty<
Real>(
"p")),
56 _dp_drhoA(declarePropertyDerivativeTHM<
Real>(
"p",
"rhoA")),
57 _dp_drhouA(declarePropertyDerivativeTHM<
Real>(
"p",
"rhouA")),
58 _dp_drhoEA(declarePropertyDerivativeTHM<
Real>(
"p",
"rhoEA")),
60 _T(declareProperty<
Real>(
"T")),
61 _dT_drhoA(declarePropertyDerivativeTHM<
Real>(
"T",
"rhoA")),
62 _dT_drhouA(declarePropertyDerivativeTHM<
Real>(
"T",
"rhouA")),
63 _dT_drhoEA(declarePropertyDerivativeTHM<
Real>(
"T",
"rhoEA")),
65 _h(declareProperty<
Real>(
"h")),
66 _dh_drhoA(declarePropertyDerivativeTHM<
Real>(
"h",
"rhoA")),
67 _dh_drhouA(declarePropertyDerivativeTHM<
Real>(
"h",
"rhouA")),
68 _dh_drhoEA(declarePropertyDerivativeTHM<
Real>(
"h",
"rhoEA")),
70 _H(declareProperty<
Real>(
"H")),
71 _dH_drhoA(declarePropertyDerivativeTHM<
Real>(
"H",
"rhoA")),
72 _dH_drhouA(declarePropertyDerivativeTHM<
Real>(
"H",
"rhouA")),
73 _dH_drhoEA(declarePropertyDerivativeTHM<
Real>(
"H",
"rhoEA")),
75 _c(declareProperty<
Real>(
"c")),
77 _cp(declareProperty<
Real>(
"cp")),
79 _cv(declareProperty<
Real>(
"cv")),
81 _k(declareProperty<
Real>(
"k")),
105 Real p, dp_dv, dp_de;
109 Real T, dT_dv, dT_de;
122 const Real dh_de = 1;
MaterialProperty< Real > & _v
Specific volume.
MaterialProperty< Real > & _dH_drhouA
MaterialProperty< Real > & _dH_drhoEA
MaterialProperty< Real > & _dT_drhouA
MaterialProperty< Real > & _dT_drhoEA
Real de_darhoA(Real arhoA, Real arhouA, Real arhoEA)
Derivative of specific internal energy wrt density of the phase (rhoA or arhoA)
MaterialProperty< Real > & _drho_drhoA
Real de_darhoEA(Real arhoA)
Derivative of specific internal energy wrt total energy of the phase (rhoEA or arhoEA) ...
MaterialProperty< Real > & _vel
Velocity.
MaterialProperty< Real > & _de_drhoEA
MaterialProperty< Real > & _H
Specific total (stagnation) enthalpy.
Computes velocity and thermodynamic variables from solution variables for 1-phase flow...
MaterialProperty< Real > & _dT_drhoA
MaterialProperty< Real > & _h
Specific enthalpy.
registerMooseObject("ThermalHydraulicsApp", FluidProperties3EqnMaterial)
Real dv_darhoA(Real area, Real arhoA)
Derivative of specific volume wrt density equation solution variable.
MaterialProperty< Real > & _dvel_drhoA
MaterialProperty< Real > & _c
Sound speed.
void vel_from_arhoA_arhouA(Real arhoA, Real arhouA, Real &vel, Real &dvel_darhoA, Real &dvel_darhouA)
Computes velocity and its derivatives from alpha*rho*A and alpha*rho*u*A.
const SinglePhaseFluidProperties & _fp
Fluid properties.
const VariableValue & _rhoEA
MaterialProperty< Real > & _rho
Density.
MaterialProperty< Real > & _dp_drhoEA
const VariableValue & _area
Cross-sectional area.
const VariableValue & _rhouA
MaterialProperty< Real > & _dv_drhoA
MaterialProperty< Real > & _de_drhouA
MaterialProperty< Real > & _cp
Constant-pressure specific heat.
static InputParameters validParams()
MaterialProperty< Real > & _T
Temperature.
MaterialProperty< Real > & _cv
Constant-volume specific heat.
Real de_darhouA(Real arhoA, Real arhouA)
Derivative of specific internal energy wrt momentum of the phase (rhouA or arhouA) ...
FluidProperties3EqnMaterial(const InputParameters ¶meters)
MaterialProperty< Real > & _p
Pressure.
Common class for single phase fluid properties.
MaterialProperty< Real > & _k
Thermal conductivity.
MaterialProperty< Real > & _dH_drhoA
MaterialProperty< Real > & _dp_drhouA
MaterialProperty< Real > & _dh_drhouA
MaterialProperty< Real > & _dh_drhoEA
MaterialProperty< Real > & _dp_drhoA
virtual void computeQpProperties()
MaterialProperty< Real > & _e
Specific internal energy.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _rhoA
MaterialProperty< Real > & _de_drhoA
static InputParameters validParams()
MaterialProperty< Real > & _dh_drhoA
MaterialProperty< Real > & _dvel_drhouA