CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF and Number iterations (

neyugnteivgnuh April 4, 2005 12:06

UDF and Number iterations
Hello, I would like to change viscosity all the 1000 iterations by UDF but I do not know the variable of the number iteration. Can you show me the variable of the number iterations. Thank you!

Doru Grosan April 7, 2005 05:05

Re: UDF and Number iterations
you can define a global variable

int It_Number=0;

and in a define_adjust function to increase this variable. Thus you can verify the number of iterations and change the viscosity value.

All times are GMT -4. The time now is 16:12.