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

Go to the source code of this file.

Classes

class  PorousFlowCapillaryPressure
 Base class for capillary pressure for multiphase flow in porous media. More...
 

Functions

template<>
InputParameters validParams< PorousFlowCapillaryPressure > ()
 

Function Documentation

◆ validParams< PorousFlowCapillaryPressure >()

template<>
InputParameters validParams< PorousFlowCapillaryPressure > ( )

Definition at line 14 of file PorousFlowCapillaryPressure.C.

15 {
16  InputParameters params = validParams<DiscreteElementUserObject>();
17  params.addRangeCheckedParam<Real>(
18  "sat_lr",
19  0.0,
20  "sat_lr >= 0 & sat_lr < 1",
21  "Liquid residual saturation. Must be between 0 and 1. Default is 0");
22  params.addRangeCheckedParam<Real>("pc_max",
23  1.0e9,
24  "pc_max > 0",
25  "Maximum capillary pressure (Pa). Must be > 0. Default is 1e9");
26  params.addParam<bool>("log_extension",
27  true,
28  "Use a logarithmic extension for low saturation to avoid capillary "
29  "pressure going to infinity. Default is true. Set to false if your "
30  "capillary pressure depends on spatially-dependent variables other than "
31  "saturation, as the log-extension C++ code for this case has yet to be "
32  "implemented");
33  params.addClassDescription("Capillary pressure base class");
34  return params;
35 }

Referenced by validParams< PorousFlowCapillaryPressureBC >(), validParams< PorousFlowCapillaryPressureBW >(), validParams< PorousFlowCapillaryPressureConst >(), validParams< PorousFlowCapillaryPressureRSC >(), and validParams< PorousFlowCapillaryPressureVG >().