CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for turbulence model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2014, 17:15
Exclamation UDF for turbulence model
  #1
Member
 
Luca
Join Date: Mar 2011
Location: Italy
Posts: 62
Rep Power: 15
marluc is on a distinguished road
Hallo,

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.
L.
marluc is offline   Reply With Quote

Reply

Tags
akn, turbulence model, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 07: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 03:21
UDF: how to know domain number in the model? mssound FLUENT 0 May 17, 2010 16:00


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