|
[Sponsors] |
July 15, 2006, 06:00 |
when compiling UDF---erro code 1 occur
|
#1 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF COMPILING ERROR | Sandilya Garimella | FLUENT | 4 | November 1, 2007 12:21 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
Udf compiling problem | ranjit | FLUENT | 6 | February 15, 2007 14:19 |
Udf compiling problem | ranjit | FLUENT | 1 | January 26, 2007 11:03 |
On Compiling a UDF | David Chabot | FLUENT | 5 | May 20, 2005 10:13 |