Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< PorousFlowFluidStateIC >()
Definition at line 18 of file PorousFlowFluidStateIC.C.
20 InputParameters params = validParams<InitialCondition>();
21 params.addRequiredCoupledVar(
"gas_porepressure",
22 "Variable that is the porepressure of the gas phase");
23 params.addRequiredCoupledVar(
"temperature",
"Variable that is the fluid temperature");
24 MooseEnum unit_choice(
"Kelvin=0 Celsius=1",
"Kelvin");
25 params.addParam<MooseEnum>(
26 "temperature_unit", unit_choice,
"The unit of the temperature variable");
27 params.addCoupledVar(
"saturation", 0.0,
"Gas saturation");
28 params.addRequiredParam<UserObjectName>(
"fluid_state",
"Name of the FluidState UserObject");
29 params.addCoupledVar(
"xnacl", 0,
"The salt mass fraction in the brine (kg/kg)");
30 params.addRequiredParam<UserObjectName>(
31 "PorousFlowDictator",
"The UserObject that holds the list of PorousFlow variable names");
32 params.addClassDescription(
"An initial condition to calculate z from saturation");
Referenced by validParams< PorousFlowFluidStateBrineCO2IC >(), and validParams< PorousFlowFluidStateWaterNCGIC >().