|
[Sponsors] |
June 22, 2011, 09:10 |
mergeMeshes hex + tet
|
#1 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Hello,
I want to do mergeMeshes on a hex and a tet mesh, see picture. Is this possible? When I run mergeMeshes . grid1 .grid2 I get Code:
Master: "." "grid1" region region0 mesh to add: "." "grid2" region region0 Create Times Reading master mesh for time = 0 Create mesh --> FOAM Warning : From function directTopoChange::addMesh(const polyMesh&, const labelList&,const labelList&, const labelList&,const labelList&) in file directTopoChange/directTopoChange/directTopoChange.C at line 2281 Segmentation fault |
|
June 22, 2011, 09:24 |
|
#2 |
Senior Member
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 15 |
You need to have a conformal interface as far as I know.
This is not the case for you. I don't know how you made the mesh, but maybe you can retry with a conformal interface. I think it will work than. |
|
June 22, 2011, 15:16 |
|
#3 |
Member
Logan Page
Join Date: Sep 2010
Posts: 38
Rep Power: 15 |
You can create nice hybrid structured / unstructured meshes with gmsh (tho it can take a while to setup for more complex geometries). This also imports into OpenFOAM quite nicely.
|
|
June 23, 2011, 02:45 |
|
#4 | |
Senior Member
Arne Stahlmann
Join Date: Nov 2009
Location: Hanover, Germany
Posts: 209
Rep Power: 17 |
Quote:
Generally I would not recommend it, as you can get a lot of trouble using tet meshes (at least when using the interFoam solver). You could try snappyHexMesh instead. Arne |
||
June 23, 2011, 09:14 |
|
#5 |
Member
kshitij neroorkar
Join Date: Mar 2009
Location: Michigan, USA
Posts: 32
Rep Power: 17 |
I know you can have non-conformal interfaces using ggi patches, but I am not sure if it is alright to have one side hex and another side tet. Does anyone know about this?
|
|
June 23, 2011, 10:10 |
|
#6 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
GGI doesn't really care about cell-topology on either side. The only limitation is that patch faces be convex, because of a limitation in the intersection algorithms.
|
|
June 23, 2011, 10:53 |
A little explanation
|
#7 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Thanks for the many replies.
A little explanation: I made a tet mesh around a foil inside a circle with gmsh. Now I want to add layers on the foil surface. As far as I know, this cannot be done in gmsh, because the foil is an extrude spline profile. If I use refineWallLayer -overwrite airfoil 0.3 I get a bad layer with skew cells, see picture. So any suggestions on how to ad these layers? |
|
June 23, 2011, 11:03 |
|
#8 | |
Senior Member
Arne Stahlmann
Join Date: Nov 2009
Location: Hanover, Germany
Posts: 209
Rep Power: 17 |
Quote:
RefineWallLayers might not be a good choice in your case, as it just splits your surrounding cells. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Blockmesh error - 2D scramjet | ishaninair | OpenFOAM Meshing & Mesh Conversion | 7 | March 18, 2011 00:14 |
[ICEM] how can i create a consistent transitions between tet and hex? specifically my model? | snailstb | ANSYS Meshing & Geometry | 3 | March 15, 2010 20:26 |
Hex versus Tet | Jade M | CFX | 1 | March 11, 2010 23:41 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 02:34 |
poly, hex dom, hex, tet | azmir | Siemens | 0 | October 31, 2007 19:24 |