Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Segmentation Fault : udf for scalar › Reply To: Segmentation Fault : udf for scalar
July 31, 2024 at 9:25 am
Rob
Forum Moderator
You may need to include mem.h  https://ansyshelp.ansys.com/public/account/secured?returnurl=/Views/Secured/corp/v242/en/flu_udf/flu_udf_DataAccessMacros.html?q=C_DUDX Also check the scalars are set and have a value.Â