CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Reg:Multiple UDFs (https://www.cfd-online.com/Forums/fluent/66049-reg-multiple-udfs.html)

Roma July 3, 2009 13:33

Reg:Multiple UDFs
 
Hi,

i am Roma, i am working on a problem in Fluent which involves me to use a couple of UDF functions.These are basically varying temperature with position.
My polynomial for the upper wall temperature is different from the lower one.
So i have two different .c files.When i hook these two into Fluent,i cannot see both the udf functions in the drop down menu.
In my UDF code i have exactly the same arguments,except that the profile is changing.
How should i proceed on this?

Thank You

sbaffini July 3, 2009 14:20

you can only adopt one udf so every subroutine should be written in it (with different names!)

Two solutions: an if/else cycle or change the variable names


All times are GMT -4. The time now is 01:03.