Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Problems defining static array in UDF › Reply To: Problems defining static array in UDF
June 5, 2024 at 4:10 pm
Subscriber
Part of the problem must have been the loop over the boundary ID array inside my DEFINE_ macro. I changed from a do-while loop to a for loop with a break statement inside and changed the definition of N_IDs back to #define. Now the code appears to run on all plateforms... I have no clue why this change fixed things but at least it works now and that's what matters.