www.mooseframework.org
RichardsSeff1BWsmall.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 RICHARDSSEFF1BWSMALL_H
9 #define RICHARDSSEFF1BWSMALL_H
10 
11 #include "RichardsSeff.h"
12 
14 
15 template <>
16 InputParameters validParams<RichardsSeff1BWsmall>();
17 
26 {
27 public:
28  RichardsSeff1BWsmall(const InputParameters & parameters);
29 
34  Real LambertW(const double z) const;
35 
42  Real seff(std::vector<const VariableValue *> p, unsigned int qp) const;
43 
51  void
52  dseff(std::vector<const VariableValue *> p, unsigned int qp, std::vector<Real> & result) const;
53 
61  void d2seff(std::vector<const VariableValue *> p,
62  unsigned int qp,
63  std::vector<std::vector<Real>> & result) const;
64 
65 protected:
67  Real _sn;
68 
70  Real _ss;
71 
73  Real _c;
74 
76  Real _las;
77 };
78 
79 #endif // RICHARDSSEFF1BWSMALL_H
RichardsSeff1BWsmall(const InputParameters &parameters)
void d2seff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< std::vector< Real >> &result) const
second derivative of effective saturation as a function of porepressure
Real seff(std::vector< const VariableValue * > p, unsigned int qp) const
effective saturation as a function of porepressure
Base class for effective saturation as a function of porepressure(s) The functions seff...
Definition: RichardsSeff.h:22
"Broadbridge-White" form of effective saturation for Kn small as a function of porepressure (not capi...
void dseff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const
derivative of effective saturation as a function of porepressure
InputParameters validParams< RichardsSeff1BWsmall >()
Real _las
BW&#39;s lambda_s parameter multiplied by (fluiddensity*gravity)
Real _sn
BW&#39;s initial effective saturation.
Real _c
BW&#39;s C parameter.
Real LambertW(const double z) const
LambertW function, returned value satisfies W(z)*exp(W(z))=z.
Real _ss
Effective saturation where porepressure = 0.