|
[Sponsors] |
[blockMesh] mergePatchPairs master with few slaves |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 2, 2010, 18:18 |
mergePatchPairs master with few slaves
|
#1 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Hey people,
I encountered some small problem with the mergePatchPairs and I'm eager to know how to solve it. There is a following simple situation. Let say we have 4 hexahedrals, one of them is a base and three others are connected on top of the first one, but they don't touch each other. So in other words, there is one face of the base (mainFace) and 3 faces of those 3 blocks (face1, face2, face3) which are standing on the base. So how should I define mergePatchPairs in order to get rid of interfaces between hexes/blocks? According to the Manual, where it's written: There are some additional recommendations to ensure successful merge procedures: > where a patch to be merged shares a common edge with another patch to be merged, both should be declared as a master patch. I supposed to do it in a following manner: Code:
mergePatchPairs ( ( mainFace face1 ) ( mainFace face2 ) ( mainFace face3 ) ); So what's the problem? Why I'm getting again and again the same error: Code:
--> FOAM FATAL ERROR: face 277 already marked for removal From function polyTopoChange::removeFace(const label, const label) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2807. Or maybe I'm wrong and it means that I suppose to cut my base at least into 3 pieces in order to connect 3 blocks? But, is it the only way?! Maybe I should mention that I'm using OF 1.6.x. Last edited by piprus; March 3, 2010 at 06:06. |
|
March 3, 2010, 06:24 |
|
#2 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Ok, since I'm focused on removing interfaces from the common edge, I should care more about the "cutting tools". I mean the mergePatchPairs suppose to look like below:
Code:
mergePatchPairs ( ( face1 mainFace ) ( face2 mainFace ) ( face3 mainFace ) ); But there is still something wrong, because I got again the same error ;( |
|
March 3, 2010, 10:08 |
Solved
|
#3 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
Ok, since nobody helps me, I came up with a simple solution. Just follow my steps:
1) The easiest way to get rid of few interfaces from one face is to put all of the faces that suppose to be removed later on in one patch - doesn't really matter whether you have one or six or even more faces to remove - I will call this patch cuttingFaces. 2) Then you have to define a patch, let say mainFace, which should stay after all. 3) Since you've done it you have to now define mergePatchPairs like below Code:
mergePatchPairs ( ( cuttingFaces mainFace ) ); If you find some problems with it, it means likely that your grid is not enough dense. |
|
November 8, 2012, 10:32 |
|
#4 |
New Member
Unnikrishnan Mohankumar
Join Date: Apr 2011
Posts: 29
Rep Power: 15 |
Thanks for your tip..
It is very helpful.. |
|
May 24, 2024, 15:24 |
|
#5 |
New Member
He Shang
Join Date: Nov 2023
Posts: 6
Rep Power: 2 |
thank you very very very much,piprus. You solved my problem!
|
|
Tags |
face, master, mergepatchpairs, slave |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
big difference between clockTime and executionTime | LM4112 | OpenFOAM Running, Solving & CFD | 21 | February 15, 2019 04:05 |
foam-extend-3.2 Pstream: "MPI_ABORT was invoked" | craven.brent | OpenFOAM Running, Solving & CFD | 5 | November 18, 2015 08:55 |
Compilation error with OpenFOAM 2.1.x | Martin_ | OpenFOAM Installation | 28 | January 15, 2013 07:58 |
openfoam 1.6 on debian etch | romant | OpenFOAM Installation | 9 | May 6, 2010 03:26 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |