Class to generate weighting factors for the filteredLinear2V differencing scheme. More...
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 |
Private Attributes | |
scalar | k_ |
scalar | l_ |
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.
Definition at line 57 of file filteredLinear2V.H.
|
inline |
Definition at line 79 of file filteredLinear2V.H.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, filteredLinear2VLimiter< LimiterFunc >::k_, and filteredLinear2VLimiter< LimiterFunc >::l_.
|
inline |
Definition at line 104 of file filteredLinear2V.H.
References filteredLinear2VLimiter< LimiterFunc >::k_, filteredLinear2VLimiter< LimiterFunc >::l_, Foam::mag(), Foam::max(), and Foam::min().
|
private |
Definition at line 66 of file filteredLinear2V.H.
Referenced by filteredLinear2VLimiter< LimiterFunc >::filteredLinear2VLimiter(), and filteredLinear2VLimiter< LimiterFunc >::limiter().
|
private |
Definition at line 74 of file filteredLinear2V.H.
Referenced by filteredLinear2VLimiter< LimiterFunc >::filteredLinear2VLimiter(), and filteredLinear2VLimiter< LimiterFunc >::limiter().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.