|
[Sponsors] |
August 18, 2009, 16:59 |
Changing k-e constants to functions
|
#1 |
Member
Join Date: Apr 2009
Posts: 78
Rep Power: 17 |
Hi all,
I'm working on a user-defined v2-f turbulence model for FLUENT (I know it has one, but I'm trying to make one with curvature correction.) The model uses the standard k and e transport equations that the k-e model uses. The transport equations are the same, but the constants are different. In particular, the C_1e constant is different. For the k-e model, C_1e = 1.44 For the v2f model, C_1e = 1.4*( 1 + .05*sqrt( k/v2 ) ) Does anyone know how to change the C_1e constant to a function? Thanks in advance. |
|
August 19, 2009, 12:59 |
|
#2 |
Member
Join Date: Apr 2009
Posts: 78
Rep Power: 17 |
Ok, I figured out how to add an additional source term to the epsilon term (DEFINE - BOUNDARY CONDITIONS - FLUID - SOURCE TERMS). I coded my source term, added it as S_e in the epsilon transport equation, and set the C_1e and C_2e constants to 0 in the DEFINE - MODELS - VISCOUS menu.
Now I have another question. I can't figure out how to change C_1e and C_2e using text commands. Is that possible? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Correct values for constants k E in wall functions | jaswi | OpenFOAM Running, Solving & CFD | 0 | February 21, 2008 11:33 |
Wall functions | tutlhino | OpenFOAM Pre-Processing | 0 | July 2, 2007 05:04 |
changing model constants in k-e turbulence model | Sunil | CFX | 3 | October 3, 2006 12:12 |
User-Defined Functions | Boisson | FLUENT | 2 | January 18, 2002 22:09 |
N-S equations:divergence free functions? | D. Puigjaner | Main CFD Forum | 1 | July 27, 2000 12:43 |