CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Help for compiled UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 27, 2004, 16:20
Default Help for compiled UDF
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 "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!!!


  Reply With Quote

Old   April 8, 2011, 03:56
Default Need inlet.c file for CVd tutorial
New Member
Join Date: Apr 2011
Posts: 1
Rep Power: 0
faries is on a distinguished road
How can we get inlet.c file for the CVD problem stated in the tutorial???
Help me on this.
faries is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01

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