CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   when compiling UDF---erro code 1 occur (http://www.cfd-online.com/Forums/fluent/41721-when-compiling-udf-erro-code-1-occur.html)

lamlash July 15, 2006 05:00

when compiling UDF---erro code 1 occur
 
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


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