minmod Class Reference

Minmod gradient limiter. More...

Public Member Functions

 minmod (Istream &)
 
scalar limiter (const scalar r) const
 

Detailed Description

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;
}
See also
Foam::fv::cellLimitedGrad

Definition at line 66 of file minmodGradientLimiter.H.

Constructor & Destructor Documentation

◆ minmod()

minmod ( Istream )
inline

Definition at line 73 of file minmodGradientLimiter.H.

Member Function Documentation

◆ limiter()

scalar limiter ( const scalar  r) const
inline

Definition at line 79 of file minmodGradientLimiter.H.

References Foam::min().

Here is the call graph for this function:

The documentation for this class was generated from the following file: