CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

when compiling UDF---erro code 1 occur

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2006, 05:00
Default when compiling UDF---erro code 1 occur
  #1
lamlash
Guest
 
Posts: n/a
Hi,

I met a problem when I compiling the following .C source file. It is a moving wall boundary to creat a regular wave. The .C source file is from Fluent student totorial file. I also tried other .c file, but the same error occurs. Error code 1.

#include "udf.h"

DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime) { vel[0]=(0.037098)*((1 - exp(-2.303*time))*7.7528*cos(7.7528*time) + ((2.303*exp(-2.303*time))*sin(7.7528*time))); }

The log is as follow:

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

# building library in ultra/2d

*** Error code 1

You can also see the 'log'-file in the working directory for this compilation history

Thanks very much for help
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF COMPILING ERROR Sandilya Garimella FLUENT 4 November 1, 2007 11:21
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
Udf compiling problem ranjit FLUENT 6 February 15, 2007 13:19
Udf compiling problem ranjit FLUENT 1 January 26, 2007 10:03
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 09:13


All times are GMT -4. The time now is 06:11.