CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Limiter in gamma scheme (https://www.cfd-online.com/Forums/openfoam-solving/160424-limiter-gamma-scheme.html)

bamaoli October 7, 2015 16:48

Limiter in gamma scheme
 
Hi everyone,

I wrote a little post-processing tool to evaluate in which areas of my domain the upwind scheme is used for interpolation when using the gamma scheme.
The limiter / blending factor in the gamma scheme is calculated by

Code:

min(max(phict/k_, 0), 1);
For a phict larger than k_, the limiter is 1 and the scheme is 100% central differencing.
However, I don't understand what happens if phict is larger than +1. The scheme should then be 100% upwind, as stated in the gamma-paper by Prof. Jasak. However, the limiter still is 1 instead of 0. What am I missing here?

Many thanks in advance,
Oliver


All times are GMT -4. The time now is 09:16.