CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Several UDF at the same time, is it possible? (https://www.cfd-online.com/Forums/fluent-udf/84226-several-udf-same-time-possible.html)

cleo January 24, 2011 04:38

Several UDF at the same time, is it possible?
 
Hi everyone,

I made UDF for each component at the inlet, CO, CO2, H2O, CH4, velocity, temperature. But when I interpret them in FLUENT, and after that in boundary conditions if I try to "call" them I can use only the last one that I interpreted to the FLUENT.
S I am wondering how to solve this problem? May be to make some kind of library or data base of UDF's?

Thanks in advance

DoHander January 24, 2011 08:13

Try to put all of them (the code I mean) in the same source file ... reinterpret the new source file and you should be able to use any of them.

Do

holysky January 24, 2011 10:57

Quote:

Originally Posted by cleo (Post 291849)
Hi everyone,

I made UDF for each component at the inlet, CO, CO2, H2O, CH4, velocity, temperature. But when I interpret them in FLUENT, and after that in boundary conditions if I try to "call" them I can use only the last one that I interpreted to the FLUENT.
S I am wondering how to solve this problem? May be to make some kind of library or data base of UDF's?

Thanks in advance


you must define these functions respectively,
these functions may be all in one udf file

best wishes


All times are GMT -4. The time now is 18:29.