Ansys Learning Forum Forums Discuss Simulation Fluids UDF, Fluent: Access count of iterations for “Steady Statistics” Reply To: UDF, Fluent: Access count of iterations for “Steady Statistics”

nobrien
Subscriber

I realized that I can use that scheme variable to get the number of sampled iterations for steady-state too. Just needed to try it!

Summary: real n_iterations_sampled = RP_Get_Real("delta-time-sampled"); mean_vel_x = C_STORAGE_R(c,t,SV_U_MEAN)/n_iterations_sampled;

I also think this link would be helpful for others looking at this problem: https://innovationspace.ansys.com/forum/forums/topic/is-there-any-specific-procedure-to-implement-time-averaged-udf/