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

udf----error message

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2012, 09:08
Default udf----error message
  #1
New Member
 
Mahdi
Join Date: Nov 2010
Posts: 7
Rep Power: 15
mahdiii is on a distinguished road
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!
mahdiii is offline   Reply With Quote

Old   February 16, 2012, 13:48
Default
  #2
New Member
 
Mahdi
Join Date: Nov 2010
Posts: 7
Rep Power: 15
mahdiii is on a distinguished road
thank you my friend .
i will check it!
mahdiii is offline   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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 09:19.