Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum › Forums › Discuss Simulation › Fluids › UDF crash › Reply To: UDF crash

ll00023
Subscriber
    if (C_D(TP_CELL(p), TP_CELL_THREAD(p)) > 0)
    {
        l_int = C_mu*pow(C_K(TP_CELL(p), TP_CELL_THREAD(p)), 1.5)/C_D(TP_CELL(p), TP_CELL_THREAD(p));
    }
    else
    {
l_int = 1.;
    }
when testing this code, it crashed FLUENT.
[bingo_chatbox]