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 HET_RXN_RATE UDF Reply To: HET_RXN_RATE UDF

sjohn
Subscriber

Got it running once I changed  Thread *tp = pt[2] to Thread *tp = pt[0] It ran for a while (which had not hapened before!) then got Floating point error.

2 is the Phase ID in the Phase Interactions GUI but since that phase is the primary phase 0 seems to work.

Since the reaction is contained in the UDF. Should the Reaction under Properties in the Material (for Phase 1 and Phase 2) be set to none or finite-rate.

[bingo_chatbox]