CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   The index of UDS (https://www.cfd-online.com/Forums/fluent/41655-index-uds.html)

chris July 10, 2006 19:18

The index of UDS
 
Hello, everyone. Now I am working on the user-defined scalar, and the source term concludes this user-defined scalar itself. May I use C_UDSI_MI(c, thread, i) to include the effect of the scalar itself? The document says that i is the index of the scalar. But I still confused with its meaning. Could you please give me some explanation of it, as well? Thanks very much.

cadaei July 11, 2006 06:36

Re: The index of UDS
 
i is used to identify which scalar equation you would like the macro to access. if you are using more than one UDS the equations will be uds-0, uds-1, uds-2 etc. so set i=0 for uds-0 and i=1 for uds-1 and so on


All times are GMT -4. The time now is 10:08.