22 params.
addRequiredParam<UserObjectName>(
"fp",
"The name of the user object for fluid properties");
24 "Computes stagnation pressure from specific volume, specific internal energy, and velocity");
30 _specific_volume(coupledValue(
"v")),
31 _specific_internal_energy(coupledValue(
"e")),
32 _velocity(coupledValue(
"vel")),
50 const Real h0 = e + p *
v + 0.5 * u * u;
52 return _fp.p_from_h_s(h0, s);
registerMooseObject("FluidPropertiesApp", StagnationPressureAux)
Compute stagnation pressure from specific volume, specific internal energy, and velocity.
Common class for single phase fluid properties.
StagnationPressureAux(const InputParameters ¶meters)
const VariableValue & _velocity
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string v
const VariableValue & _specific_volume
virtual Real computeValue() override
static InputParameters validParams()
const SinglePhaseFluidProperties & _fp
static InputParameters validParams()
const VariableValue & _specific_internal_energy