CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

polyDualMesh, create a tetrahedral mesh from a polyhedral mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools 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: 6
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: 237
Rep Power: 9
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: 6
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: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 6
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 12:45
[ICEM] Problem making structured mesh on a surface froztbear ANSYS Meshing & Geometry 4 November 10, 2011 09:52
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 09:52
How to get polyhedral mesh without additional cells when using foamToVTK chnrdu OpenFOAM Meshing Format & General Technical 4 June 10, 2008 13:08


All times are GMT -4. The time now is 00:42.