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

An error in FLUENT parallel processing when using UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2021, 23:07
Question An error in FLUENT parallel processing when using UDF
  #1
New Member
 
Pengfei Yu
Join Date: Feb 2021
Posts: 3
Rep Power: 5
PF Yu is on a distinguished road
Hi, guys.

When inputting the polynomial coefficients in FLUENT 14.5 materials dialog box, I find that the coefficients have only 7 significant digits. Unfortunately, the coefficients in my polynomial have 12 significant digits, so I use two macros (DEFINE_PROPERTY and DEFINE_SPECIFIC_HEAT) to define new materials. The UDF can be compiled in ANSYS FLUENT. However, FLUENT will exit abnormally, once I click the initialize (both standard initialization and hybrid initialization).

The error message and UDF are uploaded. Can anyone anwser me please?
Attached Images
File Type: png error.png (20.5 KB, 15 views)
File Type: jpg udf.jpg (104.6 KB, 13 views)
Attached Files
File Type: c udf_ab.c (9.7 KB, 4 views)
File Type: txt fluent-999999-error.txt (61 Bytes, 1 views)

Last edited by PF Yu; April 20, 2021 at 02:00.
PF Yu is offline   Reply With Quote

Old   April 20, 2021, 01:54
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Quote:
Unfortunately, the coefficients in my polynomial coefficients have 12 significant digits
How is that possible??? Which method can determine 12 significant digits in coefficients? That's like determining the earth's diameter in micrometer precision...

Even if you could do that, it is useless to put that in Fluent, because temperature is not accurate to the twelfth digit. You're lucky if the sixth digit is significant...
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build".
pakk is offline   Reply With Quote

Old   April 20, 2021, 03:20
Default
  #3
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
In other words: 7 digits really is enough. It is useless to add more. Use the default method, and you're done.
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build".
pakk is offline   Reply With Quote

Reply

Tags
parallel, udf


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
How to run my UDF on parallel Fluent? SCU-CFDer FLUENT 0 June 29, 2020 22:15
Fluent UDF for parallel processing Mr.Rioes Fluent UDF and Scheme Programming 0 September 24, 2019 07:08
Rewriting UDF For Parallel Processing m_ridzon Fluent UDF and Scheme Programming 9 January 10, 2019 14:42
PROBLEM in UDF on parallel fluent mode rakadit Fluent UDF and Scheme Programming 0 July 13, 2012 07:51
problem loading UDF in parallel fluent Tim FLUENT 12 July 12, 2008 13:59


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