|
[Sponsors] |
[mesh manipulation] Define patches after MirrorMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 2, 2013, 11:05 |
Define patches after MirrorMesh
|
#1 |
New Member
John Peng
Join Date: Oct 2012
Location: NL
Posts: 7
Rep Power: 13 |
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. John |
|
May 3, 2013, 06:17 |
|
#2 |
New Member
John Peng
Join Date: Oct 2012
Location: NL
Posts: 7
Rep Power: 13 |
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. |
|
May 3, 2013, 07:17 |
|
#3 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
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: Code:
<OF-path>/applications/utilities/mesh/manipulation/createPatch/createPatchDict Niels |
|
Tags |
blockmeshdict block mesh, mirrormesh, patch |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 21:13 |
[mesh manipulation] Problem with using createPatchDict to define cyclic boundaries | kaszt | OpenFOAM Meshing & Mesh Conversion | 0 | April 1, 2016 21:18 |
UDF error for Heat Generation | mame | Fluent UDF and Scheme Programming | 4 | March 3, 2016 04:22 |
How to define patches after gmshToFoam ? | seb_j | OpenFOAM | 8 | July 13, 2011 09:25 |
[Gmsh] How to define these patches | zhoubinwx | OpenFOAM Meshing & Mesh Conversion | 6 | September 15, 2008 08:52 |