CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

mergePatchPairs not currently supported

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 14, 2009, 23:57
Default mergePatchPairs not currently supported
  #1
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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!
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   May 17, 2009, 23:19
Default Failed to use blockMesh to generate a multiblock mesh
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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,
mesh-1.jpg

mesh-2.jpg


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
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   June 2, 2009, 04:39
Default
  #3
Member
 
Richard Kenny
Join Date: Mar 2009
Posts: 59
Rep Power: 8
richpaj is on a distinguished road
looks like a job for "stitchMesh" although the corners might possibly be problematic.
richpaj is offline   Reply With Quote

Old   June 3, 2009, 05:44
Default
  #4
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,730
Rep Power: 20
hjasak will become famous soon enough
It should work with 1.5-dev without trouble.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 3, 2009, 06:48
Default
  #5
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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.
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in mergePatchPairs OF 15 kalle OpenFOAM Bugs 7 February 23, 2010 09:54
BlockMeshDict with multiple hex blocks mergePatchPairs prousa OpenFOAM Native Meshers: blockMesh 1 May 14, 2009 23:42
BlockMesh documentation User Guide clearance of mergePatchPairs proposals benru OpenFOAM Native Meshers: blockMesh 0 June 9, 2008 02:22
MergePatchPairs in blockMeshDict lord_kossity OpenFOAM Native Meshers: blockMesh 0 April 15, 2008 02:28
Trouble with mergePatchPairs debris OpenFOAM Native Meshers: blockMesh 7 April 3, 2006 10:57


All times are GMT -4. The time now is 21:12.