Contains the quantities which are constant within a finite volume in the elastic model. More...
#include <dumux/geomechanics/elastic/volumevariables.hh>
Contains the quantities which are constant within a finite volume in the elastic model.
| Traits | Class encapsulating types to be used by the vol vars |
Public Types | |
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| The elastic model only makes sense with inert solid systems. More... | |
| using | DisplacementVector = typename Traits::DisplacementVector |
| export the type used for displacement vectors More... | |
| using | Indices = typename ModelTraits::Indices |
| export the type encapsulating primary variable indices More... | |
| using | SolidState = typename Traits::SolidState |
| export type of solid state More... | |
| using | SolidSystem = typename Traits::SolidSystem |
| export the solid system used More... | |
Public Member Functions | |
| 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. More... | |
| Scalar | solidDensity () const |
| Return the average porosity \(\mathrm{[-]}\) within the control volume. More... | |
| Scalar | displacement (unsigned int dir) const |
| Returns the permeability within the control volume in \([m]\). More... | |
| DisplacementVector | displacement () const |
| Returns the displacement vector within the scv in \([m]\). More... | |
| Scalar | priVar (const int pvIdx) const |
| Return a component of primary variable vector for a given index. More... | |
| const PrimaryVariables & | priVars () const |
| Return the vector of primary variables. More... | |
Static Public Member Functions | |
| static constexpr Scalar | extrusionFactor () |
| TODO We don't know yet how to interpret extrusion for mechanics. More... | |
| using Dumux::ElasticVolumeVariables< Traits >::DisplacementVector = typename Traits::DisplacementVector |
export the type used for displacement vectors
| using Dumux::ElasticVolumeVariables< Traits >::Indices = typename ModelTraits::Indices |
export the type encapsulating primary variable indices
| using Dumux::ElasticVolumeVariables< Traits >::PrimaryVariables = typename Traits::PrimaryVariables |
The elastic model only makes sense with inert solid systems.
export the type used for the primary variables
| using Dumux::ElasticVolumeVariables< Traits >::SolidState = typename Traits::SolidState |
export type of solid state
| using Dumux::ElasticVolumeVariables< Traits >::SolidSystem = typename Traits::SolidSystem |
export the solid system used
|
inline |
Returns the displacement vector within the scv in \([m]\).
|
inline |
Returns the permeability within the control volume in \([m]\).
|
inlinestaticconstexpr |
TODO We don't know yet how to interpret extrusion for mechanics.
|
inline |
Return a component of primary variable vector for a given index.
|
inline |
Return the vector of primary variables.
|
inline |
Return the average porosity \(\mathrm{[-]}\) within the control volume.
|
inline |
Update all quantities for a given control volume.
| 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