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

shear rate in a UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2013, 10:14
Default shear rate in a UDF
  #1
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 13
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, 03:23
Default
  #2
Senior Member
 
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17
coglione is on a distinguished road
C_STRAIN_RATE_MAG(c,t)

cheers
coglione is offline   Reply With Quote

Reply


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 transient mass flow rate inlet mdzubairmanipal@gmail.com Fluent UDF and Scheme Programming 0 February 22, 2011 02: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 17:29


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