"Index, Dimension 1, above upper bounds" type error

  1. This is a general CFD question. The mesh quality always has an influence on the results and convergence of any CFD code. You have to find a tradeoff so the mesh is acceptable. Sometimes this means having to simplify the geometry.
  2. First, I clean the stl file (remove duplicates, check the normal orientation). For the meshing part, I always start with default tolerance values, then I inspect the mesh. If there are bad cells (holes, poorly resolved intersections), I increase the snapping tolerance, and play with the dot product tolerance (increase or decrease by one order of magnitude) to see if it helps. Then if I see some small cut cells, I increase the small cell tolerance to see if I can remove them. Sometimes the grid spacing needs to be adjusted as well. Meshing is an integral part of the CFD workflow that is often neglected, but requires some time and experience to get familiar with.
1 Like