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

[mesh manipulation] PolyDualMesh not working properly

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

Like Tree11Likes
  • 1 Post By Tobi
  • 3 Post By hjasak
  • 1 Post By Tobi
  • 2 Post By Tobi
  • 3 Post By philippose
  • 1 Post By kagen816

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2017, 18:58
Default PolyDualMesh not working properly
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey everybody,

I try to convert a tetraeder mesh (Salome - Netgen 3D/2D) into a polygon mesh using the utility polyDualMesh. The application runs nice but checkMesh gives errors. Does anybody know if it is working with all tetreader meshes? I also found this thread: https://www.cfd-online.com/Forums/op...h-utility.html and the corresponding foam wiki page but both were not helpful.


Some feedback would be nice.
Ramzy1990 likes this.
__________________
Keep foaming,
Tobias Holzmann

Last edited by Tobi; June 3, 2017 at 10:45.
Tobi is offline   Reply With Quote

Old   June 3, 2017, 06:17
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33
hjasak will become famous soon enough
Hi Tobi,

The converter will work only if your tet mesh is Delauney. Do you have a way to check that? (I know, I wrote the utility),

Hrv
lourencosm, randolph and Ramzy1990 like this.
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 3, 2017, 07:41
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Hrv,

what a pleasure to get feedback from you. Thank you for your reply. The mesh was generated using Salome Meca (NETGEN 3D/2D). I will check if there is a possibility to check if the tetmesh is Delauney or even check out other algorithms that come with Salome.

Thank you in advance.
Ramzy1990 likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   June 3, 2017, 10:44
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Hrv,

you were right. I changed the parameters in Salome and got the result that I wanted to have now - for those who are interested, you have to use NETGEN 3D-2D-1D in the 3D setup mask.

Now everything is fine. Thanks again.
lourencosm and Ramzy1990 like this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   June 3, 2017, 17:59
Default
  #5
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello Tobi, Hrv,
A good evening to both of you :-)

Just for some additional info, yes, meshes generated by Netgen are Delaunay meshes with pure tet elements.

Since the mesh was created from within Salome, there might have been a setting which somehow violated this, but if you were to create the mesh using the original Netgen code/api/gui, you would get a Delaunay mesh.

Wish you a good evening ahead.

Regards,
Philippose
Tobi, lourencosm and Ramzy1990 like this.
philippose is offline   Reply With Quote

Old   April 26, 2019, 18:11
Default
  #6
New Member
 
Not applicable
Join Date: Sep 2018
Posts: 15
Rep Power: 7
kagen816 is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Hey everybody,

I try to convert a tetraeder mesh (Salome - Netgen 3D/2D) into a polygon mesh using the utility polyDualMesh. The application runs nice but checkMesh gives errors. Does anybody know if it is working with all tetreader meshes? I also found this thread: https://www.cfd-online.com/Forums/op...h-utility.html and the corresponding foam wiki page but both were not helpful.


Some feedback would be nice.
Hi Tobi,

I am working on the polygon mesh by polyDualMesh recently, I want to convert the tetrahedral mesh in the hybrid mesh into polyhedral one, but after converting the mesh I run the checkMesh, and find the number of cells becomes more than 4 times . I just wander is there something wrong with the converting? Since the polygon mesh should be less than tetrahedral mesh.
Thank you!
lourencosm likes this.

Last edited by kagen816; April 27, 2019 at 05:30.
kagen816 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
potentialFoam not working properly GAlava OpenFOAM Running, Solving & CFD 7 March 9, 2021 12:34
Is there any institutions still working on solving N-S equations? sharonyue Main CFD Forum 2 November 11, 2015 09:23
what "If" condition means in rebound brbbhatti OpenFOAM Programming & Development 0 August 12, 2014 10:18
Flapping wing rotation in Fluent 3D not working properly davesmith_01 FLUENT 1 February 13, 2011 22:35
Sample utility not working properly titio OpenFOAM 2 June 9, 2010 11:45


All times are GMT -4. The time now is 06:52.