|
[Sponsors] |
February 15, 2012, 10:08 |
udf----error message
|
#1 |
New Member
Mahdi
Join Date: Nov 2010
Posts: 7
Rep Power: 16 |
hello,
I am simulating a wave in tank with specified form of the wave. well, I have written the udf in notepad and then saved it as .c file: #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))); } but when I want to build libudf in user-defined function>compile it shows this error: "system cannot find the file specified." I have installed visual studio 2008 full but couldn't install MSDN library. I have done what is said in one of the forums about setting paths variables in environment variables window in windows. and also using winxp. how can I solve this problem? is there any specific steps to compile a udf? thank you my friends! |
|
February 16, 2012, 14:48 |
|
#2 |
New Member
Mahdi
Join Date: Nov 2010
Posts: 7
Rep Power: 16 |
thank you my friend .
i will check it! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 07:12 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |