Class to generate weighting factors for the filteredLinear2 differencing scheme. More...
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 |
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.
Definition at line 62 of file filteredLinear2.H.
|
inline |
Definition at line 84 of file filteredLinear2.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
|
inline |
Definition at line 108 of file filteredLinear2.H.
References filteredLinear2Limiter< LimiterFunc >::limiter(), Foam::mag(), Foam::max(), and Foam::min().
Referenced by filteredLinear2Limiter< LimiterFunc >::limiter().