Loading...
Searching...
No Matches
filteredLinear2Limiter< LimiterFunc > Class Template Reference

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

#include <filteredLinear2.H>

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

Public Member Functions

 filteredLinear2Limiter (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::filteredLinear2Limiter< LimiterFunc >

Class to generate weighting factors for the filteredLinear2 differencing scheme.

The aim is to remove high-frequency modes with "staggering" characteristics by comparing the face 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 filteredLinear2.H.

Constructor & Destructor Documentation

◆ filteredLinear2Limiter()

template<class LimiterFunc>
filteredLinear2Limiter ( Istream & is)
inline

Definition at line 80 of file filteredLinear2.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ limiter()

template<class LimiterFunc>
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 filteredLinear2.H.

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

Referenced by limiter().

Here is the call graph for this function:
Here is the caller graph for this function:

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