Base class for fluid density as a function of porepressure The functions density, ddensity and d2density must be over-ridden in derived classes to provide actual values. More...
#include <RichardsDensity.h>
Public Member Functions | |
RichardsDensity (const InputParameters ¶meters) | |
void | initialize () |
void | execute () |
void | finalize () |
virtual Real | density (Real p) const =0 |
fluid density as a function of porepressure This must be over-ridden in derived classes to provide an actual value More... | |
virtual Real | ddensity (Real p) const =0 |
derivative of fluid density wrt porepressure This must be over-ridden in derived classes to provide an actual value More... | |
virtual Real | d2density (Real p) const =0 |
second derivative of fluid density wrt porepressure This must be over-ridden in derived classes to provide an actual value More... | |
Base class for fluid density as a function of porepressure The functions density, ddensity and d2density must be over-ridden in derived classes to provide actual values.
Definition at line 24 of file RichardsDensity.h.
RichardsDensity::RichardsDensity | ( | const InputParameters & | parameters | ) |
Definition at line 24 of file RichardsDensity.C.
|
pure virtual |
second derivative of fluid density wrt porepressure This must be over-ridden in derived classes to provide an actual value
p | porepressure |
Implemented in RichardsDensityIdeal, RichardsDensityVDW, RichardsDensityMethane20degC, RichardsDensityConstBulkCut, and RichardsDensityConstBulk.
Referenced by RichardsDensityPrimePrimeAux::computeValue().
|
pure virtual |
derivative of fluid density wrt porepressure This must be over-ridden in derived classes to provide an actual value
p | porepressure |
Implemented in RichardsDensityIdeal, RichardsDensityVDW, RichardsDensityMethane20degC, RichardsDensityConstBulkCut, and RichardsDensityConstBulk.
Referenced by Q2PPorepressureFlux::computeQpJac(), Q2PSaturationFlux::computeQpJac(), Q2PNodalMass::computeQpJacobian(), Q2PNodalMass::computeQpOffDiagJacobian(), Q2PSaturationDiffusion::computeQpOffDiagJacobian(), RichardsDensityPrimeAux::computeValue(), RichardsFullyUpwindFlux::prepareNodalValues(), Q2PPorepressureFlux::prepareNodalValues(), Q2PSaturationFlux::prepareNodalValues(), Q2PBorehole::prepareNodalValues(), Q2PPiecewiseLinearSink::prepareNodalValues(), RichardsBorehole::prepareNodalValues(), and RichardsPiecewiseLinearSink::prepareNodalValues().
|
pure virtual |
fluid density as a function of porepressure This must be over-ridden in derived classes to provide an actual value
p | porepressure |
Implemented in RichardsDensityVDW, RichardsDensityMethane20degC, RichardsDensityConstBulkCut, RichardsDensityConstBulk, and RichardsDensityIdeal.
Referenced by Q2PPiecewiseLinearSinkFlux::computeQpIntegral(), Q2PNodalMass::computeQpJacobian(), Q2PSaturationDiffusion::computeQpJacobian(), Q2PNodalMass::computeQpOffDiagJacobian(), Q2PNodalMass::computeQpResidual(), Q2PNegativeNodalMassOld::computeQpResidual(), Q2PSaturationDiffusion::computeQpResidual(), Q2PPorepressureFlux::computeQpResidual(), Q2PSaturationFlux::computeQpResidual(), RichardsDensityAux::computeValue(), RichardsFullyUpwindFlux::prepareNodalValues(), Q2PPorepressureFlux::prepareNodalValues(), Q2PSaturationFlux::prepareNodalValues(), Q2PPiecewiseLinearSink::prepareNodalValues(), Q2PBorehole::prepareNodalValues(), RichardsBorehole::prepareNodalValues(), and RichardsPiecewiseLinearSink::prepareNodalValues().
void RichardsDensity::execute | ( | ) |
Definition at line 34 of file RichardsDensity.C.
void RichardsDensity::finalize | ( | ) |
Definition at line 39 of file RichardsDensity.C.
void RichardsDensity::initialize | ( | ) |
Definition at line 29 of file RichardsDensity.C.