CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Technical] Tets Hex fvMesh (https://www.cfd-online.com/Forums/openfoam-meshing/61662-tets-hex-fvmesh.html)

juanduque October 12, 2006 09:42

Tets Hex fvMesh
 
Does anyone if there has got to be any special requirement for unstructured tets+hex meshes to be properly constructed to work with FOAM?

The helper constructor for polymesh only asks for the cell shapes and points basically... but it generates boundaries where the tets and hex meet.. any ideas or suggestions?

Thanks in advance!

gschaider October 12, 2006 09:54

You mean you have two tets on
 
You mean you have two tets on top of one hex? And it generates a boundary there? This is not surprising. One face can only be between two cells. In your setup to tet-cells "share" one hex-face. I think you'll have to construct a layer of pyramid cells between the hexes and the tets

eugene October 12, 2006 10:25

You should be able to use the
 
You should be able to use the stitchMesh utility to merge the two sides.

juanduque October 12, 2006 10:57

Thank you. I thought perhap
 
Thank you.

I thought perhaps FOAM with it's "hanging" nodes magic could do something for me (Topologically it's the same ...) but you're right. Thanks for the Idea of the pyramid "layer". The thing is that I'm adapting a very fast mesher we've developed... tets + polyhedral elements... and we thought that perhaps converting those polyhedraes to tets we could easen up the mesh feeding proccess to FOAM.

Stitch mesh is a good idea, but it would make really slow our meshing proccess (that takes a second or so to generate 1-2 millions of hexes...) and speed is our main directive.

Thank you!

eugene October 12, 2006 11:06

OpenFOAM uses a polyhedral mes
 
OpenFOAM uses a polyhedral mesh format, the shape stuff is all legacy and is only there for backward compatibility. I suggest you just keep the polyhdra.


All times are GMT -4. The time now is 04:10.