CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Help for compiled UDF (

Tim August 27, 2004 16:20

Help for compiled UDF
Hi, I'm working with FLUENT 6.0 in Linux Mandrake 9.0 and I have a little problem with compiled UDFs. I've tried with the file inlet.c (in tutorial 13), following the procedure in 7.3, and after the command:

make FLUENT_ARCH=lnx86"

I've obtained these messages:

for d in lnx86/[23]*; do \

( \

cd $d; \

for f in ../../src/*.[ch] ../../src/makefile; do \

if [ ! –f 'basename $f' ]; then \

echo "# linking to" $f "in" $d; \

ln –s $f .; \

fi; \ done; \ echo " "; \ echo "# building library in" $d; \ make –k>makelog 2>&1; \ cat makelog; \ ) \ done # linking to ../../src/inlet.c in lnx86/3d # linking to ../../src/makefile in lnx86/3d

#building library in lnx86/3d make[1]: Entering directory '/home/username/workdir/libudf/lnx86/3d' # Generating udf_name.c because of makefile inlet.c make[2]: Entering directory '/home/username/workdir/libudf/lnx86/3d' make "CFLAGS=-fpic –shared –ansi –Wall -0 " "LDFLAGS=-shared – lm" make[3]: Entering directory '/home/username/workdir/libudf/lnx86/3d' # Compiling udf_names.o because of udf_names.c cc -fpic –shared –ansi –Wall -0 –I/usr/local/
: '.*/\(.*\)/[23].*'*''/?basename \ 'pwd\'' -I/usr/local/Fluent.Inc/fluent6.0/cortex/s lient/src/ -I/usr/local/Fluent.Inc/fluent6. fluent6.0/multiport/src –c udf_names.c # Compiling inlet.o because of inlet.c cc -fpic –shared –ansi –Wall -0 –I/usr/local/
: '.*/\(.*\)/[23].*'*''/?basename \ 'pwd\'' -I/usr/local/Fluent.Inc/fluent6.0/cortex/s lient/src/ -I/usr/local/Fluent.Inc/fluent6. fluent6.0/multiport/src –c inlet.c # Linking bacause of makefile ud ld –shared –lm udf_names.o inlet.o –o libudf make[3]: Leaving directory '/home//username/ make[2]: Leaving directory '/home//username/ make[1]: Leaving directory '/home//username/

and when I click Open in Compiled UDFs panel:

Opening library "libudf"... Error: open_udf_library; No such file or directory Error Object: #f

Any suggestion??? Thanks in advance for every suggestion!!!


faries April 8, 2011 03:56

Need inlet.c file for CVd tutorial
How can we get inlet.c file for the CVD problem stated in the tutorial???
Help me on this.

All times are GMT -4. The time now is 20:46.