CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   all.c of UDF (

sean July 3, 2001 15:07

all.c of UDF
I'm defining UDFs. I want to make use of more than one interpreted UDF in a simulation. The help file tells me that they can be concatenated iogether into a single C file, all.c, for example. The concatented function can be compiled in the interpreted UDFs panel. Is there some one who know how to concatenate them? Need I do it in Turbo C?

thanks a lot sean

Greg Perkins July 3, 2001 19:33

Re: all.c of UDF
in your main c file use

#include "file1.c" #include "file2.c"


to read in additional source files. Its very simple


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