|
[Sponsors] |
August 27, 2004, 17:20 |
Help for compiled UDF
|
#1 |
Guest
Posts: n/a
|
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 libudf.so "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 libudf.so 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!!! Tim |
|
April 8, 2011, 04:56 |
Need inlet.c file for CVd tutorial
|
#2 |
New Member
Join Date: Apr 2011
Posts: 1
Rep Power: 0 |
How can we get inlet.c file for the CVD problem stated in the tutorial???
Help me on this. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |