CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: blockMesh (
-   -   patch on a plane (

dshawul July 20, 2011 17:26

patch on a plane
I have a blockMeshDict with many blocks (hexs) in it. When specifying the patches, I have to include all faces of the blocks that are considered as inlet for example. This is very tedious and I want to specify just a plane so that all faces lying on that plane will be included as patch. x = 0 is inlet , x = 10 is outlet, y = 12 is top etc... Is it possible to do that ?

wyldckat July 20, 2011 18:27

Greetings Daniel,

I think that what you are looking for is createPatch. To find more about it, see the files that appear when running this command:

find $WM_PROJECT_DIR -name "createPatchDict"
Best regards,

dshawul July 22, 2011 10:47

Thank you very much,
It took me long to understand how it works but that is exactly
the tool I needed.


All times are GMT -4. The time now is 20:23.