blockMesh error: boundary face is either an internal face or already belongs to some other patch

这里有句话,

Trying to specify a boundary face 4(29 20 0 9) on the face on cell 2 which is either an internal face or already belongs to some other patch. This is face 0 of patch 3 named cylinder.

这个意思是说,在第三个边界 (patch),边界名是 cylinder,在这个边界上的第 0 个面 (face)。这个面要么是一个内部的面,要么已经是其他边界的面了。

所以,你把这个 cylinder 边界上的这个面 (组成这个面的顶点是 29 20 0 9) 删除或是用 // 把它屏蔽掉,就可以了。