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

How to overcome the udf error code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2020, 00:42
Default How to overcome the udf error code
  #1
New Member
 
chiranjeeb jena
Join Date: Feb 2020
Posts: 2
Rep Power: 0
chiranjeebjena7 is on a distinguished road
Dear sir/madam,
i am working on a project work ,simulation of fluidised bed ,while i am using a cfd file (conduct.c) i am getting an erroe code like (the udf library you are trying to load is not compiled for parallel use on the current platform(win64)).
Please kindly help me to get the solution of this error.
Attached Files
File Type: c conduct.c (819 Bytes, 2 views)
chiranjeebjena7 is offline   Reply With Quote

Old   February 6, 2020, 03:28
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
run fluent in parallel (you already made it if you have this kind of error)
compile your UDF
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   February 6, 2020, 03:49
Default Compile before loading
  #3
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
You have to build the library before loading it. On Windows, you require either Visual Studio or Visual C++ to be installed. Start Fluent from the command prompt of the VS/VC++. Then compile it. Do note if you wish to use the code in parallel, which is default in new versions, you have to parallelize it. As of now, your code is not parallelized. To do that, use following commands within both DEFINE_ macros.

After opening braces

#if !RP_HOST

Before closing braces

#endif
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   February 11, 2020, 01:36
Default
  #4
New Member
 
chiranjeeb jena
Join Date: Feb 2020
Posts: 2
Rep Power: 0
chiranjeebjena7 is on a distinguished road
how to download this file(conduct.c) again and where? please guide
chiranjeebjena7 is offline   Reply With Quote

Old   February 11, 2020, 03:26
Default It's your file
  #5
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
You uploaded the file, Chiranjeeb, so, you should have it with you.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
Save output of udf in another udf! JuanJoMex FLUENT 0 February 8, 2018 12:43
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
parse error while interpreting udf Kristin Fluent UDF and Scheme Programming 3 March 15, 2012 06:43
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03


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