filteredLinear2VLimiter< LimiterFunc > Class Template Reference

Class to generate weighting factors for the filteredLinear2V differencing scheme. More...

Inheritance diagram for filteredLinear2VLimiter< LimiterFunc >:
Collaboration diagram for filteredLinear2VLimiter< LimiterFunc >:

Public Member Functions

 filteredLinear2VLimiter (Istream &is)
 
scalar limiter (const scalar cdWeight, const scalar faceFlux, const typename LimiterFunc::phiType &phiP, const typename LimiterFunc::phiType &phiN, const typename LimiterFunc::gradPhiType &gradcP, const typename LimiterFunc::gradPhiType &gradcN, const vector &d) const
 

Detailed Description

template<class LimiterFunc>
class Foam::filteredLinear2VLimiter< LimiterFunc >

Class to generate weighting factors for the filteredLinear2V differencing scheme.

The aim is to remove high-frequency modes with "staggering" characteristics from vector fields by comparing the face gradient in the direction of maximum gradient with both neighbouring cell gradients and introduce small amounts of upwind in order to damp these modes.

Used in conjunction with the template class LimitedScheme.

Source files

Definition at line 57 of file filteredLinear2V.H.

Constructor & Destructor Documentation

filteredLinear2VLimiter ( Istream is)
inline

Definition at line 79 of file filteredLinear2V.H.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.

Here is the call graph for this function:

Member Function Documentation

scalar limiter ( const scalar  cdWeight,
const scalar  faceFlux,
const typename LimiterFunc::phiType &  phiP,
const typename LimiterFunc::phiType &  phiN,
const typename LimiterFunc::gradPhiType &  gradcP,
const typename LimiterFunc::gradPhiType &  gradcN,
const vector d 
) const
inline

Definition at line 104 of file filteredLinear2V.H.

References Foam::mag(), Foam::max(), and Foam::min().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/filteredLinear2/filteredLinear2V.H