www.mooseframework.org
PorousFlowRelativePermeabilityFLAC.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
9 
10 template <>
11 InputParameters
13 {
14  InputParameters params = validParams<PorousFlowRelativePermeabilityBase>();
15  params.addRequiredRangeCheckedParam<Real>(
16  "m", "m >= 0", "relperm = (1 + m)seff^m - m seff^(m+1)");
17  params.addClassDescription(
18  "This Material calculates relative permeability of a phase using a model inspired by FLAC");
19  return params;
20 }
21 
23  const InputParameters & parameters)
24  : PorousFlowRelativePermeabilityBase(parameters), _m(getParam<Real>("m"))
25 {
26 }
27 
28 Real
30 {
32 }
33 
34 Real
36 {
38 }
PorousFlowRelativePermeabilityFLAC(const InputParameters &parameters)
InputParameters validParams< PorousFlowRelativePermeabilityFLAC >()
Real dRelativePermeability(Real seff, Real m)
Derivative of relative permeability with respect to effective saturation.
Base class for PorousFlow relative permeability materials.
Real relativePermeability(Real seff, Real m)
Relative permeability as a function of effective saturation.
InputParameters validParams< PorousFlowRelativePermeabilityBase >()
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
const Real _m
exponent m for the specified phase
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)