|
[Sponsors] |
[mesh manipulation] StitchMesh sigFpe / bad point |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Alex
Join Date: Jun 2011
Posts: 33
Rep Power: 15 ![]() |
Hi all,
I am trying to use mergeMeshes and StitchMesh to attach an inlet port to an annular domain, but am getting stumped on the StitchMesh stage. I would really appreciate assistance on this. I make the annulus first Code:
blockMesh mirrorMesh Step 1.jpg Then I make the port that connects to the side in another case directory (MeshCase), and that comes out fine: Code:
blockMesh Step 2.jpg Then I run: Code:
mergeMeshes -overwrite . MeshCase Step 3.jpg Finally, I need to get rid of the dummy patch (inner portion of the inlet port that coincides with the outer boundary of the big mesh). I have tried to use stitchMesh to make this work, but can not figure it out. Calling: Code:
stitchMesh -partial Wall Dummy Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::slidingInterface::projectPoints() const at ??:? #4 Foam::slidingInterface::changeTopology() const at ??:? #5 Foam::polyTopoChanger::changeTopology() const at ??:? #6 Foam::polyTopoChanger::changeMesh(bool, bool, bool, bool) at ??:? #7 ? at ??:? #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #9 ? at ??:? Floating point exception (core dumped) Code:
Bad points:(0.137781 0.980365 0.02) (0.137781 0.980365 0.02) (-0.30265 -1.96664 0.02) From function void plane::calcPntAndVec ( const point&, const point&, const point& ) I have attached the case. StitchTest.zip |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Alex,
The problem is that you have a single patch for the main mesh, leading stitchMesh to get confused about which points from the wall to be used for stitching. The following did the trick: Code:
blockMesh mirrorMesh blockMesh -case MeshCase autoPatch -overwrite 45 mergeMeshes -overwrite . MeshCase stitchMesh -overwrite auto1 Dummy Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Alex
Join Date: Jun 2011
Posts: 33
Rep Power: 15 ![]() |
Hi Bruno,
Thank you very much for the detailed response and assistance. I am eager to try this out when I get back to the office. You are a real asset to the community. I owe you a beer if we are ever in the same town for a conference :-). |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Duplicate point found in cut face - stitchMesh - problem | RugbyGandalf | OpenFOAM Meshing & Mesh Conversion | 5 | April 2, 2020 14:45 |
[mesh manipulation] stitchMesh: multiple meshes | GerhardHolzinger | OpenFOAM Meshing & Mesh Conversion | 3 | August 25, 2017 12:43 |
an odd(at least for me!) reconstructPar error on a field | immortality | OpenFOAM Running, Solving & CFD | 3 | June 3, 2013 22:36 |
[mesh manipulation] stitchMesh Dublicate point ... | besto | OpenFOAM Meshing & Mesh Conversion | 1 | October 4, 2011 21:48 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |