CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   mergePatchPairs not currently supported (http://www.cfd-online.com/Forums/openfoam-bugs/64574-mergepatchpairs-not-currently-supported.html)

lakeat May 14, 2009 23:57

mergePatchPairs not currently supported
 
Hi Forum,

Is it that mergePatchPairs.C should be renamed mergePatchPairs.H according to blockMeshApp.C, line 245?

I spent a whole day to create multiblocks and finnaly I found,
mergePatchPairs not currently supported.
No need to say what my feeling is now,,,,,

I really need to save the mesh, could anyone do me a favor, telling me how to merge the patch pairs, taking a look at my case, that I may Email or upload it? For the error still exists even if I comment out that line 245 in blockMeshApp.C. (OpenFOAM-1.5)

Code:

Creating merge patch pairs



index -1 out of range 0 ... 15#0  Foam::error::printStack(Foam::Ostream&) at ~/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/printStack.C:203
#1  Foam::error::abort() at ~/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/error.C:242
#2  Foam::Ostream& Foam::operator<< <Foam::error>(Foam::Ostream&, Foam::errorManip<Foam::error>) at ~/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/errorManip.H:87
#3  Foam::UList<Foam::polyPatch*>::checkIndex(int) const at ~/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UListI.H:106
#4  Foam::UList<Foam::polyPatch*>::operator[](int) const at ~/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UListI.H:129
#5  Foam::PtrList<Foam::polyPatch>::operator[](int) const at ~/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrListI.H:83
#6  main at ~/OpenFOAM/OpenFOAM-1.5/applications/utilities/mesh/generation/blockMesh/mergePatchPairs.C:57
#7  __libc_start_main in "/lib/libc.so.6"
#8  _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122


    From function UList<T>::checkIndex(const label)
    in file /home/lamb/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UListI.H at line 102.

FOAM aborting

Aborted

Many many Thanks in advance!

lakeat May 17, 2009 23:19

Failed to use blockMesh to generate a multiblock mesh
 
2 Attachment(s)
I have failed to use blockMesh to generate a multiblock mesh using mergePatchPairs, there are three blocks in my case, the case is a cylinder case, O-type, the problem is that I can carefully merge the 1st with the 2nd, but 3rd cannot be merged into them, blockMesh complained this or that again and again. I tried to switch some debug parameters in etc/controDict, but the outcome is still hard to understand for me.


This is a classic case for DES, as you know. (DES past a circular cylinder, by Andrei Travin, etc., 1999). Here are the pictures,
Attachment 307

Attachment 308


The errors I met look like these:
Code:

Creating merge patch pairs

Adding point and face zones
Creating topo change


Error in point ordering: mixed used and unused points at the end of point list.
Last used points: 23964 (1.41421 -0.5 0) and point 24006 (-1.06066 -1.06066 0) is used by a live face.
Face 23578 4(24006 24007 24028 24027)
Face 23719 4(24272 24006 24027 24291)
Done.

  From function void polyMesh::initMesh()
  in file meshes/polyMesh/polyMeshInitMesh.C at line 145.

FOAM aborting

Aborted

or
Code:

Creating merge patch pairs

Adding point and face zones
Creating topo change


Duplicate point found in cut face. 24017 and 2. Error in the face cutting algorithm for global face 4(22237 22888 22919 22268) local face 4(19 40 41 20)
Slave size: 52 Master size: 164 index: 19.
Face: 6(4619 8711 8777 24029 24017 4685)
Cut face:
101

.............

  From function void enrichedPatch::calcCutFaces() const
  in file polyMeshModifiers/slidingInterface/enrichedPatch/enrichedPatchCutFaces.C at line 594.

FOAM aborting

Aborted

or
Code:

Adding point and face zones
Creating topo change


Face 34215 reduced to less than 3 points. Topological/cutting error A.
Old face: 2(22300 22331) new face: 2(22300 22331)

  From function void slidingInterface::coupleInterface(polyTopoChange& ref) const
  in file polyMeshModifiers/slidingInterface/coupleSlidingInterface.C at line 1503.

FOAM aborting

Aborted

Kindly advice, please. Thank you

richpaj June 2, 2009 04:39

looks like a job for "stitchMesh" although the corners might possibly be problematic.

hjasak June 3, 2009 05:44

It should work with 1.5-dev without trouble.

Hrv

lakeat June 3, 2009 06:48

I feel totally tired and burnt out, the utility costs me too much time. I will try it again when I have my hands free and my mind cleared up.

Thank you all.


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