CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] polyDualMesh, create a tetrahedral mesh from a polyhedral mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2012, 06:04
Default polyDualMesh, create a tetrahedral mesh from a polyhedral mesh
  #1
Member
 
Join Date: Aug 2010
Posts: 31
Rep Power: 16
Martin80 is on a distinguished road
Hi,

I am using polyDualMesh and finally I get a polyhedral Mesh, but I need a tetrahedral Mesh.

Is there a posibility in OpenFoam
to create a tetrahedral Mesh by using polyDualMesh
or
is there a way to create a tetrahedral Mesh from a polyhedral Mesh?

Thanks for any hint,
M.
Martin80 is offline   Reply With Quote

Old   February 22, 2012, 10:02
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
hello,
You can't create a tetrahedral Mesh from a polyhedral Mesh, since it does exactly the opposite. And if you run polyDualMesh twice, you get the dual of the polymesh, which is again a polyhedral mesh.

If you want a thetrahedral mesh, look at netgen (with salome) / gmsh / engrid /...

regards,
olivier
olivierG is offline   Reply With Quote

Old   February 22, 2012, 10:28
Default
  #3
Member
 
Join Date: Aug 2010
Posts: 31
Rep Power: 16
Martin80 is on a distinguished road
Hi,

thanks for your quick answer, but I don't agree, that it is not possible to create a tetrahedral grid from a polyhedral grid.
It is always possible to split a polyhedron into a set of tetrahedrons.

(The reason why I'm using polyDualMesh is because the cell centres should become my new grid points for some reason.)

I have found in openfoam-1.6-ext the application "tetDecomposition", but this application adds additional points.

B.r. Martin.
Martin80 is offline   Reply With Quote

Old   January 29, 2013, 00:36
Default
  #4
Member
 
Join Date: Nov 2010
Location: Tokyo / Japan
Posts: 40
Rep Power: 16
Hanzo is on a distinguished road
Hello Martin,

did you find a way to convert your polyhedral mesh into a tetrahedral mesh? Please let me know

Best,
Hanzo
Hanzo is offline   Reply With Quote

Old   January 30, 2013, 17:52
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Hanzo - I think the solution he probably used was this:
Quote:
Originally Posted by Martin80 View Post
I have found in openfoam-1.6-ext the application "tetDecomposition", but this application adds additional points.
Namely this one: https://github.com/ogoe/OpenFOAM-1.6...tDecomposition

The need for adding new points should be rather simple: without new points, the boundaries are not preserved, if the cell centers are used as vertexes for the tetrahedral mesh.

Best regards,
Bruno
Hanzo likes this.
__________________
wyldckat is offline   Reply With Quote

Old   January 30, 2013, 23:07
Default
  #6
Member
 
Join Date: Nov 2010
Location: Tokyo / Japan
Posts: 40
Rep Power: 16
Hanzo is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@Hanzo - I think the solution he probably used was this:

Namely this one: https://github.com/ogoe/OpenFOAM-1.6...tDecomposition
Thanks a lot Bruno. Works nice.
Hanzo is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
tetrahedral to polyhedral mesh m zahid FLUENT 1 October 26, 2015 16:57
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[ICEM] how to create a 2d tri mesh with quad mesh in the boundary layer seal2013 ANSYS Meshing & Geometry 3 October 6, 2013 17:09


All times are GMT -4. The time now is 13:40.