Cubic gradient limiter. More...
Public Member Functions  
cubic (Istream &schemeData)  
scalar  limiter (const scalar r) const 
Cubic 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., & OllivierGooch, C. (2008). Limiters for unstructured higherorder 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; }
Definition at line 80 of file cubicGradientLimiter.H.
Definition at line 99 of file cubicGradientLimiter.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.

inline 
Definition at line 119 of file cubicGradientLimiter.H.