Classes | Functions
PorousFlowFluidStateFlashBase.h File Reference

Go to the source code of this file.


class  PorousFlowFluidStateFlashBase
 Base class for fluid states using a persistent set of primary variables for the mutliphase, multicomponent case. More...
struct  PorousFlowFluidStateFlashBase::FluidStateProperties
 Data structure to pass calculated thermophysical properties. More...


InputParameters validParams< PorousFlowFluidStateFlashBase > ()

Function Documentation

InputParameters validParams< PorousFlowFluidStateFlashBase > ( )

Definition at line 13 of file PorousFlowFluidStateFlashBase.C.

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

14 {
15  InputParameters params = validParams<PorousFlowVariableBase>();
16  params.addRequiredCoupledVar("gas_porepressure",
17  "Variable that is the porepressure of the gas phase");
18  params.addRequiredCoupledVar("z", "Total mass fraction of component i summed over all phases");
19  params.addParam<unsigned int>("liquid_phase_number", 0, "The phase number of the liquid phase");
20  params.addParam<unsigned int>(
21  "liquid_fluid_component", 0, "The fluid component number of the liquid phase");
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>("capillary_pressure",
26  "Name of the UserObject defining the capillary pressure");
27  params.addClassDescription("Base class for fluid state calculations using persistent primary "
28  "variables and a vapor-liquid flash");
29  return params;
30 }
InputParameters validParams< PorousFlowVariableBase >()