|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Pengfei Yu
Join Date: Feb 2021
Posts: 3
Rep Power: 6 ![]() |
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 coefficients 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? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 35 ![]() ![]() |
frankly speaking, code seems to be correct,
may be the problem in polynomials... you may try to add #include "math.h" as it may not be included in v14.5 by default.
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| udf for one dimensional linear motion based on force | maccheese | Fluent UDF and Scheme Programming | 2 | September 1, 2019 03:18 |
| Save output of udf in another udf! | JuanJoMex | FLUENT | 0 | February 8, 2018 13:43 |
| UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
| UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
| UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |