Different Terms in Different UDS
Hi Everybody
I'm programing two UDS (User - Defined Scalars) and I would like to know if it is possible to have two different Unsteady Terms as well as two different Advective and Diffusivity terms (one for each scalar)and how can I specify them, for the right scalar. Really need help. With my best regards: Carlos V. |
Re: Different Terms in Different UDS
In those macros FLUENT passes a variable, i, to your udf. This integer represents the uds equation. The first uds is i = 0 and the second is i = 1 and so on. Include a logical expression for i in your marco to define the correct expression for each uds.
for example if (i == 0) uds-0 expresseion else if (i == 1) uds-1 expression |
Re: Different Terms in Different UDS
Really must thank you Aidan, I think I got it!
With my best regards: Carlos V. |
All times are GMT -4. The time now is 20:27. |