CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Two-layer turbulent model (http://www.cfd-online.com/Forums/openfoam-programming-development/78606-two-layer-turbulent-model.html)

maolongliu July 27, 2010 11:40

Two-layer turbulent model
 
Hi,
I am trying to add a two-layer turbulent model into OpenFOAM.
The near wall region use k-l model and central region use k-epsilon model.
At first, I was trying to match epsilon, so that I only need to solve k-eqn on time. But I am not sure how to manipulate the wall function of epsilon.
So, now in my code, it solves 3 equations: k_wall-eqn, epsilon-eqn, and k-eqn. And k_wall-eqn and k-eqn is the same.
Could any one give me some advice?
Thanks.


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