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 27 of file RichardsSeff1VG.h.

Constructor & Destructor Documentation

◆ RichardsSeff1VG()

RichardsSeff1VG::RichardsSeff1VG ( const InputParameters &  parameters)

Definition at line 39 of file RichardsSeff1VG.C.

40  : RichardsSeff(parameters), _al(getParam<Real>("al")), _m(getParam<Real>("m"))
41 {
42 }
RichardsSeff(const InputParameters &parameters)
Definition: RichardsSeff.C:24
Real _al
van Genuchten alpha parameter
Real _m
van Genuchten m parameter

Member Function Documentation

◆ d2seff()

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 59 of file RichardsSeff1VG.C.

Referenced by RichardsSeff1VGcut::d2seff().

62 {
63  result[0][0] = RichardsSeffVG::d2seff((*p[0])[qp], _al, _m);
64 }
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

◆ dseff()

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 51 of file RichardsSeff1VG.C.

Referenced by RichardsSeff1VGcut::dseff().

54 {
55  result[0] = RichardsSeffVG::dseff((*p[0])[qp], _al, _m);
56 }
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

◆ execute()

void RichardsSeff::execute ( )
inherited

Definition at line 32 of file RichardsSeff.C.

33 {
34 }

◆ finalize()

void RichardsSeff::finalize ( )
inherited

Definition at line 37 of file RichardsSeff.C.

38 {
39 }

◆ initialize()

void RichardsSeff::initialize ( )
inherited

Definition at line 27 of file RichardsSeff.C.

28 {
29 }

◆ seff()

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 45 of file RichardsSeff1VG.C.

Referenced by RichardsSeff1VGcut::seff().

46 {
47  return RichardsSeffVG::seff((*p[0])[qp], _al, _m);
48 }
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

◆ _al

Real RichardsSeff1VG::_al
protected

van Genuchten alpha parameter

Definition at line 63 of file RichardsSeff1VG.h.

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

◆ _m

Real RichardsSeff1VG::_m
protected

van Genuchten m parameter

Definition at line 66 of file RichardsSeff1VG.h.

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


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