Minmod gradient limiter. More...
Public Member Functions | |
minmod (Istream &) | |
scalar | limiter (const scalar r) const |
Minmod gradient limiter.
This is the default gradient limiter which clips the gradient to remove cell to face extrapolation unboundedness. It corresponds to the original cellLimitedGrad implementation before the addition of run-time select-able limiter functions.
Example:
gradSchemes { default Gauss linear; limited cellLimited Gauss linear 1; }
Definition at line 62 of file minmodGradientLimiter.H.
Definition at line 69 of file minmodGradientLimiter.H.
|
inline |
Definition at line 75 of file minmodGradientLimiter.H.
References Foam::min().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.