Cubic gradient limiter. More...
Public Member Functions | |
minmod (Istream &) | |
scalar | limiter (const scalar r) const |
Cubic gradient limiter.
Minmod gradient limiter.
to be used with the Foam::fv::cellLimitedGrad limited gradient. This limiter function is similar to Foam::fv::gradientLimiters::Venkatakrishnan but is a fit to obey the value and gradient constraints and avoids the problem of the limiter exceeding 1 present in the Venkatakrishnan function.
The transition point at which the limiter function reaches 1 is an input parameter and should be set to a value between 1 and 2 although values larger than 2 are physical but likely to significantly reduce the accuracy of the scheme.
Reference:
Michalak, K., & Ollivier-Gooch, C. (2008). Limiters for unstructured higher-order accurate solutions of the Euler equations. In 46th AIAA Aerospace Sciences Meeting and Exhibit (p. 776).
Example:
gradSchemes { default Gauss linear; limited cellLimited<cubic> 1.5 Gauss linear 1; }
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 68 of file minmodGradientLimiter.H.
Definition at line 75 of file minmodGradientLimiter.H.
|
inline |
Definition at line 81 of file minmodGradientLimiter.H.
References Foam::min().