Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

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. 

The third method is to take the sum of every cell G * theta value

Gtheta was also plotted using the custom function in FLUENT.