Gtheta Computations using UDF
UDF was created to extract the post processing result from individual cell of the model.
There are three methods in calculation the Gtheta values.
The first method is to extract the individual G and theta values from the cell and sum up all the cells to obtain the total Gtheta. The total Gtheta is then divided by the total cells to get the average Gtheta.
∑(Gcell*Өcell)/N (1)
The second method was to extract individual G value and take the average of the G value. The theta is calculated by volume divided by inlet flow rate.
Өfloc = Vol./(Vol. flow rate)
∑(Gcell)/N* Өfloc (2)
The third method is multiple the sum of the G-value and the sum of the theta value and divide by the number of cells.
∑(Gcell)/N* ∑(Өfloc)/N (3)
Gtheta was also plotted using the custom function in FLUENT.
<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal
@page Section1
div.Section1
-->
GӨ = [ε/υ]1/2 * [Vol. flow ratecell/Cell Volume] (4)