www.mooseframework.org
Classes | Functions
PorousFlowFluidPropertyIC.h File Reference

Go to the source code of this file.

Classes

class  PorousFlowFluidPropertyIC
 PorousFlowFluidPropertyIC calculates an initial value for a fluid property (such as enthalpy) using pressure and temperature in the single phase regions. More...
 

Functions

template<>
InputParameters validParams< PorousFlowFluidPropertyIC > ()
 

Function Documentation

◆ validParams< PorousFlowFluidPropertyIC >()

template<>
InputParameters validParams< PorousFlowFluidPropertyIC > ( )

Definition at line 17 of file PorousFlowFluidPropertyIC.C.

18 {
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");
31  return params;
32 }