|
[Sponsors] |
[mesh manipulation] stitchMesh and mergeMeshes removal of interfaces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2010, 10:07 |
stitchMesh and mergeMeshes removal of interfaces
|
#1 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Hello,
I am trying to combine two meshes (made with blockMesh) to one single mesh, using stitchMesh and mergeMeshes. The interfaces of both partial meshes are equal in dimensions and positions and are named interface1 and interface2. When I run mergeMeshes . rootCase . addCase the patches interface1 and interface2 are in the new polyMesh/boundary file. They also remain when I run stitchMesh interface1 interface 2 How can I remove them? |
|
July 13, 2010, 10:26 |
|
#2 |
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 17 |
Do these patches still have face in them? Or is the entry in polyMesh/boundary showing nFaces 0? In that case you can simply delete these entries. (Don't forget to change the number of patches at the top of the file, too)
Otherwise you can try stitchMesh -perfect Regards, Stefan |
|
July 13, 2010, 10:40 |
|
#3 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Stefan,
Thank you for your quick reply. For the moment I cannot even run stitchMesh anymore. This is the error I receive: Create time Create mesh for time = 0 Coupling patches interface1 and interface2 Resulting (internal) faces will be in faceZone interface1interface2CutFaceZone Note: the overall area covered by both patches should be identical ("integral" interface). If this is not the case use the -partial option Not all zones and patches needed in the definition have been found. Please check your mesh definition. Error code: 000011 From function void slidingInterface::checkDefinition() in file polyMeshModifiers/slidingInterface/slidingInterface.C at line 96. FOAM aborting Aborted |
|
July 13, 2010, 12:46 |
|
#4 |
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 17 |
Dear Flowris,
seems like at least one of the patches you want to stitch is not defined in polyMesh/boundary. Regards, Stefan |
|
July 15, 2010, 08:16 |
|
#5 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Thanks Herbert,
I was now able to mergeMeshes and stitchMesh to meshes. The interface patches remain in the new mesh. How should I remove them? |
|
July 15, 2010, 08:38 |
|
#6 |
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 17 |
Hi Flowris,
either the patches are empty (nFaces=0) and the entries can just be removed in constant/boundary-file or they still have faces and can not be removed, because they are still not interior. Regards, Stefan |
|
July 16, 2010, 13:06 |
similar problem
|
#7 |
New Member
Chris Wolfgang
Join Date: Jul 2010
Location: PA, USA
Posts: 1
Rep Power: 0 |
I have a very similar problem. I built two grids to define the region above and below a free surface and named the top patch of the bottom grid and bottom patch of the top grid as freeSurf (also, when I constructed both grids I used the same domain to define freeSurf). When I run mergeMeshes it does connect the two grids together, but instead of removing both of the freeSurf patches, as it should have become an interior face, it leaves the one from the main case.
|
|
Tags |
interface, mergemeshes, stitchmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] StitchMesh sigFpe / bad point | liquidspoon | OpenFOAM Meshing & Mesh Conversion | 2 | November 29, 2015 15:19 |
[mesh manipulation] mergeMeshes and stitchMesh in parallel? | samiam1000 | OpenFOAM Meshing & Mesh Conversion | 1 | June 6, 2014 11:21 |
[mesh manipulation] Problem with stitchMesh: it does not work in meshes with several common patches | arnau1985 | OpenFOAM Meshing & Mesh Conversion | 2 | June 25, 2013 09:49 |
[mesh manipulation] using mergeMeshes and stitchMesh | Lada | OpenFOAM Meshing & Mesh Conversion | 2 | October 13, 2011 16:04 |
[mesh manipulation] MergeMeshes and stitchMesh problem | flo | OpenFOAM Meshing & Mesh Conversion | 6 | May 10, 2010 11:40 |