Skip to content

The snappyHexMesh v2012 or later cannot add surface layers if the surface is connected to the cyclic type boundaries.

I am using the precompiled packages (openSUSE) of OpenFOAM v1912 and v2312 on Intel CPU. The snappyHexMesh v1912 can add surface layers without any problem, as shown in the figure. log.snappyHexMesh1912

mesh1912c

Fig. Addition of surface layers on cylinder. The front and rear surfaces of the figure are the cyclic boundaries.

However, the snappyHexMesh v2312 stops at the beginning of the addLayers process with the following error, if the surface is connected to the cyclic type boundaries.

--> FOAM FATAL ERROR: (openfoam-2312 patch=240522) Did not determine new position for face 209497 owner 56904 neighbour -1 region -1 This is usually caused by not specifying a patch for a boundary face. log+error.snappyHexMesh2312

This issue can be avoided by changing the boundary type from cyclic to slip. Changing the boundary type to cyclicAMI will not promote favorable results.

Test-oneCylinder.zip

Edited by takashi suzuki