FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

filteredLinearLimiter< LimiterFunc > Class Template Reference

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

#include <finiteVolume/filteredLinear.H>


Detailed Description

template<class LimiterFunc>
class Foam::filteredLinearLimiter< LimiterFunc >

Class to generate weighting factors for the filteredLinear differencing scheme.

The aim is to remove high-frequency modes with "staggering" characteristics by comparing the face gradient relative to the background distribution represented by the neighbouring cell gradients with those 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 59 of file filteredLinear.H.

List of all members.

Public Member Functions

 filteredLinearLimiter (Istream &)
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

Constructor & Destructor Documentation

filteredLinearLimiter ( Istream &    ) [inline]

Definition at line 66 of file filteredLinear.H.


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 70 of file filteredLinear.H.

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


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