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

shear rate in a UDF

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

LinkBack Thread Tools Display Modes
Old   January 24, 2013, 11:14
Default shear rate in a UDF
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 7
Thomashoffmann is on a distinguished road
Hi all.
I'm trying to write a UDF that describes the viscosity as a function of temperature. I also need to insert the shear rate (gamma_dot), which I think is already calculated in fluent. But how do I call it? My code is seen below - Any hint would be very nice

DEFINE_PROPERTY(pl_visc, c, t)
real mu;
real temp = C_T(c,t);
real gamma_dot=???;

mu = 2*exp(-0.7*(temp-273))*pow(gamma_dot,(0.5-1));

return mu;
Thomashoffmann is offline   Reply With Quote

Old   January 28, 2013, 04:23
Senior Member
Join Date: Mar 2009
Posts: 133
Rep Power: 10
coglione is on a distinguished road

coglione 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
udf for transient mass flow rate inlet Fluent UDF and Scheme Programming 0 February 22, 2011 03:51
UDF for catalyst volumetric reaction, temperature overshoot though rate is small elmcmaster FLUENT 0 October 11, 2010 09:37
UDF Viscosity Depending on Shear Rate mannobot FLUENT 0 April 23, 2010 09:46
UDF for wall shear stress Bastian FLUENT 0 July 21, 2004 04:52
Wall shear stress in a UDF Jafri FLUENT 3 December 6, 2002 18:29

All times are GMT -4. The time now is 13:34.