CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Can Fluent Import New Turbulence Model By UDF?

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

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Display Modes
Old   November 29, 2005, 22:57
Default Can Fluent Import New Turbulence Model By UDF?
  #1
Andy Cong
Guest
 
Posts: n/a
hi,

I have a new turbulence model, and I want to import it to Fluent by UDF.

Can I do it successfully? If so, how can I do it?(Give some advices)

Thanks!

Andy
  Reply With Quote

Old   March 24, 2016, 14:42
Default
  #2
New Member
 
Pratik Dhoot
Join Date: Mar 2016
Location: Boston, MA
Posts: 19
Rep Power: 2
pratikddhoot is on a distinguished road
Hi, If you have successfully imported a model, I would like to know how. I am struggling on the same issue right now.
pratikddhoot is offline   Reply With Quote

Old   March 25, 2016, 13:56
Default
  #3
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,222
Rep Power: 20
LuckyTran will become famous soon enough
This problem is too general for specific answers to be given.

In general, you can make Fluent do anything you want with a UDF. But implementation is specific to what you are trying to do. It depends exactly on what your turbulence model is that you are trying to import. Most models can be implemented just by hooking up a udf for the turbulent viscosity. But the complexity arises from how you want to model the turbulent viscosity. In particular, the model for turbulent viscosity is different for high Re and low Re models.
LuckyTran is offline   Reply With Quote

Old   March 25, 2016, 14:09
Default
  #4
New Member
 
Pratik Dhoot
Join Date: Mar 2016
Location: Boston, MA
Posts: 19
Rep Power: 2
pratikddhoot is on a distinguished road
While I understand that I just have to play with turbulent viscosity in UDF as required in my model, I am trying to modify the Spalart Allmaras model into a zero equation model with a function for turbulent viscosity at each grid cell. Is this doable and what changes will be necessary to convert a 1-eq model to a 0-eq model?

Thanks,
Pratik
pratikddhoot is offline   Reply With Quote

Old   March 25, 2016, 14:14
Default
  #5
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,222
Rep Power: 20
LuckyTran will become famous soon enough
In the Fluent customization manual, there is an example you can follow.2.3.44. DEFINE_TURBULENT_VISCOSITY

pratikddhoot likes this.
LuckyTran is offline   Reply With Quote

Reply

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
A Problem of Fluent Interpreted UDF: parse error knight Fluent UDF and Scheme Programming 12 March 5, 2016 02:26
gamma-ReTheta turbulence model for predicting transitional flows FelixL OpenFOAM Programming & Development 79 October 11, 2015 15:30
Wrong calculation of nut in the kOmegaSST turbulence model FelixL OpenFOAM Bugs 27 March 27, 2012 09:02
Fluent 12 k-w SST turbulence model DarrenC FLUENT 0 December 13, 2009 09:33
Turbulence modeling for fan/compressor blading Jonas Larsson FLUENT 1 April 13, 2005 14:08


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