CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Calculation of bounded scalars (

ankgupta8um June 19, 2006 01:59

Hi, I am solving for a turb

I am solving for a turbulent mixing (using LES model) of a passive scalar in a turbulent flow. The scalar has lower and upper bounds of 0 and 1 (as contrained by the boundary conditions). However, when solved, I get values in the computational domain which are like -0.001 and 1.001.
What steps need to be taken in terms of solver settings (or anything else that would help) so as to aviod getting the scalar values out of the bounds ??
Thanks in advance.


eugene June 19, 2006 05:03

You need to use a bounded diff
You need to use a bounded differencing scheme for the scalar. E.g.

div(phi,gamma) Gauss limitedLinear01 1;

All times are GMT -4. The time now is 21:59.