www.mooseframework.org
RichardsSeff2gasVGshifted.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 RICHARDSSEFF2GASVGSHIFTED_H
9 #define RICHARDSSEFF2GASVGSHIFTED_H
10 
11 #include "RichardsSeff.h"
12 #include "RichardsSeffVG.h"
13 
15 
16 template <>
18 
28 {
29 public:
30  RichardsSeff2gasVGshifted(const InputParameters & parameters);
31 
38  Real seff(std::vector<const VariableValue *> p, unsigned int qp) const;
39 
47  void
48  dseff(std::vector<const VariableValue *> p, unsigned int qp, std::vector<Real> & result) const;
49 
57  void d2seff(std::vector<const VariableValue *> p,
58  unsigned int qp,
59  std::vector<std::vector<Real>> & result) const;
60 
61 protected:
63  Real _al;
64 
66  Real _m;
67 
69  Real _shift;
70 
72  Real _scale;
73 };
74 
75 #endif // RICHARDSSEFF2GASVGSHIFTED_H
Real seff(std::vector< const VariableValue * > p, unsigned int qp) const
gas effective saturation
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 _al
van Genuchten alpha parameter
RichardsSeff2gasVGshifted(const InputParameters &parameters)
Base class for effective saturation as a function of porepressure(s) The functions seff...
Definition: RichardsSeff.h:22
Real _m
van Genuchten m parameter
InputParameters validParams< RichardsSeff2gasVGshifted >()
void dseff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const
derivative of effective saturation as a function of porepressure
Shifted van-Genuchten water effective saturation as a function of (Pwater, Pgas), and its derivs wrt ...