Hi,
There is no direct function available to calculate the uniformity index. However, we can create a similar expression to calculate the uniformity index value using other functions available in POST. The uniformity index depends on the average value of a property in a sectional area. We can achieve the same result by leveraging the functions provided in CEL.
To illustrate this, let's take an example of calculating the uniformity index of velocity at the outlet:
First, we calculate the average velocity at the outlet: AV1 = areaAve(Velocity) @ Outlet
Next, we compute the numerator of the uniformity index equation: Numerator = sum(abs(Velocity - AV1) * Area) @ Outlet
Then, we determine the denominator of the uniformity index equation: Denominator = 2 * abs(AV1) * area() @ Outlet
Finally, we can compute the uniformity index: Uniformity index = 1 - (Numerator / Denominator)
I recommend applying these expressions to a test case available in Fluent to verify the correctness of the approach.