www.mooseframework.org
Functions
PorousFlowSingleComponentFluid.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PorousFlowApp", PorousFlowSingleComponentFluid)
 
template<>
InputParameters validParams< PorousFlowSingleComponentFluid > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowSingleComponentFluid   
)

◆ validParams< PorousFlowSingleComponentFluid >()

template<>
InputParameters validParams< PorousFlowSingleComponentFluid > ( )

Definition at line 16 of file PorousFlowSingleComponentFluid.C.

17 {
18  InputParameters params = validParams<PorousFlowFluidPropertiesBase>();
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",
26  p_unit_choice,
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",
31  time_unit_choice,
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");
36  return params;
37 }
validParams< PorousFlowFluidPropertiesBase >
InputParameters validParams< PorousFlowFluidPropertiesBase >()
Definition: PorousFlowFluidPropertiesBase.C:14