CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Changing k-e constants to functions

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 18, 2009, 16:59
Default Changing k-e constants to functions
Join Date: Apr 2009
Posts: 78
Rep Power: 10
tstorm is on a distinguished road
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.
tstorm is offline   Reply With Quote

Old   August 19, 2009, 12:59
Join Date: Apr 2009
Posts: 78
Rep Power: 10
tstorm is on a distinguished road
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?
tstorm is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 12: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 23:09
N-S equations:divergence free functions? D. Puigjaner Main CFD Forum 1 July 27, 2000 12:43

All times are GMT -4. The time now is 04:09.