Skip to content

snappyHexMesh does maintains excessive buffer layer before removing unreachable part

Summary

snappyHexMesh does maintains excessive buffer layer before removing unreachable part. It first refines all up to the surface refinement level and then walks from the locations in mesh to remove the unreachable part (+ 1 layer of buffer cells). After that it does any shell refinement to avoid refining unnecessary. The 1 layer of buffer cells include all the boundary cells, even the far-away ones.

Steps to reproduce

iglooWithFridges.tgz

Run and check the steps. It should only maintain the half sphere + 1 layer of cells. At some point it selects all boundary cells.

Example case

What is the current bug behaviour?

What is the expected correct behavior?

Relevant logs and/or images

Environment information

  • OpenFOAM version : v2106
  • Operating system :
  • Hardware info :
  • Compiler :

Possible fixes

meshRefinementBaffles.C

@Prashant

Edited by Mattijs Janssens