CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: blockMesh (
-   -   Define patches after MirrorMesh (

janepen May 2, 2013 11:05

Define patches after MirrorMesh
Hi, I am trying to create a mesh with four identical cylinders in a domain. Then I want to define different patch name for these four cylinders.

I firstly create a cylinder in a quarter domain (1/4), and defined the patch name for this cylinder (namely, 'pile1'). I then mirror twice to get the whole domain with four cylinders inside.

Finally, the patch 'pile1' contains four cylinders, which is not what I want to.
Anyone can help me to solve this problem? thanks.


janepen May 3, 2013 06:17

I have solved my problem, thank you anyway.

Simply select the pile1 patch, copy it to four patches with different name, then
divide the number of faces by the number of cylinders, and change the start face accordingly.

Wish it helps your problem.

ngj May 3, 2013 07:17

Hi John,

Another way could have been to use the createPatch utility. If I remember correctly, then you can select some boundary faces and assign these to a different patch. This could avoid problems in the manual typing of the startFace and number of faces.

See the dictionary here:


Kind regards


All times are GMT -4. The time now is 18:45.