23 MooseEnum quantity(
"pressure temperature speed");
31 params.
addRequiredParam<UserObjectName>(
"fp",
"Fluid properties user object name");
39 _volume(getParam<
Real>(
"volume")),
40 _rhoV(coupledValue(
"rhoV")),
41 _rhouV(coupledValue(
"rhouV")),
42 _rhovV(coupledValue(
"rhovV")),
43 _rhowV(coupledValue(
"rhowV")),
44 _rhoEV(coupledValue(
"rhoEV")),
61 return _fp.p_from_v_e(vJ, eJ);
64 return _fp.T_from_v_e(vJ, eJ);
const Quantity _quantity
Which quantity to compute.
void v_from_rhoA_A(Real rhoA, Real A, Real &v, Real &dv_drhoA)
Computes specific volume and its derivatives from rho*A, and area.
Computes various quantities for a VolumeJunction1Phase.
const Real & _volume
Volume of the junction.
const VariableValue & _rhoEV
rho*E*V of the junction
virtual Real computeValue() override
const VariableValue & _rhowV
rho*w*V of the junction
const VariableValue & _rhoV
rho*V of the junction
VolumeJunction1PhaseAux(const InputParameters ¶meters)
static InputParameters validParams()
Common class for single phase fluid properties.
const VariableValue & _rhouV
rho*u*V of the junction
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("ThermalHydraulicsApp", VolumeJunction1PhaseAux)
const VariableValue & _rhovV
rho*v*V of the junction
void mooseError(Args &&... args) const
static InputParameters validParams()
const SinglePhaseFluidProperties & _fp
Single-phase fluid properties user object.