www.mooseframework.org
RichardsRelPermVG1.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 RICHARDSRELPERMVG1_H
9 #define RICHARDSRELPERMVG1_H
10 
11 #include "RichardsRelPermVG.h"
12 
13 class RichardsRelPermVG1;
14 
15 template <>
16 InputParameters validParams<RichardsRelPermVG1>();
17 
25 {
26 public:
27  RichardsRelPermVG1(const InputParameters & parameters);
28 
30  void initialSetup();
31 
36  Real relperm(Real seff) const;
37 
42  Real drelperm(Real seff) const;
43 
48  Real d2relperm(Real seff) const;
49 
50 protected:
52  Real _simm;
53 
55  Real _m;
56 
58  Real _scut;
59 
61  Real _vg1_const;
62 
65 
67  Real _vg1_quad;
68 
70  Real _vg1_cub;
71 };
72 
73 #endif // RICHARDSRELPERMVG1_H
Real relperm(Real seff) const
relative permeability as a function of effective saturation
Van-Genuchten form of relative permeability as a function of effective saturation.
Real _vg1_quad
coefficient of quadratic term in cubic relperm relation
InputParameters validParams< RichardsRelPermVG1 >()
Van-Genuchten form of relative permeability when seff <= _scut cubic relative permeability for seff >...
Real _vg1_cub
coefficient of cubic term in cubic relperm relation
RichardsRelPermVG1(const InputParameters &parameters)
Real _simm
immobile saturation
void initialSetup()
just prints some (maybe) useful info to the console
Real _vg1_linear
coefficient of linear term in cubic relperm relation
Real drelperm(Real seff) const
derivative of relative permeability wrt effective saturation
Real _scut
for seff > _scut use cubic relative permeability, otherwise use van Genuchten
Real _m
van Genuchten m parameter
Real _vg1_const
constant in cubic relperm relation
Real d2relperm(Real seff) const
second derivative of relative permeability wrt effective saturation