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

Turbulence viscosity UDF

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

LinkBack Thread Tools Display Modes
Old   July 20, 2014, 09:38
Default Turbulence viscosity UDF
le hoang anh
Join Date: Oct 2012
Posts: 96
Rep Power: 6
lehoanganh07 is on a distinguished road
I am using k epsilon model for cavitation model. In order to modify the turbulence viscosity with the compressibility effec, I use the Reboud function as: cmut= f(rho) * cmu* k*k/epsilon
In that f(rho)=rho_liquid+rho_vapor*(1-void)^n
I tryed to make the UDF as in Fluent UDF manual: DEFINE_TURBULENT_VISCOSITY(name, c,t)
But I dont know how to call the density of phases: liquid and vapor in the code in order to calculate the density function.
Could you help me how to do this? Thank you very much!
lehoanganh07 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
Temperature dependent Non-Newtonian viscosity UDF cric92 Fluent UDF and Scheme Programming 0 April 14, 2013 06:31
Turbulent Viscosity UDF Raphael FLUENT 2 January 23, 2006 05:04
Turbulence and viscosity of non-Newtonian Fluids David FLUENT 7 November 29, 2005 08:09
Problems with changing turbulent viscosity by UDF sarah_ron FLUENT 0 February 14, 2005 01:31
UDF & Accessing Turbulence Properties Dimal FLUENT 0 March 5, 2002 14:14

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