|
[Sponsors] |
January 24, 2013, 11:14 |
shear rate in a UDF
|
#1 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
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; } |
|
January 28, 2013, 04:23 |
|
#2 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
C_STRAIN_RATE_MAG(c,t)
cheers |
|
|
|
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 03:51 |
UDF for catalyst volumetric reaction, temperature overshoot though rate is small | elmcmaster | FLUENT | 0 | October 11, 2010 10:37 |
UDF Viscosity Depending on Shear Rate | mannobot | FLUENT | 0 | April 23, 2010 10:46 |
UDF for wall shear stress | Bastian | FLUENT | 0 | July 21, 2004 05:52 |
Wall shear stress in a UDF | Jafri | FLUENT | 3 | December 6, 2002 18:29 |