|
[Sponsors] |
May 15, 2009, 00:57 |
mergePatchPairs not currently supported
|
#1 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
May 18, 2009, 00:19 |
Failed to use blockMesh to generate a multiblock mesh
|
#2 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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 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 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
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
June 2, 2009, 05:39 |
|
#3 |
Member
Richard Kenny
Join Date: Mar 2009
Posts: 64
Rep Power: 18 |
looks like a job for "stitchMesh" although the corners might possibly be problematic.
|
|
June 3, 2009, 06:44 |
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
It should work with 1.5-dev without trouble.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
June 3, 2009, 07:48 |
|
#5 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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 ------------- Boeing Research & Technology - China Beijing, China |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug in mergePatchPairs OF 15 | kalle | OpenFOAM Bugs | 7 | February 23, 2010 10:54 |
[blockMesh] BlockMeshDict with multiple hex blocks mergePatchPairs | prousa | OpenFOAM Meshing & Mesh Conversion | 1 | May 15, 2009 00:42 |
[blockMesh] BlockMesh documentation User Guide clearance of mergePatchPairs proposals | benru | OpenFOAM Meshing & Mesh Conversion | 0 | June 9, 2008 03:22 |
[blockMesh] MergePatchPairs in blockMeshDict | lord_kossity | OpenFOAM Meshing & Mesh Conversion | 0 | April 15, 2008 03:28 |
[blockMesh] Trouble with mergePatchPairs | debris | OpenFOAM Meshing & Mesh Conversion | 7 | April 3, 2006 11:57 |