|
[Sponsors] |
December 13, 2007, 00:28 |
UDF error in compiling
|
#1 |
Guest
Posts: n/a
|
Hi friends, i use windows and microsoft visual studio .net 2005 on my system. I am trying to get my code compiled using FLUENT 6.3. It seems it does not want to work. whenever I try to build the library the message come up:
udf_names.c(7) : error C2059: syntax error : '}' udf_names.c(8) : warning C4034: sizeof 0 if I ignored this message and tried to build load the library the message come up: Opening library "C:\Documents and Settings\DEMO\libudf"... Error: open_udf_library: The system cannot find the file specified. Error Object: () According to previous documents in fluent user forum,i think the source file have any problem. it content is: #include "udf.h" /* this function defines velocity of center of gravity for pure plunging motion*/ /* Plunging motion equation is z(t)=h*sin(2*pi*f*t) */ DEFINE_CG_MOTION(rotation, dt, vel, omega, time, dtime) { Thread *t; face_t f; /*reset velocities */ NV_S(vel,=,0.0); NV_S(omega,=,0.0); if (!Data_Valid_P()) return; /* Get the thread pointer for which this motion is defined */ /* t=DT_THREAD(dt); */ /* vel[1] is the vertical plunging velocity */ /* These velocity below is for h=0.4c and f=0.993Hz */ omega[2] = 0.05*sin(2*3.14159*time); } i can not find what to fix.please help me. thank you all. Shin |
|
December 15, 2007, 21:25 |
Re: UDF error in compiling
|
#2 |
Guest
Posts: n/a
|
i realy want your help.anyone please teach me.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compiling udf at window Nt(64BIT) | noa | FLUENT | 3 | July 30, 2014 00:01 |
Compiling UDF on a cluster | Adya | FLUENT | 1 | December 14, 2009 12:30 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 01:43 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
On Compiling a UDF | David Chabot | FLUENT | 5 | May 20, 2005 10:13 |