Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< PorousFlowFluidPropertyIC >()
Definition at line 17 of file PorousFlowFluidPropertyIC.C.
19 InputParameters params = validParams<InitialCondition>();
20 params.addRequiredCoupledVar(
"porepressure",
"Fluid porepressure");
21 params.addRequiredCoupledVar(
"temperature",
"Fluid temperature");
22 MooseEnum unit_choice(
"Kelvin=0 Celsius=1",
"Kelvin");
23 params.addParam<MooseEnum>(
24 "temperature_unit", unit_choice,
"The unit of the temperature variable");
25 params.addRequiredParam<UserObjectName>(
"fp",
"The name of the user object for the fluid");
26 MooseEnum property_enum(
"enthalpy internal_energy density");
27 params.addRequiredParam<MooseEnum>(
28 "property", property_enum,
"The fluid property that this initial condition is to calculate");
29 params.addClassDescription(
"An initial condition to calculate one fluid property (such as "
30 "enthalpy) from pressure and temperature");