[ANSYS, Inc. Logo] return to home search
next up previous contents index

32.5.7 Checking the Partitions

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



Interpreting Partition Statistics


You can request a report to be printed after partitioning (either automatic or manual) is completed. In the parallel solver, click the Print Active Partitions or Print Stored Partitions button in the Partitioning and Load Balancing dialog box. In the serial solver, click the Print Partitions button.

ANSYS FLUENT distinguishes between two cell partition schemes within a parallel problem: the active cell partition and the stored cell partition. Initially, both are set to the cell partition that was established upon reading the case file. If you re-partition the mesh using the Partitioning and Load Balancing dialog box, the new partition will be referred to as the stored cell partition. To make it the active cell partition, you need to click the Use Stored Partitions button in the Partitioning and Load Balancing dialog box. The active cell partition is used for the current calculation, while the stored cell partition (the last partition performed) is 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.

When you click Print Partitions in the serial solver, you will obtain information about the stored partition.

The output generated by the partitioning process includes information about the recursive subdivision and iterative optimization processes. This is followed by information about the final partitioned mesh, including the partition ID, number of cells, number of faces, number of interface faces, ratio of interface faces to faces for each partition, number of neighboring partitions, and cell, face, interface, neighbor, mean cell, face ratio, and global face ratio variations. Global face ratio variations are the minimum and maximum values of the respective quantities in the present partitions. For example, in the sample output below, partitions 0 and 3 have the minimum number of interface faces (10), and partitions 1 and 2 have the maximum number of interface faces (19); hence the variation is 10-19.

Your aim is to achieve small values of Interface ratio variation and Global interface ratio while maintaining a balanced load ( Cell variation).

>> Partitions:
P   Cells I-Cells Cell Ratio  Faces I-Faces Face Ratio Neighbors
0     134      10      0.075    217      10      0.046         1
1     137      19      0.139    222      19      0.086         2
2     134      19      0.142    218      19      0.087         2
3     137      10      0.073    223      10      0.045         1
   ------
   Partition count             = 4
   Cell variation              = (134 - 137)
   Mean cell variation         = (-1.1% -    1.1%)
   Intercell variation         = (10 - 19)
   Intercell ratio variation   = (7.3% -   14.2%)
   Global intercell ratio      =   10.7%
   Face variation              = (217 - 223)
   Interface variation         = (10 - 19)
   Interface ratio variation   = (4.5% -    8.7%)
   Global interface ratio      =    3.4%
   Neighbor variation          = (1 - 2)

Computing connected regions; type ^C to interrupt.
   Connected region count      = 4

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 $0$ to $(M-1)$ are mapped onto compute node 0, partitions with IDs $M$ to $(2M-1)$ onto compute node 1, etc., where $M$ is equal to the ratio of the number of partitions to the number of compute nodes.



Examining Partitions Graphically


To further aid interpretation of the partition information, you can draw contours of the mesh partitions, as illustrated in Figures  32.5.10- 32.5.14.

figure Graphics and Animations figure figure Contours figure Set Up...

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. (See Section  29.1.2 for information about displaying contours.)

figure   

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


next up previous contents index Previous: 32.5.6 Mesh Partitioning Methods
Up: 32.5 Mesh Partitioning and
Next: 32.5.8 Load Distribution
Release 12.0 © ANSYS, Inc. 2009-01-29