www.mooseframework.org
Public Member Functions | List of all members
RichardsSUPG Class Referenceabstract

base class for SUPG of the Richards equation You must override all the functions below with your specific implementation More...

#include <RichardsSUPG.h>

Inheritance diagram for RichardsSUPG:
[legend]

Public Member Functions

 RichardsSUPG (const InputParameters &parameters)
 
void initialize ()
 
void execute ()
 
void finalize ()
 
virtual RealVectorValue velSUPG (RealTensorValue perm, RealVectorValue gradp, Real density, RealVectorValue gravity) const =0
 SUPG velocity This points in direction of information propagation. More...
 
virtual RealTensorValue dvelSUPG_dgradp (RealTensorValue perm) const =0
 derivative of SUPG velocity wrt gradient of porepressure More...
 
virtual RealVectorValue dvelSUPG_dp (RealTensorValue perm, Real density_prime, RealVectorValue gravity) const =0
 derivative of SUPG velocity wrt porepressure (keeping gradp fixed) More...
 
virtual RealVectorValue bb (RealVectorValue vel, int dimen, RealVectorValue xi_prime, RealVectorValue eta_prime, RealVectorValue zeta_prime) const =0
 |bb| ~ 2*velocity/element_length More...
 
virtual RealVectorValue dbb2_dgradp (RealVectorValue vel, RealTensorValue dvel_dgradp, RealVectorValue xi_prime, RealVectorValue eta_prime, RealVectorValue zeta_prime) const =0
 derivative of bb*bb wrt gradient of porepressure More...
 
virtual Real dbb2_dp (RealVectorValue vel, RealVectorValue dvel_dp, RealVectorValue xi_prime, RealVectorValue eta_prime, RealVectorValue zeta_prime) const =0
 derivative of bb*bb wrt porepressure More...
 
virtual Real tauSUPG (RealVectorValue vel, Real traceperm, RealVectorValue b) const =0
 The SUPG tau parameter. More...
 
virtual RealVectorValue dtauSUPG_dgradp (RealVectorValue vel, RealTensorValue dvel_dgradp, Real traceperm, RealVectorValue b, RealVectorValue db2_dgradp) const =0
 derivative of tau wrt gradient of porepressure More...
 
virtual Real dtauSUPG_dp (RealVectorValue vel, RealVectorValue dvel_dp, Real traceperm, RealVectorValue b, Real db2_dp) const =0
 derivative of tau wrt porepressure (keeping gradp fixed) More...
 
virtual bool SUPG_trivial () const =0
 Returns true if SUPG is trivial. More...
 

Detailed Description

base class for SUPG of the Richards equation You must override all the functions below with your specific implementation

Definition at line 24 of file RichardsSUPG.h.

Constructor & Destructor Documentation

RichardsSUPG::RichardsSUPG ( const InputParameters &  parameters)

Definition at line 21 of file RichardsSUPG.C.

21 : GeneralUserObject(parameters) {}

Member Function Documentation

virtual RealVectorValue RichardsSUPG::bb ( RealVectorValue  vel,
int  dimen,
RealVectorValue  xi_prime,
RealVectorValue  eta_prime,
RealVectorValue  zeta_prime 
) const
pure virtual

|bb| ~ 2*velocity/element_length

Parameters
velSUPG velocity
dimendimension of problem
xi_primespatial gradient of the isoparametric coordinate xi
eta_primespatial gradient of the isoparametric coordinate eta
zeta_primespatial gradient of the isoparametric coordinate zeta

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual RealVectorValue RichardsSUPG::dbb2_dgradp ( RealVectorValue  vel,
RealTensorValue  dvel_dgradp,
RealVectorValue  xi_prime,
RealVectorValue  eta_prime,
RealVectorValue  zeta_prime 
) const
pure virtual

derivative of bb*bb wrt gradient of porepressure

Parameters
velSUPG velocity
dvel_dgradpderivative of velocity wrt gradient of porepressure
xi_primespatial gradient of the isoparametric coordinate xi
eta_primespatial gradient of the isoparametric coordinate eta
zeta_primespatial gradient of the isoparametric coordinate zeta

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual Real RichardsSUPG::dbb2_dp ( RealVectorValue  vel,
RealVectorValue  dvel_dp,
RealVectorValue  xi_prime,
RealVectorValue  eta_prime,
RealVectorValue  zeta_prime 
) const
pure virtual

derivative of bb*bb wrt porepressure

Parameters
velSUPG velocity
dvel_dpderivative of velocity wrt porepressure
xi_primespatial gradient of the isoparametric coordinate xi
eta_primespatial gradient of the isoparametric coordinate eta
zeta_primespatial gradient of the isoparametric coordinate zeta

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual RealVectorValue RichardsSUPG::dtauSUPG_dgradp ( RealVectorValue  vel,
RealTensorValue  dvel_dgradp,
Real  traceperm,
RealVectorValue  b,
RealVectorValue  db2_dgradp 
) const
pure virtual

derivative of tau wrt gradient of porepressure

Parameters
velSUPG velocity
dvel_dgradpderivative of the SUPG velocity wrt gradient of porepressure
tracepermtrace of the permeability tensor for the material
bthe b parameter: |b| ~ 2*SUPGvelocity/element_length
db2_dgradpderivative of b*b wrt gradient of porepressure

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual Real RichardsSUPG::dtauSUPG_dp ( RealVectorValue  vel,
RealVectorValue  dvel_dp,
Real  traceperm,
RealVectorValue  b,
Real  db2_dp 
) const
pure virtual

derivative of tau wrt porepressure (keeping gradp fixed)

Parameters
velSUPG velocity
dvel_dpderivative of the SUPG velocity wrt porepressure
tracepermtrace of the permeability tensor for the material
bthe b parameter: |b| ~ 2*SUPGvelocity/element_length
db2_dpderivative of b*b wrt porepressure

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual RealTensorValue RichardsSUPG::dvelSUPG_dgradp ( RealTensorValue  perm) const
pure virtual

derivative of SUPG velocity wrt gradient of porepressure

Parameters
permpermeability tensor

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual RealVectorValue RichardsSUPG::dvelSUPG_dp ( RealTensorValue  perm,
Real  density_prime,
RealVectorValue  gravity 
) const
pure virtual

derivative of SUPG velocity wrt porepressure (keeping gradp fixed)

Parameters
permpermeability tensor
density_primederivative of fluid density wrt porepressure
gravitygravitational acceleration vector

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

void RichardsSUPG::execute ( )

Definition at line 29 of file RichardsSUPG.C.

30 {
31 }
void RichardsSUPG::finalize ( )

Definition at line 34 of file RichardsSUPG.C.

35 {
36 }
void RichardsSUPG::initialize ( )

Definition at line 24 of file RichardsSUPG.C.

25 {
26 }
virtual bool RichardsSUPG::SUPG_trivial ( ) const
pure virtual

Returns true if SUPG is trivial.

This may used for optimization since typically SUPG stuff is quite expensive to calculate

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual Real RichardsSUPG::tauSUPG ( RealVectorValue  vel,
Real  traceperm,
RealVectorValue  b 
) const
pure virtual

The SUPG tau parameter.

This dictates how strong the SUPG is

Parameters
velSUPG velocity
tracepermtrace of the permeability tensor for the material
bthe b parameter: |b| ~ 2*SUPGvelocity/element_length

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.

virtual RealVectorValue RichardsSUPG::velSUPG ( RealTensorValue  perm,
RealVectorValue  gradp,
Real  density,
RealVectorValue  gravity 
) const
pure virtual

SUPG velocity This points in direction of information propagation.

Parameters
permpermeability tensor
gradpgradient of porepressure
densityfluid density
gravitygravitational acceleration vector

Implemented in RichardsSUPGstandard, and RichardsSUPGnone.


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