3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::TwoPScvSaturationReconstruction< M, enableReconstruction > Class Template Reference

Class that computes the non-wetting saturation in an scv from the saturation at the global degree of freedom. More...

#include <dumux/porousmediumflow/2p/saturationreconstruction.hh>

Description

template<DiscretizationMethod M, bool enableReconstruction>
class Dumux::TwoPScvSaturationReconstruction< M, enableReconstruction >

Class that computes the non-wetting saturation in an scv from the saturation at the global degree of freedom.

This is only necessary in conjunction with the box scheme where the degrees of freedom lie on material interfaces. There the non-wetting phase saturation is generally discontinuous.

Static Public Member Functions

template<class SpatialParams , class Element , class Scv , class ElemSol >
static ElemSol::PrimaryVariables::value_type reconstructSn (const SpatialParams &spatialParams, const Element &element, const Scv &scv, const ElemSol &elemSol, typename ElemSol::PrimaryVariables::value_type Sn)
 Compute the non-wetting phase saturation in an scv. More...
 

Member Function Documentation

◆ reconstructSn()

template<DiscretizationMethod M, bool enableReconstruction>
template<class SpatialParams , class Element , class Scv , class ElemSol >
static ElemSol::PrimaryVariables::value_type Dumux::TwoPScvSaturationReconstruction< M, enableReconstruction >::reconstructSn ( const SpatialParams &  spatialParams,
const Element &  element,
const Scv &  scv,
const ElemSol &  elemSol,
typename ElemSol::PrimaryVariables::value_type  Sn 
)
inlinestatic

Compute the non-wetting phase saturation in an scv.

Note
In the default case, we don't reconstruct anything. We do Reconstruction is only done when using the box method and enableReconstruction = true.
Parameters
spatialParamsClass encapsulating the spatial parameters
elementThe finite element the scv is embedded in
scvThe sub-control volume for which the saturation is computed
elemSolThe solution at all dofs inside this element
SnThe non-wetting phase saturation at the global dof

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