www.mooseframework.org
RichardsSeff1VG.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 RICHARDSSEFF1VG_H
9 #define RICHARDSSEFF1VG_H
10 
11 #include "RichardsSeff.h"
12 #include "RichardsSeffVG.h"
13 
14 class RichardsSeff1VG;
15 
16 template <>
17 InputParameters validParams<RichardsSeff1VG>();
18 
26 {
27 public:
28  RichardsSeff1VG(const InputParameters & parameters);
29 
36  Real seff(std::vector<const VariableValue *> p, unsigned int qp) const;
37 
45  void
46  dseff(std::vector<const VariableValue *> p, unsigned int qp, std::vector<Real> & result) const;
47 
55  void d2seff(std::vector<const VariableValue *> p,
56  unsigned int qp,
57  std::vector<std::vector<Real>> & result) const;
58 
59 protected:
61  Real _al;
62 
64  Real _m;
65 };
66 
67 #endif // RICHARDSSEFF1VG_H
Base class for effective saturation as a function of porepressure(s) The functions seff...
Definition: RichardsSeff.h:22
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
Effective saturation as a function of porepressure using the van Genuchten formula.
Real _al
van Genuchten alpha parameter
RichardsSeff1VG(const InputParameters &parameters)
Real _m
van Genuchten m parameter
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< RichardsSeff1VG >()