What Is a Valid Mesh?

Fundamentally, a valid mesh is one that allows the simulation to be initialized and then run so that a solution is achieved. An invalid mesh is typically one for which no solution can be obtained or cannot even be initialized. As an example of the latter situation, a mesh that contains a negative volume cell would be considered invalid.

Based on that definition, the determination of whether a mesh is valid is not only dependent on the underlying mesh quality, but also the physics models in use with the mesh. For example, meshes with cells with high concave angles would not normally cause a problem, but in cases with high gradients or complex physics, a solution may not be obtainable. In this case, the mesh is considered invalid.

Other factors that can affect whether a mesh is valid include:

  • choice of solver (coupled or segregated)
  • under-relaxation or Courant number specification; and
  • discretization scheme that is used

The approach that is used to define a CFD analysis is also important. For example, adding the physical models in one by one, iterating and restarting for each might lead to a valid solution. However, adding in all the physical models at once and attempting to run the simulation might cause the solution to diverge for a given mesh.

The mesh validity checks that are performed in Simcenter STAR-CCM+ are: