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 SIGSEGV error during initialization in the fluent simulation with UDF Reply To: SIGSEGV error during initialization in the fluent simulation with UDF

Atharva Nagarkar
Ansys Employee

Hello

SIGSEGV error is returned when there are issues related to storage/memory or data is missing in a place where it needs to be supplied.

The concern here is the macro defined as: Material *m = THREAD_MATERIAL(pt). The THREAD_MATERIAL macro returns a pointer that is associated with a cell thread (t) and NOT a phase thread (pt) as you have defined. Please have a look at the section 2.3.29.3 of the Ansys UDF User Manual for reference related to this and the 'mixture_species_loop' definition as well.

Link: 2.3.29. DEFINE_PROPERTY UDFs (ansys.com)

If you are not able to access the link, please refer to this forum discussion: Using Help with links (ansys.com)

Thanks!

[bingo_chatbox]