We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Installation and Licensing Ansys Products UDF: Segmentation fault when using F_AREA Reply To: UDF: Segmentation fault when using F_AREA

antosanf
Subscriber

Hi Rob,

Thank you for your answer. I was able to read the link you provided in Fluent. 

Regarding the definition of A, I realized the following:

  • the UDF example you provided defines A as: real A[3]
  • my UDF defines it as: real NV_VEC(A)

I am not sure if this is the issue (would it make a difference?).

If that is indeed the issue, I replaced the definition to "real A[3]" but I again receive the segmentation fault error.

Thank you!

Â