Kernel = (mass - mass_old)/dt where mass = porosity*density*saturation This is used for the time derivative in Richards simulations Note that it is not lumped, so usually you want to use RichardsLumpedMassChange instead. More...
#include <RichardsMassChange.h>
Public Member Functions | |
RichardsMassChange (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Real | computeQpJac (unsigned int wrt_num) |
Derivative of residual with respect to wrt_num Richards variable This is used by both computeQpJacobian and computeQpOffDiagJacobian. More... | |
Protected Attributes | |
const RichardsVarNames & | _richards_name_UO |
holds info on the Richards variables More... | |
unsigned int | _pvar |
the Richards variable number eg, if richards name = 'pwater pgas poil', and this kernel is for pgas, then _pvar = 1 More... | |
bool | _use_supg |
whether to use SUPG for this kernel (not recommended) More... | |
const MaterialProperty< std::vector< Real > > & | _mass |
fluid mass (or fluid masses in multiphase) at quadpoints More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dmass |
d(fluid mass_i)/d(var_j) More... | |
const MaterialProperty< std::vector< Real > > & | _mass_old |
old value of fluid mass (or fluid masses in multiphase) at quadpoints More... | |
const MaterialProperty< std::vector< RealVectorValue > > & | _tauvel_SUPG |
tau_SUPG More... | |
const MaterialProperty< std::vector< std::vector< RealTensorValue > > > & | _dtauvel_SUPG_dgradv |
derivative of tau_SUPG wrt grad(variable) More... | |
const MaterialProperty< std::vector< std::vector< RealVectorValue > > > & | _dtauvel_SUPG_dv |
deriv of tau_SUPG wrt variable More... | |
Kernel = (mass - mass_old)/dt where mass = porosity*density*saturation This is used for the time derivative in Richards simulations Note that it is not lumped, so usually you want to use RichardsLumpedMassChange instead.
Definition at line 27 of file RichardsMassChange.h.
RichardsMassChange::RichardsMassChange | ( | const InputParameters & | parameters | ) |
Definition at line 35 of file RichardsMassChange.C.
|
protected |
Derivative of residual with respect to wrt_num Richards variable This is used by both computeQpJacobian and computeQpOffDiagJacobian.
wrt_num | take the derivative of the residual wrt this Richards variable |
Definition at line 64 of file RichardsMassChange.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protectedvirtual |
Definition at line 84 of file RichardsMassChange.C.
|
protectedvirtual |
Definition at line 90 of file RichardsMassChange.C.
|
protectedvirtual |
Definition at line 55 of file RichardsMassChange.C.
|
protected |
d(fluid mass_i)/d(var_j)
Definition at line 56 of file RichardsMassChange.h.
Referenced by computeQpJac().
|
protected |
derivative of tau_SUPG wrt grad(variable)
Definition at line 65 of file RichardsMassChange.h.
Referenced by computeQpJac().
|
protected |
deriv of tau_SUPG wrt variable
Definition at line 68 of file RichardsMassChange.h.
Referenced by computeQpJac().
|
protected |
fluid mass (or fluid masses in multiphase) at quadpoints
Definition at line 53 of file RichardsMassChange.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
old value of fluid mass (or fluid masses in multiphase) at quadpoints
Definition at line 59 of file RichardsMassChange.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
the Richards variable number eg, if richards name = 'pwater pgas poil', and this kernel is for pgas, then _pvar = 1
Definition at line 47 of file RichardsMassChange.h.
Referenced by computeQpJac(), computeQpJacobian(), and computeQpResidual().
|
protected |
holds info on the Richards variables
Definition at line 40 of file RichardsMassChange.h.
Referenced by computeQpOffDiagJacobian().
|
protected |
tau_SUPG
Definition at line 62 of file RichardsMassChange.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
whether to use SUPG for this kernel (not recommended)
Definition at line 50 of file RichardsMassChange.h.
Referenced by computeQpJac(), and computeQpResidual().