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

Error in compiling UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2012, 12:22
Default Error in compiling UDF
  #1
New Member
 
Join Date: Mar 2012
Posts: 12
Rep Power: 14
shashankshankar is on a distinguished road
Hi everyone. I am trying to run the missile silo launch tutorial in my system. (Win 7 64 bit, Fluent 6.3.26) when I am building the silo.c file, this error comes

Deleted old libudf\ntx86\2ddp\libudf.dll
1 file(s) copied.
(system "copy c:\fluent.inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\2ddp")()
silo.c
c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2143: syntax error : missing '{' before ':'
c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2059: syntax error : ':'
c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2061: syntax error : identifier 'CX_DLL_GetProc'
c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : ';'
c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : 'type'

Done.

and when i try to load it,


"C:/IIT Delhi 2011/SEM 2/Minor Project/silo/silo"

Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

I installed visual studio 10.0 and .NET sdk and running Fluent from sdk command prompt. Can anyone please guide me?
shashankshankar is offline   Reply With Quote

Old   April 23, 2012, 13:24
Default
  #2
New Member
 
Join Date: Dec 2011
Posts: 1
Rep Power: 0
johnwayne is on a distinguished road
Hi,

I guess your UDF is not compiled properly as there are bugs as shown in the error msg.
johnwayne is offline   Reply With Quote

Old   April 23, 2012, 21:19
Default
  #3
Member
 
Krishna
Join Date: Oct 2009
Posts: 34
Rep Power: 16
t.krishnamohan is on a distinguished road
Hi,
If you do not check set environment variables button when installing Visual stdio you will get error messages while compliling udfs.

Regards
t.krishnamohan is offline   Reply With Quote

Old   August 10, 2012, 02:47
Default answer
  #4
New Member
 
Nima karimi
Join Date: Aug 2012
Posts: 2
Rep Power: 0
nimakarimi is on a distinguished road
hi can you send your udf (silo,c) to me???
my Email:
nima_karimi87@yahoo.com
Thanx
nimakarimi is offline   Reply With Quote

Old   September 24, 2012, 18:19
Default
  #5
New Member
 
mohsen
Join Date: Sep 2012
Posts: 6
Rep Power: 13
mohsenz_136 is on a distinguished road
hi how do you run fluent? SDK 64 or visual studio 2008 command prompt if run fluent with sdk please run with visual studio and please you sent udf.c for me
mohsen_zeinaddini@yahoo.com
mohsenz_136 is offline   Reply With Quote

Old   September 25, 2012, 04:49
Default
  #6
New Member
 
CFD man
Join Date: Sep 2012
Location: Earth
Posts: 12
Rep Power: 13
fluentworkshop is on a distinguished road
Hi guys
This problem is in environment variable of your OS.
you must set environment variables of FLUENT and VS 2010.
__________________
My blog is (Fluent Software Training Center):
http://fluent-workshop.blogspot.com
fluentworkshop is offline   Reply With Quote

Old   November 13, 2012, 12:49
Default restart
  #7
New Member
 
ali
Join Date: Jul 2009
Posts: 12
Rep Power: 16
sorkhani is on a distinguished road
i saw errors like this, but when i restarted my windows,the udf worked properly.
could you send your udf (silo,c) to me,please???
my Email:
sorkhani2002@yahoo.com
Thanx
sorkhani is offline   Reply With Quote

Old   February 23, 2016, 10:41
Arrow Tutorial Files
  #8
New Member
 
Join Date: Feb 2016
Posts: 9
Rep Power: 10
Vania is on a distinguished road
Hello

Please see this file
I think this is a useful file:
http://goo.gl/uE1u2b
Vania is offline   Reply With Quote

Old   October 1, 2017, 16:20
Default
  #9
New Member
 
Join Date: Mar 2015
Posts: 28
Rep Power: 11
mamad7192 is on a distinguished road
hi
did you solve the problem?
i have the same issue.

Last edited by mamad7192; October 2, 2017 at 10:45.
mamad7192 is offline   Reply With Quote

Old   December 1, 2017, 06:01
Default
  #10
New Member
 
Prabhu R
Join Date: Nov 2017
Posts: 13
Rep Power: 8
Prabhumsrit is on a distinguished road
Hello
Please send missile silo launch folder
silo.c and mesh file
Prabhu.msrit@gmail.com
Prabhumsrit 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
About UDF compiling issues: 'nmake' Haoyin Shan Fluent UDF and Scheme Programming 15 November 4, 2019 18:05
compiling udf at window Nt(64BIT) noa FLUENT 3 July 29, 2014 23:01
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 00:43
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 09:13


All times are GMT -4. The time now is 02:23.