www.mooseframework.org
PorousFlowRelativePermeabilityCorey.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 POROUSFLOWRELATIVEPERMEABILITYCOREY_H
9 #define POROUSFLOWRELATIVEPERMEABILITYCOREY_H
10 
12 
14 
15 template <>
17 
26 {
27 public:
28  PorousFlowRelativePermeabilityCorey(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 _n;
36 };
37 
38 #endif // POROUSFLOWRELATIVEPERMEABILITYCOREY_H
InputParameters validParams< PorousFlowRelativePermeabilityCorey >()
Base class for PorousFlow relative permeability materials.
PorousFlowRelativePermeabilityCorey(const InputParameters &parameters)
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
Material to calculate Corey-type relative permeability of an arbitrary phase given the effective satu...
const Real _n
Corey exponent n for the specified phase.