20 params.
addRequiredParam<UserObjectName>(
"fp",
"The name of fluid properties object to use.");
25 params.
addClassDescription(
"Set the initial condition for rho*E*A from pressure and temperature "
26 "variables and a velocity scalar function");
34 _p(coupledValue(
"p")),
35 _T(coupledValue(
"T")),
36 _vel(getFunction(
"vel")),
37 _area(coupledValue(
"A"))
registerMooseObject("ThermalHydraulicsApp", RhoEAFromPressureTemperatureFunctionVelocityIC)
virtual Real value(Real t, const Point &p) const
static InputParameters validParams()
This IC sets total energy density from provided pressure, temperature and user-defined veloctiy funct...
virtual Real value(const Point &p)
const SinglePhaseFluidProperties & _fp
static InputParameters validParams()
const VariableValue & _area
Cross-sectional area.
const Function & _vel
The velocity given as a function.
const VariableValue & _T
The temperature.
RhoEAFromPressureTemperatureFunctionVelocityIC(const InputParameters ¶meters)
const VariableValue & _p
The pressure.
Common class for single phase fluid properties.