An error when using UDF
4 Attachment(s)
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? |
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. |
All times are GMT -4. The time now is 20:22. |