Element-wise calculation of the local residual for problems using the poroelastic model.
More...
#include <dumux/geomechanics/poroelastic/localresidual.hh>
template<class TypeTag>
class Dumux::PoroElasticLocalResidual< TypeTag >
Element-wise calculation of the local residual for problems using the poroelastic model.
|
NumEqVector | computeSource (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Calculate the source term of the equation. More...
|
|
NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const |
| For the elastic model the storage term is zero since we neglect inertia forces. More...
|
|
NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const |
| Evaluates the force in all grid directions acting on a face of a sub-control volume. More...
|
|
◆ computeFlux()
template<class TypeTag >
NumEqVector Dumux::ElasticLocalResidual< TypeTag >::computeFlux |
( |
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const SubControlVolumeFace & |
scvf, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache |
|
) |
| const |
|
inlineinherited |
Evaluates the force in all grid directions acting on a face of a sub-control volume.
- Parameters
-
problem | The problem |
element | The current element. |
fvGeometry | The finite-volume geometry |
elemVolVars | The volume variables of the current element |
scvf | The sub control volume face to compute the flux on |
elemFluxVarsCache | The cache related to flux computation |
◆ computeSource()
template<class TypeTag >
NumEqVector Dumux::PoroElasticLocalResidual< TypeTag >::computeSource |
( |
const Problem & |
problem, |
|
|
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const SubControlVolume & |
scv |
|
) |
| const |
|
inline |
Calculate the source term of the equation.
- Parameters
-
problem | The problem to solve |
element | The DUNE Codim<0> entity for which the residual ought to be calculated |
fvGeometry | The finite-volume geometry of the element |
elemVolVars | The volume variables associated with the element stencil |
scv | The sub-control volume over which we integrate the source term |
- Note
- This is the default implementation for geomechanical models adding to the user defined sources the source stemming from the gravitational acceleration.
◆ computeStorage()
template<class TypeTag >
NumEqVector Dumux::ElasticLocalResidual< TypeTag >::computeStorage |
( |
const Problem & |
problem, |
|
|
const SubControlVolume & |
scv, |
|
|
const VolumeVariables & |
volVars |
|
) |
| const |
|
inlineinherited |
For the elastic model the storage term is zero since we neglect inertia forces.
- Parameters
-
problem | The problem |
scv | The sub control volume |
volVars | The current or previous volVars |
The documentation for this class was generated from the following file: