version 3.9-dev
Dumux::NavierStokesSlipVelocity< DiscretizationMethods::FCStaggered, SlipCondition > Struct Template Reference

Navier Stokes slip velocity helper for fcstaggered discretization. More...

#include <dumux/freeflow/navierstokes/slipcondition.hh>

Description

template<class SlipCondition>
struct Dumux::NavierStokesSlipVelocity< DiscretizationMethods::FCStaggered, SlipCondition >

For now, this class implements the Beavers-Joseph or the Beavers-Joseph-Saffman condition which models the slip velocity at a porous boundary. The condition is chosen by passing the corresponding SlipCondition tag to the class.

Static Public Member Functions

template<class Problem , class FVElementGeometry , class ElementVolumeVariables , class Scalar >
static auto velocity (const Problem &problem, const FVElementGeometry &fvGeometry, const typename FVElementGeometry::SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, Scalar tangentialVelocityDeriv)
 Returns the slip velocity at a porous boundary based on the Beavers-Joseph(-Saffman) condition. More...
 

Static Public Attributes

static constexpr SlipCondition slipCondition {}
 

Member Function Documentation

◆ velocity()

template<class SlipCondition >
template<class Problem , class FVElementGeometry , class ElementVolumeVariables , class Scalar >
static auto Dumux::NavierStokesSlipVelocity< DiscretizationMethods::FCStaggered, SlipCondition >::velocity ( const Problem &  problem,
const FVElementGeometry &  fvGeometry,
const typename FVElementGeometry::SubControlVolumeFace &  scvf,
const ElementVolumeVariables &  elemVolVars,
Scalar  tangentialVelocityDeriv 
)
inlinestatic
Note
This only returns a vector filled with one component of the slip velocity (corresponding to the dof axis of the scv the svf belongs to)
Parameters
problemThe problem
fvGeometryThe finite-volume geometry
scvfThe sub control volume face
elemVolVarsThe volume variables for the element
tangentialVelocityDerivPre-calculated velocity derivative

Member Data Documentation

◆ slipCondition

template<class SlipCondition >
constexpr SlipCondition Dumux::NavierStokesSlipVelocity< DiscretizationMethods::FCStaggered, SlipCondition >::slipCondition {}
staticconstexpr

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