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

problem with compiling udf through visual studio

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Far

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2015, 03:34
Default problem with compiling udf through visual studio
  #1
Member
 
Lida
Join Date: Apr 2015
Posts: 39
Rep Power: 11
chem engineer is on a distinguished road
hi everyone
I want to compile a mass inlet udf for boundary condition. I run fluent through microsoft VS 2010. I also copied the fluent.exe address in environmental variable path. the udf is compiled in another system with these conditions. but I in my system I face the following error while compiling it. I will be really thankful if anyone could help me with this problem.
(system "copy c:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\3ddp\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\3ddp")()
massinlet.c
c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(158) : see previous definition of 'stdout'
c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(159) : see previous definition of 'stderr'
c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(157) : see previous definition of 'stdin'
# Generating udf_names.c because of makefile massinlet.obj
Done.
"j:/fluen/1"
Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.
Error Object: ()
chem engineer is offline   Reply With Quote

Old   August 17, 2015, 00:36
Default
  #2
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Did you check the compatibility of VS2010 and fluent 6.3?

I have recently used fluent 16.0 and visual studio 2012 express and it is working perfectly...
chem engineer likes this.
Far is offline   Reply With Quote

Old   August 17, 2015, 11:46
Default
  #3
Member
 
Lida
Join Date: Apr 2015
Posts: 39
Rep Power: 11
chem engineer is on a distinguished road
yes I used fluent 6 and vs 2010. I uninstalled fluent and again I installed it. the problem was solved and it worked. I think i had made a mistake in installation process. thanks for your kind answer.
chem engineer 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
Compiling Fluent UDF with Visual Studio kamnaz Fluent UDF and Scheme Programming 0 August 28, 2014 13:58
help: udf compiling problem on 64 bit windows XP Hsieh FLUENT 2 September 10, 2009 05:51
Problem in compiling property(density) UDF satish2968 FLUENT 3 October 31, 2008 16:06
udf compiling problem akr FLUENT 3 August 22, 2007 08:14
error while compiling a udf rahul FLUENT 10 August 30, 2006 09:33


All times are GMT -4. The time now is 22:35.