I have several Ansys Fluent UDFs loaded that apply properties of Cp, density and viscosity to my materials. When I initialize the case, however, there is an immediate crash. What could the problem be?
There are a number of reasons for the crash. When initialization occurs, variables are evaluated, so this is where problems with UDFs can sometimes make an early appearance.
The possibilities are:
1. The routine was interpreted, and the interpretation cannot be processed by Ansys Fluent because the UDF is too complex. If this is the case, compiling the routine should eliminate the problem.
2. An inappropriate UDF was used to define the property. Some properties, like Specific Heat, have their own unique DEFINE routine. If Specific heat is defined with DEFINE_PROPERTY rather than DEFINE_SPECIFIC_HEAT, Ansys Fluent will crash.