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

Compiling_define_udf

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 26, 2013, 12:57
Default Compiling_define_udf
  #1
New Member
 
Sayan Bose
Join Date: Apr 2013
Posts: 17
Rep Power: 4
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, 20:44
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 11
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, 02:34
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 544
Rep Power: 12
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, 11:29
Default
  #4
New Member
 
Sayan Bose
Join Date: Apr 2013
Posts: 17
Rep Power: 4
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, 01:56
Default
  #5
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 544
Rep Power: 12
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, 08:22
Default
  #6
New Member
 
Sayan Bose
Join Date: Apr 2013
Posts: 17
Rep Power: 4
sayan_bose is on a distinguished road
Thanks......but what is SDK?
sayan_bose is offline   Reply With Quote

Old   July 31, 2013, 16:51
Default
  #7
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 544
Rep Power: 12
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:38.