www.mooseframework.org
PorousFlowRelativePermeabilityFLAC.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
13 
14 template <>
15 InputParameters
17 {
18  InputParameters params = validParams<PorousFlowRelativePermeabilityBase>();
19  params.addRequiredRangeCheckedParam<Real>(
20  "m", "m >= 0", "relperm = (1 + m)seff^m - m seff^(m+1)");
21  params.addClassDescription(
22  "This Material calculates relative permeability of a phase using a model inspired by FLAC");
23  return params;
24 }
25 
27  const InputParameters & parameters)
28  : PorousFlowRelativePermeabilityBase(parameters), _m(getParam<Real>("m"))
29 {
30 }
31 
32 Real
34 {
36 }
37 
38 Real
40 {
42 }
PorousFlowRelativePermeabilityFLAC::dRelativePermeability
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
Definition: PorousFlowRelativePermeabilityFLAC.C:39
PorousFlowRelativePermeabilityFLAC::_m
const Real _m
Exponent m for the specified phase.
Definition: PorousFlowRelativePermeabilityFLAC.h:35
PorousFlowRelativePermeabilityFLAC
Material to calculate relative permeability inspired by the formula used in FLAC: relperm = (1 + m) s...
Definition: PorousFlowRelativePermeabilityFLAC.h:25
registerMooseObject
registerMooseObject("PorousFlowApp", PorousFlowRelativePermeabilityFLAC)
PorousFlowRelativePermeabilityBase
Base class for PorousFlow relative permeability materials.
Definition: PorousFlowRelativePermeabilityBase.h:24
PorousFlowRelativePermeabilityFLAC::PorousFlowRelativePermeabilityFLAC
PorousFlowRelativePermeabilityFLAC(const InputParameters &parameters)
Definition: PorousFlowRelativePermeabilityFLAC.C:26
PorousFlowFLACrelperm::dRelativePermeability
Real dRelativePermeability(Real seff, Real m)
Derivative of relative permeability with respect to effective saturation.
Definition: PorousFlowFLACrelperm.C:25
PorousFlowRelativePermeabilityFLAC::relativePermeability
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)
Definition: PorousFlowRelativePermeabilityFLAC.C:33
validParams< PorousFlowRelativePermeabilityFLAC >
InputParameters validParams< PorousFlowRelativePermeabilityFLAC >()
Definition: PorousFlowRelativePermeabilityFLAC.C:16
PorousFlowRelativePermeabilityFLAC.h
validParams< PorousFlowRelativePermeabilityBase >
InputParameters validParams< PorousFlowRelativePermeabilityBase >()
Definition: PorousFlowRelativePermeabilityBase.C:14
PorousFlowFLACrelperm::relativePermeability
Real relativePermeability(Real seff, Real m)
Relative permeability as a function of effective saturation.
Definition: PorousFlowFLACrelperm.C:15