www.mooseframework.org
PorousFlowRelativePermeabilityBC.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 POROUSFLOWRELATIVEPERMEABILITYBC_H
9 #define POROUSFLOWRELATIVEPERMEABILITYBC_H
10 
12 
14 
15 template <>
17 
26 {
27 public:
28  PorousFlowRelativePermeabilityBC(const InputParameters & parameters);
29 
30 protected:
31  virtual Real relativePermeability(Real seff) const override;
32  virtual Real dRelativePermeability(Real seff) const override;
33 
35  const Real _lambda;
37  const bool _is_nonwetting;
38 };
39 
40 #endif // POROUSFLOWRELATIVEPERMEABILITYBC_H
const Real _lambda
Brooks-Corey exponent lambda.
const bool _is_nonwetting
Flag that is set to true if this is the non-wetting (gas) phase.
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
InputParameters validParams< PorousFlowRelativePermeabilityBC >()
Base class for PorousFlow relative permeability materials.
PorousFlowRelativePermeabilityBC(const InputParameters &parameters)
Material to calculate Brooks-Corey relative permeability of an arbitrary phase given the effective sa...
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)