Contains the quantities which are constant within a finite volume in the elastic model.
More...
#include <dumux/geomechanics/elastic/volumevariables.hh>
template<class Traits>
class Dumux::ElasticVolumeVariables< Traits >
- Template Parameters
-
| Traits | Class encapsulating types to be used by the vol vars |
|
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| | The elastic model only makes sense with inert solid systems.
|
| using | DisplacementVector = typename Traits::DisplacementVector |
| | export the type used for displacement vectors
|
| using | Indices = typename ModelTraits::Indices |
| | export the type encapsulating primary variable indices
|
| using | SolidState = typename Traits::SolidState |
| | export type of solid state
|
| using | SolidSystem = typename Traits::SolidSystem |
| | export the solid system used
|
|
| template<class ElemSol, class Problem, class Element, class Scv> |
| void | update (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv) |
| | Update all quantities for a given control volume.
|
| Scalar | solidDensity () const |
| | Return the average porosity \(\mathrm{[-]}\) within the control volume.
|
| Scalar | displacement (unsigned int dir) const |
| | Returns the permeability within the control volume in \([m]\).
|
| DisplacementVector | displacement () const |
| | Returns the displacement vector within the scv in \([m]\).
|
| Scalar | priVar (const int pvIdx) const |
| | Return a component of primary variable vector for a given index.
|
| const PrimaryVariables & | priVars () const |
| | Return the vector of primary variables.
|
|
| static constexpr Scalar | extrusionFactor () |
| | TODO We don't know yet how to interpret extrusion for mechanics.
|
◆ DisplacementVector
◆ Indices
◆ PrimaryVariables
export the type used for the primary variables
◆ SolidState
◆ SolidSystem
◆ displacement() [1/2]
◆ displacement() [2/2]
◆ extrusionFactor()
◆ priVar()
◆ priVars()
◆ solidDensity()
◆ update()
template<class Traits>
template<class ElemSol, class Problem, class Element, class Scv>
| void Dumux::ElasticVolumeVariables< Traits >::update |
( |
const ElemSol & | elemSol, |
|
|
const Problem & | problem, |
|
|
const Element & | element, |
|
|
const Scv & | scv ) |
|
inline |
- Parameters
-
| elemSol | A vector containing all primary variables connected to the element |
| problem | The object specifying the problem which ought to be simulated |
| element | An element which contains part of the control volume |
| scv | The sub-control volume |
set the volume fractions of the solid components
The documentation for this class was generated from the following file: