www.mooseframework.org
PorousFlowRelativePermeabilityConst.h
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 
8 #ifndef POROUSFLOWRELATIVEPERMEABILITYCONST_H
9 #define POROUSFLOWRELATIVEPERMEABILITYCONST_H
10 
12 
14 
15 template <>
17 
23 {
24 public:
25  PorousFlowRelativePermeabilityConst(const InputParameters & parameters);
26 
27 protected:
28  virtual Real relativePermeability(Real seff) const override;
29  virtual Real dRelativePermeability(Real seff) const override;
30 
32  const Real _relperm;
33 };
34 
35 #endif // POROUSFLOWRELATIVEPERMEABILITYCONST_H
InputParameters validParams< PorousFlowRelativePermeabilityConst >()
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)
const Real _relperm
Constant relative permeability.
PorousFlowRelativePermeabilityConst(const InputParameters &parameters)
Base class for PorousFlow relative permeability materials.
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
This class simply sets a constant relative permeability at the nodes.