CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF for turbulence model

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

LinkBack Thread Tools Display Modes
Old   April 11, 2014, 16:15
Exclamation UDF for turbulence model
Join Date: Mar 2011
Location: Italy
Posts: 47
Rep Power: 8
marluc is on a distinguished road

I have just written a UDF for the AKN model (Abe-Kondoh-Nagano).
I tested it for a channel flow, a backward facing step and a ribbed duct.
Upon reaching a convergent solution with a k-e model with enhanced wall treatment I switch off the calculation of the turbulence transport equations and, after initialization of the UDS, I solve for their transport equations, in order to compute the user-defined turbulent viscosity to use in the momentum equations.

My problem is when I first start with the UDS because I often get AMG solver divergence at the first iteration. So I first set the URF to very low values and solve for each UDS separately and without the momentum equations activated. Then I start increasing the URF and later I activate the flow calculation as well.

I am wondering if someone has the same problem when dealing with UDS for a user defined turbulence model.
Furthermore, when using the AKN model implemented in Fluent I can keep the default URF for momentum, k and e and the calculation converges. Does someone have an explanation for this? (actually Fluent and I should solve the same equations!)

Thank you in advance for your answers.
marluc is offline   Reply With Quote


akn, turbulence model, udf

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
udf for Srivastava and Sundaresan friction model Musa FLUENT 1 March 14, 2014 03:42
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
Why my UDF doesn't work when I activate the non-premixed combustion species model? TMorgado Fluent UDF and Scheme Programming 0 February 5, 2013 15:09
UDF for Heat Exchanger model francois louw FLUENT 2 July 16, 2010 02:21
UDF: how to know domain number in the model? mssound FLUENT 0 May 17, 2010 15:00

All times are GMT -4. The time now is 00:23.