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/)
-   -   komegaSST model (https://www.cfd-online.com/Forums/openfoam-solving/113921-komegasst-model.html)

stix March 1, 2013 01:32

komegaSST model
 
Hi!

I am new to OpenFOAM and I have to use OpenFOAM for my diploma thesis. I want to compare the results of OpenFOAM with simple examples, which can be calculated by hand. My first example is a straight pipe flow and i already have problems. My geometry is a 1mx1m quadratic tunnel with a length of 20m. I defined all boundary conditions (inlet 5 m/s, outlet pressure=0, wall ). The flow is turbulent and i use the komegaSST model for the turbulence. i simulated the flow with different mesh resolutions (various y+). The y+ values i were 30, 50, 100, 150.

Now the problem is that i calculated the pressure loss analytically and the OpenFOAM results aren't even near the exact results. They are 30% (and for high y+ values even more) away from the exact results.

Could anybody please help me with my problem?

Thanks, Daniel

PLD March 4, 2013 06:22

Hi,

You should try with y+ = 1 and Wall Functions :
- kqRWallFunction for k
- omegaWallFunction for omega
- nutLowReWallFunction for nut.

I think this is the best way to use the komegaSST turbulence model.

Regards,

stix March 4, 2013 06:31

Quote:

Originally Posted by PLD (Post 411330)
Hi,

You should try with y+ = 1 and Wall Functions :
- kqRWallFunction for k
- omegaWallFunction for omega
- nutLowReWallFunction for nut.

I think this is the best way to use the komegaSST turbulence model.

Regards,

Thank you,

but i have a question. I am really new to OpenFOAM. How do i define Wall Functions?

PLD March 4, 2013 07:26

In the 0 directory you have files for k, omega and nut. You define the wall functions for your walls in these files. You should read the user guide for more information.

stix March 4, 2013 08:12

Ah ok thank you very much.

But my Re-Number is pretty high (10^5). I don't think that low Re function is correct?

PLD March 4, 2013 08:30

Actually, when you use a y+ = 1, you use (or at least you should) a Low-Re formulation of the turbulence model. In OF, the difference between Wall functions and the Low-Re formulation is not very clear. You should read this thread for a better understanding :
http://www.cfd-online.com/Forums/ope...-openfoam.html

Let me know if your results are better with y+ = 1.


All times are GMT -4. The time now is 12:14.