3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | Static Public Member Functions | List of all members
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 >

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

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

export the type used for displacement vectors

◆ Indices

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

export the type encapsulating primary variable indices

◆ PrimaryVariables

template<class Traits >
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

◆ SolidState

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

export type of solid state

◆ SolidSystem

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

export the solid system used

Member Function Documentation

◆ displacement() [1/2]

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

Returns the displacement vector within the scv in \([m]\).

◆ displacement() [2/2]

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

Returns the permeability within the control volume in \([m]\).

◆ extrusionFactor()

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

TODO We don't know yet how to interpret extrusion for mechanics.

◆ priVar()

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

Return a component of primary variable vector for a given index.

◆ priVars()

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

Return the vector of primary variables.

◆ solidDensity()

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

Return the average porosity \(\mathrm{[-]}\) within the control volume.

◆ 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

Update all quantities for a given control volume.

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: