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

The upwinding variables class for the Navier-Stokes model using the staggered grid discretization. More...

#include <dumux/freeflow/navierstokes/staggered/staggeredupwindfluxvariables.hh>

Description

template<class TypeTag, int upwindSchemeOrder>
class Dumux::StaggeredUpwindFluxVariables< TypeTag, upwindSchemeOrder >

The upwinding variables class for the Navier-Stokes model using the staggered grid discretization.

Static Public Member Functions

static FacePrimaryVariables computeUpwindedFrontalMomentum (const SubControlVolumeFace &scvf, const ElementFaceVariables &elemFaceVars, const ElementVolumeVariables &elemVolVars, const GridFluxVariablesCache &gridFluxVarsCache, const Scalar transportingVelocity)
 Returns the momentum in the frontal directon. More...
 
static FacePrimaryVariables computeUpwindedLateralMomentum (const Problem &problem, const FVElementGeometry &fvGeometry, const Element &element, const SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, const FaceVariables &faceVars, const GridFluxVariablesCache &gridFluxVarsCache, const int localSubFaceIdx, const std::optional< BoundaryTypes > &currentScvfBoundaryTypes, const std::optional< BoundaryTypes > &lateralFaceBoundaryTypes)
 Returns the momentum in the lateral directon. More...
 

Member Function Documentation

◆ computeUpwindedFrontalMomentum()

template<class TypeTag , int upwindSchemeOrder>
static FacePrimaryVariables Dumux::StaggeredUpwindFluxVariables< TypeTag, upwindSchemeOrder >::computeUpwindedFrontalMomentum ( const SubControlVolumeFace &  scvf,
const ElementFaceVariables &  elemFaceVars,
const ElementVolumeVariables &  elemVolVars,
const GridFluxVariablesCache &  gridFluxVarsCache,
const Scalar  transportingVelocity 
)
inlinestatic

Returns the momentum in the frontal directon.

   Checks if the model has higher order methods enabled and if the scvf in
   question is far enough from the boundary such that higher order methods can be employed.
   Then the corresponding set of momenta are collected and the prescribed
   upwinding method is used to calculate the momentum.

◆ computeUpwindedLateralMomentum()

template<class TypeTag , int upwindSchemeOrder>
static FacePrimaryVariables Dumux::StaggeredUpwindFluxVariables< TypeTag, upwindSchemeOrder >::computeUpwindedLateralMomentum ( const Problem &  problem,
const FVElementGeometry &  fvGeometry,
const Element &  element,
const SubControlVolumeFace &  scvf,
const ElementVolumeVariables &  elemVolVars,
const FaceVariables &  faceVars,
const GridFluxVariablesCache &  gridFluxVarsCache,
const int  localSubFaceIdx,
const std::optional< BoundaryTypes > &  currentScvfBoundaryTypes,
const std::optional< BoundaryTypes > &  lateralFaceBoundaryTypes 
)
inlinestatic

Returns the momentum in the lateral directon.

   Evaluates which face is upstream.
   Checks if the model has higher order methods enabled and if the scvf in
   question is far enough from the boundary such that higher order methods can be employed.
   Then the corresponding set of momenta are collected and the prescribed
   upwinding method is used to calculate the momentum.

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