www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
RichardsSeff1VG Class Reference

Effective saturation as a function of porepressure using the van Genuchten formula. More...

#include <RichardsSeff1VG.h>

Inheritance diagram for RichardsSeff1VG:
[legend]

Public Member Functions

 RichardsSeff1VG (const InputParameters &parameters)
 
Real seff (std::vector< const VariableValue * > p, unsigned int qp) const
 effective saturation as a function of porepressure More...
 
void dseff (std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const
 derivative of effective saturation as a function of porepressure More...
 
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 More...
 
void initialize ()
 
void execute ()
 
void finalize ()
 

Protected Attributes

Real _al
 van Genuchten alpha parameter More...
 
Real _m
 van Genuchten m parameter More...
 

Detailed Description

Effective saturation as a function of porepressure using the van Genuchten formula.

Note this is not a function of capillary pressure: i use porepressure instead, so seff = 1 for p >= 0.

Definition at line 25 of file RichardsSeff1VG.h.

Constructor & Destructor Documentation

RichardsSeff1VG::RichardsSeff1VG ( const InputParameters &  parameters)

Definition at line 35 of file RichardsSeff1VG.C.

36  : RichardsSeff(parameters), _al(getParam<Real>("al")), _m(getParam<Real>("m"))
37 {
38 }
RichardsSeff(const InputParameters &parameters)
Definition: RichardsSeff.C:22
Real _al
van Genuchten alpha parameter
Real _m
van Genuchten m parameter

Member Function Documentation

void RichardsSeff1VG::d2seff ( std::vector< const VariableValue * >  p,
unsigned int  qp,
std::vector< std::vector< Real >> &  result 
) const
virtual

second derivative of effective saturation as a function of porepressure

Parameters
pporepressure in the element. Note that (*p[0])[qp] is the porepressure at quadpoint qp
qpthe quad point to evaluate effective saturation at
resultthe derivtives will be placed in this array

Implements RichardsSeff.

Reimplemented in RichardsSeff1VGcut.

Definition at line 55 of file RichardsSeff1VG.C.

Referenced by RichardsSeff1VGcut::d2seff().

58 {
59  result[0][0] = RichardsSeffVG::d2seff((*p[0])[qp], _al, _m);
60 }
Real _al
van Genuchten alpha parameter
static Real d2seff(Real p, Real al, Real m)
2nd derivative of effective saturation wrt porepressure
Real _m
van Genuchten m parameter
void RichardsSeff1VG::dseff ( std::vector< const VariableValue * >  p,
unsigned int  qp,
std::vector< Real > &  result 
) const
virtual

derivative of effective saturation as a function of porepressure

Parameters
pporepressure in the element. Note that (*p[0])[qp] is the porepressure at quadpoint qp
qpthe quad point to evaluate effective saturation at
resultthe derivtives will be placed in this array

Implements RichardsSeff.

Reimplemented in RichardsSeff1VGcut.

Definition at line 47 of file RichardsSeff1VG.C.

Referenced by RichardsSeff1VGcut::dseff().

50 {
51  result[0] = RichardsSeffVG::dseff((*p[0])[qp], _al, _m);
52 }
static Real dseff(Real p, Real al, Real m)
derivative of effective saturation wrt porepressure
Real _al
van Genuchten alpha parameter
Real _m
van Genuchten m parameter
void RichardsSeff::execute ( )
inherited

Definition at line 30 of file RichardsSeff.C.

31 {
32 }
void RichardsSeff::finalize ( )
inherited

Definition at line 35 of file RichardsSeff.C.

36 {
37 }
void RichardsSeff::initialize ( )
inherited

Definition at line 25 of file RichardsSeff.C.

26 {
27 }
Real RichardsSeff1VG::seff ( std::vector< const VariableValue * >  p,
unsigned int  qp 
) const
virtual

effective saturation as a function of porepressure

Parameters
pporepressure in the element. Note that (*p[0])[qp] is the porepressure at quadpoint qp
qpthe quad point to evaluate effective saturation at

Implements RichardsSeff.

Reimplemented in RichardsSeff1VGcut.

Definition at line 41 of file RichardsSeff1VG.C.

Referenced by RichardsSeff1VGcut::seff().

42 {
43  return RichardsSeffVG::seff((*p[0])[qp], _al, _m);
44 }
static Real seff(Real p, Real al, Real m)
effective saturation as a fcn of porepressure
Real _al
van Genuchten alpha parameter
Real _m
van Genuchten m parameter

Member Data Documentation

Real RichardsSeff1VG::_al
protected

van Genuchten alpha parameter

Definition at line 61 of file RichardsSeff1VG.h.

Referenced by d2seff(), dseff(), and seff().

Real RichardsSeff1VG::_m
protected

van Genuchten m parameter

Definition at line 64 of file RichardsSeff1VG.h.

Referenced by d2seff(), dseff(), and seff().


The documentation for this class was generated from the following files: