CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] MergePatchPairs in blockMeshDict (https://www.cfd-online.com/Forums/openfoam-meshing/61803-mergepatchpairs-blockmeshdict.html)

lord_kossity April 15, 2008 02:28

MergePatchPairs in blockMeshDict
 
Hello Message Board,

I'm trying to use the function mergePatchPairs in order to solve the problem of hanging nodes.

The case can be described as follows:
Originally we have a closed channel with a square cylinder positioned vertically to the flow direction and is mounted on the front and back wall of the channel. In order to derive adequate results I'm defining several domains around the square cylinder becoming coarser from the inside to the outside domain.
___ ______________ ___
|___|_______1______|___|
|...|_2_|___3__|_4_|...|
|...|...|square|...|...|
|...|...|cylind|...|...|
|...|___|______|___|...|
|___|_6_|___7__|_8_|___|
|___|_______5______|___|

For this reason I'm defining a patch combined of 2,3,4 and merge it with 1 and also doing so for 6,7,8 and 5. That works fine!

BUT if I try to merge in the same principle in vertical direction, I receive the following error:

--> FOAM FATAL ERROR : Error in point ordering: mixed used and unused points at the end of point list.
Number of used points: 281841 and point 282051 is used by a live face.#0 Foam::error::printStack(Foam::-Ostream&) in "~/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"

What is going wrong here?
Is supposed, that there might be some problems on the corners that might be twice involved in merging (one time horizontal, other time vertical), therefore I changed the master to the slave patch and the other way round. but that didn't solve the problem either...

So please give me a hint!

Any help is appreciated!

Please excuse the bad picture


All times are GMT -4. The time now is 03:59.