
2D Display of Mesh Tally Data
The mesh tally data in 2D is shown by filling the mesh cells with the color appropriate for the data value in the cell. Settings on the Mesh Tally Style property page affect how the data is displayed. The user can specify whether or not to show the mesh boundaries along with the data. The mesh data is drawn over cells colored by filling. The mesh cell filling can be solid (as in this plot
) or the color of every nth pixel can be set to the fill color. The latter option will let some of the underlying geometry show through, as shown in at right. When the cell boundary and/or outline style is in effect, the boundary/outline lines showing the cell borders are drawn on top of the data, as is the case in This Figure
For the simple cases of an aligned rectangular mesh, a cut perpendicular to the axis of a cylindrical mesh, and a cut parallel to the axis of a cylindrical mesh that has no subdivisions in the theta direction, the mesh cells are by drawing a block of color of the appropriate shape. For other cases, and for the cut perpendicular to the cylindrical mesh axis when the filling is not solid, a tracing algorithm is used for coloring the mesh cells. The filling algorithm scans along each row of pixels to find mesh cell boundaries. The user can specify a resolution factor m to make a lower resolution image in which scanning a line sets the color of row m pixels high. Decreasing the resolution speeds up drawing time and may be advantageous for large meshes.
The 2D plots are drawn at a constant value of X, Y, or Z, known as the depth. The 2D filling algorithm cannot unambiguously determine the correct mesh cell when the depth coincides with one of the mesh values; in such cases the filling is not performed. To avoid such coincidences, the user can request that the depth be automatically moved a small distance away from the coincident mesh value when necessary. In rare cases when filling by ray tracing, the ray used for a scan line will be coincident with a mesh boundary, resulting in a missing line (or lines if the resolution is > 1) in the data display.
When multiple meshes are visible in 2D, the last mesh drawn obscures any existing mesh plots occupying the same space. The drawing order is the order in which the meshes are encountered in the data file or in an input file with matching meshes.
| White Rock Science http://www.whiterockscience.com/wrs.html 505 672 1105 |