www.mooseframework.org
RichardsRelPermBW.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "RichardsRelPerm.h"
13 
14 class RichardsRelPermBW;
15 
16 template <>
17 InputParameters validParams<RichardsRelPermBW>();
18 
25 {
26 public:
27  RichardsRelPermBW(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:
48  // BW's initial saturation
49  Real _sn;
50 
51  // BW's effective saturation where porepressure = 0
52  Real _ss;
53 
54  // relative perm at Seff = Sn
55  Real _kn;
56 
57  // relative perm at Seff = Ss
58  Real _ks;
59 
60  // BW's C parameter
61  Real _c;
62 
63  // (_ks - _kn)*(_c - 1)
64  Real _coef;
65 };
66 
RichardsRelPermBW::_ks
Real _ks
Definition: RichardsRelPermBW.h:58
RichardsRelPerm
Base class for Richards relative permeability classes that provide relative permeability as a functio...
Definition: RichardsRelPerm.h:23
RichardsRelPermBW::_coef
Real _coef
Definition: RichardsRelPermBW.h:64
RichardsRelPermBW::_ss
Real _ss
Definition: RichardsRelPermBW.h:52
RichardsRelPermBW::RichardsRelPermBW
RichardsRelPermBW(const InputParameters &parameters)
Definition: RichardsRelPermBW.C:53
RichardsRelPermBW::_sn
Real _sn
Definition: RichardsRelPermBW.h:49
RichardsRelPermBW
"Broadbridge-White" form of relative permeability as a function of effective saturation P Broadbridge...
Definition: RichardsRelPermBW.h:24
validParams< RichardsRelPermBW >
InputParameters validParams< RichardsRelPermBW >()
Definition: RichardsRelPermBW.C:21
RichardsRelPermBW::d2relperm
Real d2relperm(Real seff) const
second derivative of relative permeability wrt effective saturation
Definition: RichardsRelPermBW.C:106
RichardsRelPermBW::drelperm
Real drelperm(Real seff) const
derivative of relative permeability wrt effective saturation
Definition: RichardsRelPermBW.C:91
RichardsRelPerm.h
RichardsRelPermBW::_c
Real _c
Definition: RichardsRelPermBW.h:61
RichardsRelPermBW::_kn
Real _kn
Definition: RichardsRelPermBW.h:55
RichardsRelPermBW::relperm
Real relperm(Real seff) const
relative permeability as a function of effective saturation
Definition: RichardsRelPermBW.C:77