Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< PorousFlowSingleComponentFluid >()
Definition at line 16 of file PorousFlowSingleComponentFluid.C.
19 params.addParam<
bool>(
20 "compute_density_and_viscosity",
true,
"Compute the fluid density and viscosity");
21 params.addParam<
bool>(
"compute_internal_energy",
true,
"Compute the fluid internal energy");
22 params.addParam<
bool>(
"compute_enthalpy",
true,
"Compute the fluid enthalpy");
23 params.addRequiredParam<UserObjectName>(
"fp",
"The name of the user object for fluid properties");
24 MooseEnum p_unit_choice(
"Pa MPa",
"Pa");
25 params.addParam<MooseEnum>(
"pressure_unit",
27 "The unit of the pressure variable used everywhere in the input file "
28 "except for in the FluidProperties-module objects");
29 MooseEnum time_unit_choice(
"seconds hours days years",
"seconds");
30 params.addParam<MooseEnum>(
"time_unit",
32 "The unit of time used everywhere in the input file except for in the "
33 "FluidProperties-module objects");
34 params.addClassDescription(
"This Material calculates fluid properties at the quadpoints or nodes "
35 "for a single component fluid");