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

UDF Error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2020, 06:36
Unhappy UDF Error
  #1
Cla
New Member
 
Claudia
Join Date: Feb 2020
Posts: 5
Rep Power: 2
Cla is on a distinguished road
Hi everybody!
I'm studying the Wankel Engine in Ansys Fluent and I should generate an eccentric rotor motion. I'm having some problem about UDF.
The error is "The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64)."
Some ideas or tips?
Thank you very much!
Cla is offline   Reply With Quote

Old   February 26, 2020, 06:42
Default Compilation
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 31
vinerm will become famous soon enough
This error means that the UDF has not been compiled. A source code of the UDF needs to be converted into library for use by Fluent. This requires compilation.
__________________
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 29, 2020, 22:24
Default
  #3
New Member
 
Yu
Join Date: Feb 2020
Posts: 1
Rep Power: 0
loasing is on a distinguished road
How to settle it?
Thank you!
loasing is offline   Reply With Quote

Old   March 1, 2020, 04:55
Default Compile or Interpret
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,948
Blog Entries: 1
Rep Power: 31
vinerm will become famous soon enough
Either compile or interpret the UDF before loading. For compiling, you need to click on Build. Do note that a compiler is required for that. Linux machines have gcc, so, nothing special needs to be done. It will work like a charm. For Windows, you need to install either VS, or VC++, or MS Built Tools (SDK) with C++ compiler options. Then, you need to start Fluent from the command prompt belonging to these development environments.

If you UDF is simpler, without any structures, you can use the in-built Interpreter. This does not require anything extra to be installed. However, if UDF has structures, it will not work.
__________________
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

Tags
fluent, udf code, wankel

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for DPM particle deposition modelingpa haghshenasfard Fluent UDF and Scheme Programming 10 September 15, 2019 02:03
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


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