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

filteredLinear3VLimiter< LimiterFunc > Class Template Reference

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

#include <finiteVolume/filteredLinear3V.H>


Detailed Description

template<class LimiterFunc>
class Foam::filteredLinear3VLimiter< LimiterFunc >

Class to generate weighting factors for the filteredLinear3V 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 58 of file filteredLinear3V.H.

List of all members.

Public Member Functions

 filteredLinear3VLimiter (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

Constructor & Destructor Documentation

filteredLinear3VLimiter ( Istream &   is  ) [inline]

Definition at line 71 of file filteredLinear3V.H.

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


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 85 of file filteredLinear3V.H.

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


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