Ewoms::StokesIntensiveQuantities< TypeTag > Class Template Reference

Contains the intensive quantities of the Stokes model. More...

#include <stokesintensivequantities.hh>

Inheritance diagram for Ewoms::StokesIntensiveQuantities< TypeTag >:
Inheritance graph

Public Member Functions

void update (const ElementContext &elemCtx, int dofIdx, int timeIdx)
 
void updateScvGradients (const ElementContext &elemCtx, int dofIdx, int timeIdx)
 
const FluidState & fluidState () const
 Returns the thermodynamic state of the fluid for the control-volume. More...
 
Scalar porosity () const
 Returns the porosity of the medium. More...
 
const DimVector & velocity () const
 Returns the average velocity in the sub-control volume. More...
 
const DimVector & velocityCenter () const
 Returns the velocity at the center in the sub-control volume. More...
 
const DimVector & pressureGradient () const
 Returns the pressure gradient in the sub-control volume. More...
 
const DimVector & gravity () const
 Returns the gravitational acceleration vector in the sub-control volume. More...
 

Detailed Description

template<class TypeTag>
class Ewoms::StokesIntensiveQuantities< TypeTag >

Contains the intensive quantities of the Stokes model.

Member Function Documentation

template<class TypeTag >
const FluidState& Ewoms::StokesIntensiveQuantities< TypeTag >::fluidState ( ) const
inline

Returns the thermodynamic state of the fluid for the control-volume.

template<class TypeTag >
const DimVector& Ewoms::StokesIntensiveQuantities< TypeTag >::gravity ( ) const
inline

Returns the gravitational acceleration vector in the sub-control volume.

template<class TypeTag >
Scalar Ewoms::StokesIntensiveQuantities< TypeTag >::porosity ( ) const
inline

Returns the porosity of the medium.

For the Navier-Stokes model this quantity does not make sense because there is no porous medium. The method is included here to allow the Navier-Stokes model share the energy module with the porous-media models.

template<class TypeTag >
const DimVector& Ewoms::StokesIntensiveQuantities< TypeTag >::pressureGradient ( ) const
inline

Returns the pressure gradient in the sub-control volume.

template<class TypeTag >
void Ewoms::StokesIntensiveQuantities< TypeTag >::update ( const ElementContext &  elemCtx,
int  dofIdx,
int  timeIdx 
)
inline

template<class TypeTag >
void Ewoms::StokesIntensiveQuantities< TypeTag >::updateScvGradients ( const ElementContext &  elemCtx,
int  dofIdx,
int  timeIdx 
)
inline

template<class TypeTag >
const DimVector& Ewoms::StokesIntensiveQuantities< TypeTag >::velocity ( ) const
inline

Returns the average velocity in the sub-control volume.

template<class TypeTag >
const DimVector& Ewoms::StokesIntensiveQuantities< TypeTag >::velocityCenter ( ) const
inline

Returns the velocity at the center in the sub-control volume.


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