34.5.6. Checking the Partitions

After partitioning a mesh, you should check the partition information and examine the partitions graphically.

34.5.6.1. Interpreting Partition Statistics

parallel/partition/print-partitions

You can request a report to be displayed after partitioning (either automatic or manual) is completed. Click the Print Active Partitions or Print Stored Partitions button in the Partitioning and Load Balancing dialog box.

ANSYS Fluent distinguishes between two cell partition schemes: the active cell partitions and the stored cell partitions. Initially, both are set to the cell partitions that were established upon reading the case file. If you re-partition the mesh using the Partitioning and Load Balancing dialog box, the new partitions will be referred to as the stored cell partitions. To make them the active cell partitions, you must click the Use Stored Partitions button in the Partitioning and Load Balancing dialog box in the parallel version of ANSYS Fluent. The active cell partitions are used for the current calculation, while the stored cell partitions (determined from the last partitioning performed) are used when you save a case file. This distinction is made mainly to allow you to partition a case on one machine or network of machines and solve it on a different one. Thanks to the two separate partitioning schemes, you could use the parallel solver with a certain number of compute nodes to subdivide a mesh into an arbitrary different number of partitions, suitable for a different parallel machine, save the case file, and then load it into the designated machine.

The output generated when you print the partitions consists of tabulated information about the active or stored partitioning scheme. A typical output for a mesh with 4 partitions is as follows:

>> 4 Active Partitions:
    P   Cells I-Cells Cell Ratio   Faces I-Faces Face Ratio Neighbors Load
    0    3520     142      0.040   11399     195      0.017         1    1
    1    3298     115      0.035   10678     151      0.014         1    1
    2    3451     305      0.088   11404     372      0.033         2    1
    3    3583     332      0.093   11586     416      0.036         2    1

   ----------------------------------------------------------------------
   Collective Partition Statistics:        Minimum   Maximum   Total     
   ----------------------------------------------------------------------
   Cell count                              3298      3583      13852     
   Mean cell count deviation               -4.8%     3.5%      
   Partition boundary cell count           115       332       894       
   Partition boundary cell count ratio     3.5%      9.3%      6.5%      

   Face count                              10678     11586     44500     
   Mean face count deviation               -5.2%     2.8%      
   Partition boundary face count           151       416       567       
   Partition boundary face count ratio     1.4%      3.6%      1.3%      

   Partition neighbor count                1         2         
   ----------------------------------------------------------------------
   Partition Method                        Metis                                
   Stored Partition Count                  4

The first table in the output displays per-partition statistics of interest:

P

the partition ID

Cells

the number of cells in the partition

I-Cells

the number of interface cells in the partition (that is, cells that lie on the partition interfaces)

Cell Ratio

the ratio of interface cells to total cells for the partition

Faces

the number of faces in the partition

I-Faces

the number of interface faces in the partition (that is, faces that lie on partition interfaces)

Face Ratio

the ratio of interface faces to total faces for the partition

Neighbors

the number of neighbor partitions

Load

the desired relative load on this node in proportion to the other nodes. See Load Distribution for details.

Note that partition IDs correspond directly to compute node IDs when a case file is read into the parallel solver. When the number of partitions in a case file is larger than the number of compute nodes, but is evenly divisible by the number of compute nodes, then the distribution is such that partitions with IDs to are mapped onto compute node 0, partitions with IDs to onto compute node 1, and so on, where is equal to the ratio of the number of partitions to the number of compute nodes.

The second table in the output displays Minimum, Maximum, and (where applicable) Total values for various partition statistics:

Cell Count

the number of cells in the partitions (corresponding to Cells in the per-partition table)

Mean cell count deviation

the deviation of an individual partition cell count from the mean partition cell count

Partition boundary cell count

the number of cells that lie on partition interfaces (corresponding to I-Cells in the per-partition table)

Partition boundary cell count ratio

the ratio of the number of cells that lie on partition interfaces to the total number of cells in the partition (corresponding to Cell Ratio in the per-partition table)

Face Count

the number of faces in the partitions (corresponding to Faces in the per-partition table)

Mean face count deviation

the deviation of an individual partition face count from the mean partition face count

Partition boundary face count

the number of faces that lie on partition interfaces (corresponding to I-Faces in the per-partition table)

Partition boundary face count ratio

the ratio of the number of faces that lie on partition interfaces to the total number of faces in the partition (corresponding to Face Ratio in the per-partition table)

Partition neighbor count

the number of neighbors for a given partition (corresponding to Neighbors in the per-partition table)

Finally, the Partition Method and Stored Partition Count are displayed.

Your aim is to achieve small magnitudes for Minimum, Maximum, and Total values of the Partition boundary face count ratio while maintaining a balanced load (Mean cell count variation).

If there is an overset mesh for which the solution has been initialized, an additional partition table with solve and dead cells is included in the partitioning report (see Overset Cell Marks for the definitions of such cells):

>> Overset partition statistics:
    P   Cells Solve-cells Dead-cells  Ext donors
    0      66          53          4          12
    1      66          55          4          10

   ----------------------------------------------------------------------
   Overset Partition Statistics:           Minimum   Maximum   Total     
   ----------------------------------------------------------------------
   Cell count                              66        66        132       
   Mean cell count deviation               0.0%      0.0%      

   Solve cell count                        53        55        108       
   Mean solve cell count deviation         -1.9%     1.9%      

   Dead cell count                         4         4         8         
   Mean dead cell count deviation          0.0%      0.0%      

   Ext donors                              10        12        22        
   ----------------------------------------------------------------------
   Partition Method                        Metis                      
   Stored Partition Count                  2  

34.5.6.2. Examining Partitions Graphically

To further aid interpretation of the partition information, you can draw contours of the mesh partitions (see the figures in Partition Methods).

 Results → Graphics → Contours  Edit...

To display the active cell partition or the stored cell partition (which were described above), select Active Cell Partition or Stored Cell Partition in the Cell Info... category of the Contours Of drop-down list, and turn off the display of Node Values (for details, see Displaying Contours and Profiles for information about displaying contours).


Important:  If you have not already done so in the setup of your problem, you must perform a solution initialization in order to use the Contours dialog box.



Release 18.2 - © ANSYS, Inc. All rights reserved.