www.mooseframework.org
RichardsRelPermMonomial.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 RICHARDSRELPERMMONOMIAL_H
9 #define RICHARDSRELPERMMONOMIAL_H
10 
11 #include "RichardsRelPerm.h"
12 
14 
15 template <>
16 InputParameters validParams<RichardsRelPermMonomial>();
17 
25 {
26 public:
27  RichardsRelPermMonomial(const InputParameters & parameters);
28 
33  Real relperm(Real seff) const;
34 
39  Real drelperm(Real seff) const;
40 
45  Real d2relperm(Real seff) const;
46 
47 protected:
49  Real _simm;
50 
52  Real _n;
53 
56 };
57 
58 #endif // RICHARDSRELPERMMONOMIAL_H
Real drelperm(Real seff) const
Derivative of elative permeability wrt seff.
Base class for Richards relative permeability classes that provide relative permeability as a functio...
Real _n
exponent, must be >= 0
Real _simm
immobile saturation
Real relperm(Real seff) const
Relative permeability.
Monomial form of relative permeability relperm = Seff^n for 0<Seff<=1, where S = (S - simm)/(1 - simm...
Real d2relperm(Real seff) const
Second derivative of elative permeability wrt seff.
Real _zero_to_the_zero
0^0, which is used if _n=0
InputParameters validParams< RichardsRelPermMonomial >()
RichardsRelPermMonomial(const InputParameters &parameters)