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

Compiling_define_udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2013, 13:57
Default Compiling_define_udf
  #1
New Member
 
Sayan Bose
Join Date: Apr 2013
Posts: 17
Rep Power: 13
sayan_bose is on a distinguished road
I am trying to define a velocity profile and a non-Newtonian viscosity model. The problem that I am facing is that when I am compiling it, after build it is showing in the console that the UDFs been copied but after loading it, it is not getting loaded. What should I do?
sayan_bose is offline   Reply With Quote

Old   July 26, 2013, 21:44
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 22
blackmask will become famous soon enough
Post your UDF here. There should be some mistake preventing it from being compiled.
blackmask is offline   Reply With Quote

Old   July 29, 2013, 03:34
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
Do you get 'The UDF library you are trying to load............' error?

If so there may be something wrong with your compiler/visual basic set-up.
vasava is offline   Reply With Quote

Old   July 30, 2013, 12:29
Default
  #4
New Member
 
Sayan Bose
Join Date: Apr 2013
Posts: 17
Rep Power: 13
sayan_bose is on a distinguished road
Thank you for your reply..........................I think its either a problem with my compiler setup or may be virsu problems
sayan_bose is offline   Reply With Quote

Old   July 31, 2013, 02:56
Default
  #5
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
Do you have the windows SDK installed? If you have it, try loading fluent from SDK command window. If not I suggest that you install it. Without SDK compiling UDF will not work.
vasava is offline   Reply With Quote

Old   July 31, 2013, 09:22
Default
  #6
New Member
 
Sayan Bose
Join Date: Apr 2013
Posts: 17
Rep Power: 13
sayan_bose is on a distinguished road
Thanks......but what is SDK?
sayan_bose is offline   Reply With Quote

Old   July 31, 2013, 17:51
Default
  #7
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
SDK is Software Development Kit. You need SDK 7 or 7.1 for udf compilation.

Please read this file. It might solve your problem.
vasava is offline   Reply With Quote

Reply

Tags
udf loading problem


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



All times are GMT -4. The time now is 05:04.