www.mooseframework.org
Functions
PorousFlow2PhasePP.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlow2PhasePP   
)

◆ validParams< PorousFlow2PhasePP >()

template<>
InputParameters validParams< PorousFlow2PhasePP > ( )

Definition at line 17 of file PorousFlow2PhasePP.C.

18 {
19  InputParameters params = validParams<PorousFlowVariableBase>();
20  params.addRequiredCoupledVar("phase0_porepressure",
21  "Variable that is the porepressure of phase "
22  "0 (eg, the water phase). It will be <= "
23  "phase1_porepressure.");
24  params.addRequiredCoupledVar("phase1_porepressure",
25  "Variable that is the porepressure of phase 1 (eg, the gas phase)");
26  params.addRequiredParam<UserObjectName>("capillary_pressure",
27  "Name of the UserObject defining the capillary pressure");
28  params.addClassDescription("This Material calculates the 2 porepressures and the 2 saturations "
29  "in a 2-phase situation, and derivatives of these with "
30  "respect to the PorousFlowVariables");
31  return params;
32 }
validParams< PorousFlowVariableBase >
InputParameters validParams< PorousFlowVariableBase >()
Definition: PorousFlowVariableBase.C:14