|
[Sponsors] |
May 23, 2006, 06:33 |
VISCOSITY UDF
|
#1 |
Guest
Posts: n/a
|
Hello everyone!
I have again (and again) a question about UDF! This time, I try to modify viscosity in a region of my domain. When I interpret my function and initialise my pb, I can see (with display contour/molecular viscosity) that my initial viscosity is set correctly. But when i launch iterations (I'm in unsteady), everything goes wrong! I notice that my function is called twice per iteration! Can somebody tell me why? P.S. In my function, i put conditions in that way the function will be called only on the first iteration of every time step. But as DEFINE_PROPERTY is called at every iteration, when we are at an other iteration than the first of a time step, there is no return statement in my function (in fact, the return is inside an "if" condition). |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for Turbulent Viscosity | Lourival | Fluent UDF and Scheme Programming | 3 | October 13, 2012 04:09 |
writin udf for non-newtonian viscosity | zolfaghari | FLUENT | 0 | September 19, 2007 06:32 |
viscosity in UDF! | denhan | FLUENT | 0 | April 6, 2007 02:12 |
subgrid turbulent viscosity for UDF in LES | David TAIEB | FLUENT | 0 | April 2, 2007 09:27 |
Help - UDF for solid shear viscosity | nbh2801 | FLUENT | 0 | April 21, 2006 08:49 |