CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   gradSchems specification (https://www.cfd-online.com/Forums/openfoam/113485-gradschems-specification.html)

lichmaster February 20, 2013 10:25

gradSchems specification
 
Hi all,

I have a rather "elementary" question: how exactly does gradSchemes specification works?

I need to limit the gradient inside each cell in a fashion similar to the Minmod limiter.

Lurking on this forum I found the cellMDLimitGrad strategy, which has to be coupled with a limiting scheme (Minmod in my case).
On the same post, i found a line like this

gradSchemes
{
default Gauss linear cellMDLimitedGrad Gauss linear 1;
}

What does it mean? Why is Gauss linear repeated 2 times?
Is it possible to limit the gradient inside each cell so that it has the min abs value of each neighbouring cell, using a standard function, or do I have to code it from scratch?

Thanks :)


All times are GMT -4. The time now is 10:04.