- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Calculation of bounded scalars**
(*http://www.cfd-online.com/Forums/openfoam-solving/60162-calculation-bounded-scalars.html*)

Hi,
I am solving for a turbHi,
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. Regards, Ankur |

You need to use a bounded diffYou 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 02:21. |