We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

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!