How to post-process a Fluent model with many sortable face zones with arbitrary names

Use of surface integral reports and spreadsheet to sort face zone data by zone location for data processing.

A Fluent model containing many outlets or internal boundary conditions may result in many face zones with arbitrary zone name suffixes.   For example, the manifold below contains many outlet ports with one group name, "outlet."  The outlets can be sorted by X- and by Z-coordinate values.

Slide1-1

After this model is meshed, all the outlets are contained in one face zone.  If the output at each individual face zone is desired, this zone needs to be separated.  In this case the zone is separated by region.  The result from separation is many zones with seemingly arbitrary suffixes.

Slide2-1

The user has option to rename each zone manually or can use surface integral reports with a spreadsheet to sort the data.

 

Utilizing Surface Integral Reports in Combination with Spreadsheet Analysis

  1. Generate multiple surface integral reports.  
    One report for area-weighted-average X-coordinate
    One report for area-weighted-average Y-coordinate
    One report for area-weighted-average Z-coordinate
    One report for each of any desired output (mass flow rate, temperature, etc.)
  2. Copy-paste the results to a text editor
    (Hint: use find-replace to replace all double spaces with a single space before copy-pasting data into spreadsheet
  3. Copy-paste data from text editor into spreadsheet.
  4. Arrange reports into side-by-side columns.
  5. Use a multi-level sort to sort the data.  For example, sort by X-coordinate, then by Z-coordinate.

Slide4

The result below shows proper sorting for the X-coordinate; however, the Z-coordinate does not appear to be properly sorted.  The reason is the spreadsheet is considering too many decimal values for the X-coordinate.

Slide5

6.  Insert a column next to the X-coordinate.

7.  Insert an equation to round the X-coordinate to a smaller number of decimal points.   

8.  Perform multi-level sort using the rounded X-coordinate first and then the Z-coordinate.

Slide6