Loading [MathJax]/extensions/tex2jax.js
www.mooseframework.org
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Functions
PorousFlow2PhasePS.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlow2PhasePS   
)

◆ validParams< PorousFlow2PhasePS >()

template<>
InputParameters validParams< PorousFlow2PhasePS > ( )

Definition at line 17 of file PorousFlow2PhasePS.C.

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