|
[Sponsors] |
April 3, 2006, 14:46 |
Different Terms in Different UDS
|
#1 |
Guest
Posts: n/a
|
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. |
|
April 4, 2006, 05:50 |
Re: Different Terms in Different UDS
|
#2 |
Guest
Posts: n/a
|
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 |
|
April 4, 2006, 07:19 |
Re: Different Terms in Different UDS
|
#3 |
Guest
Posts: n/a
|
Really must thank you Aidan, I think I got it!
With my best regards: Carlos V. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Doubts UDS Flux, UDS Unsteady for VOF model | kel85uk | FLUENT | 0 | March 17, 2010 08:53 |
Question in definition of terms in solve | titio | OpenFOAM Running, Solving & CFD | 0 | March 19, 2009 16:02 |
Multiple species and UDS source terms | Ale | FLUENT | 2 | September 9, 2002 03:45 |
uds and source terms problem ~~?? | kevin | FLUENT | 0 | November 8, 2001 22:05 |
K-Epsilon model? | Brindaban Ghosh | Main CFD Forum | 2 | June 24, 2000 04:22 |