www.mooseframework.org
Functions
PorousFlowFluidState.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowFluidState   
)

◆ validParams< PorousFlowFluidState >()

template<>
InputParameters validParams< PorousFlowFluidState > ( )

Definition at line 17 of file PorousFlowFluidState.C.

18 {
19  InputParameters params = validParams<PorousFlowVariableBase>();
20  params.addRequiredCoupledVar("gas_porepressure",
21  "Variable that is the porepressure of the gas phase");
22  params.addRequiredCoupledVar("z", "Total mass fraction of component i summed over all phases");
23  params.addCoupledVar(
24  "temperature", 20, "The fluid temperature (C or K, depending on temperature_unit)");
25  params.addCoupledVar("xnacl", 0, "The salt mass fraction in the brine (kg/kg)");
26  MooseEnum unit_choice("Kelvin=0 Celsius=1", "Kelvin");
27  params.addParam<MooseEnum>(
28  "temperature_unit", unit_choice, "The unit of the temperature variable");
29  params.addRequiredParam<UserObjectName>("capillary_pressure",
30  "Name of the UserObject defining the capillary pressure");
31  params.addRequiredParam<UserObjectName>("fluid_state", "Name of the FluidState UserObject");
32  params.addPrivateParam<std::string>("pf_material_type", "fluid_state");
33  params.addClassDescription("Class for fluid state calculations using persistent primary "
34  "variables and a vapor-liquid flash");
35  return params;
36 }

Referenced by validParams< PorousFlowFluidStateBrineCO2 >(), and validParams< PorousFlowFluidStateWaterNCG >().

validParams< PorousFlowVariableBase >
InputParameters validParams< PorousFlowVariableBase >()
Definition: PorousFlowVariableBase.C:14