version 3.10-dev
Dumux::ElasticVolumeVariables< Traits > Class Template Reference

Contains the quantities which are constant within a finite volume in the elastic model. More...

#include <dumux/geomechanics/elastic/volumevariables.hh>

Description

template<class Traits>
class Dumux::ElasticVolumeVariables< Traits >
Template Parameters
TraitsClass 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 PrimaryVariablespriVars () 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...
 

Member Typedef Documentation

◆ DisplacementVector

template<class Traits >
using Dumux::ElasticVolumeVariables< Traits >::DisplacementVector = typename Traits::DisplacementVector

◆ Indices

template<class Traits >
using Dumux::ElasticVolumeVariables< Traits >::Indices = typename ModelTraits::Indices

◆ PrimaryVariables

template<class Traits >
using Dumux::ElasticVolumeVariables< Traits >::PrimaryVariables = typename Traits::PrimaryVariables

export the type used for the primary variables

◆ SolidState

template<class Traits >
using Dumux::ElasticVolumeVariables< Traits >::SolidState = typename Traits::SolidState

◆ SolidSystem

template<class Traits >
using Dumux::ElasticVolumeVariables< Traits >::SolidSystem = typename Traits::SolidSystem

Member Function Documentation

◆ displacement() [1/2]

template<class Traits >
DisplacementVector Dumux::ElasticVolumeVariables< Traits >::displacement ( ) const
inline

◆ displacement() [2/2]

template<class Traits >
Scalar Dumux::ElasticVolumeVariables< Traits >::displacement ( unsigned int  dir) const
inline

◆ extrusionFactor()

template<class Traits >
static constexpr Scalar Dumux::ElasticVolumeVariables< Traits >::extrusionFactor ( )
inlinestaticconstexpr

◆ priVar()

template<class Traits >
Scalar Dumux::ElasticVolumeVariables< Traits >::priVar ( const int  pvIdx) const
inline

◆ priVars()

template<class Traits >
const PrimaryVariables & Dumux::ElasticVolumeVariables< Traits >::priVars ( ) const
inline

◆ solidDensity()

template<class Traits >
Scalar Dumux::ElasticVolumeVariables< Traits >::solidDensity ( ) const
inline

◆ 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
elemSolA vector containing all primary variables connected to the element
problemThe object specifying the problem which ought to be simulated
elementAn element which contains part of the control volume
scvThe sub-control volume

set the volume fractions of the solid components


The documentation for this class was generated from the following file: