The upwinding variables class for the Navier-Stokes model using the staggered grid discretization. More...
#include <dumux/freeflow/navierstokes/staggered/staggeredupwindfluxvariables.hh>
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 > ¤tScvfBoundaryTypes, const std::optional< BoundaryTypes > &lateralFaceBoundaryTypes) |
Returns the momentum in the lateral directon. More... | |
|
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.
|
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.