CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Multiple UDS flux definitions (https://www.cfd-online.com/Forums/fluent/29333-multiple-uds-flux-definitions.html)

Matthew Brannock February 7, 2002 07:54

Multiple UDS flux definitions
 
Hi,

I was wondering how it was possible in Fluent to assign different flux definitions to two different UDSs? Is it all undertaken in the DEFINE_UDS_FLUX or inside Fluent? Or as I suspect, and hope isn't correct, the one flux you specify applys to all UDSs.

(I'm sure I've seen this question somewhere before but I cannot locate it)

Thanks,

Matt.

Matthew Brannock February 7, 2002 08:05

Prob Solved: Multiple UDS flux definitions
 
The problem is solved. Rather obvious really. Just use the index passed to the macro and use a conditional statement to get it to decide which flux definition to use then return. Sorry about that, maybe this will help others.

schwaral November 30, 2020 13:06

Hey could you shwo me how you wrapped the if statment?
Somehow it does not work for me :/ should be simple I know


All times are GMT -4. The time now is 05:52.