Checking For Zero Or Negative Volume Cells
For a mesh to be valid for finite volume calculations, each cell must have a positive volume, otherwise the initialization process fails, and the simulation cannot be run. Negative volume cells can occur in a number of different ways but must be fixed or removed from the mesh in order to proceed any further.
To check if the volume mesh has zero or negative volume cells, you can either run the mesh
diagnostics report or initialize the solution. An example report output for a
simulation containing negative volume cells is shown below:


The total number of zero and negative volume
cells are reported, along with a message reporting that the mesh is invalid. During
the initialization step, an Exception dialog is
displayed if there are zero or negative volume cells in the mesh:


It is recommended that you check for zero or negative volume cells by running the mesh diagnostics report immediately after importing or generating a volume mesh in STAR-CCM+. Do so avoids wasting time setting up a simulation for a mesh that is not valid.
Cells that have zero or negative volumes can be identified and visualized using threshold values.