Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Which type of macro is required for data sampling UDF? › Reply To: Which type of macro is required for data sampling UDF?
February 9, 2021 at 4:25 pm
YasserSelima
Subscriber
ArraySV_T_MEAN is the time integral of the temperature ... if you are sampling data for 0.5 seconds, you need to divide this value by 0.5 to get average temperature.nThe sampled time appears to you in the Run Calculation Task page.nTo know it nIn your UDF, it should be equal toCorrection: I have just checked the manual.ndelta_time_sampled = Sampling Interval;n