CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

polyDualMesh results in non-planar faces and non-convex cells

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By deepsterblue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2012, 09:47
Default polyDualMesh results in non-planar faces and non-convex cells
  #1
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Hi everyone,

I have an extremely simple domain: a box of dimensions [0,1]^3 which is meshed with tetrahedrons using the Netgen algorithm of Salome (version 6.4.0, 64 bit). When I use the polyDualMesh to generate a polyhedral mesh of the boxed domain, I get cells which are non-convex and have non-planar faces. Here is a picture of such a cell.

I've tried multiple feature angles, although the 90 degrees seems most sensible for a simple box domain. Any advice on this?

Here's the case with the .unv of the tetrahedral mesh.

Note: creating a more regular tetrahedral mesh using a decomposition of hex cells results in a combination of hex-poly cells, where the polyhedra are convex with planar faces, but the cell aspect ratio is kind of high (around 2).

Is there a way to get a good polyhedral mesh using purely tet mesh generation algorithms such as Netgen?

Last edited by tomislav_maric; September 13, 2012 at 10:33.
tomislav_maric is offline   Reply With Quote

Old   September 13, 2012, 11:18
Default
  #2
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Have you checked to ensure that your underlying tet-mesh is Delaunay? If not, you'll have to ensure that first.

Of course, you could easily pre-process the underlying tet-mesh (with smooth/remesh) before you convert it to polyhedra..
tomislav_maric likes this.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   September 13, 2012, 11:24
Default
  #3
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by deepsterblue View Post
Have you checked to ensure that your underlying tet-mesh is Delaunay? If not, you'll have to ensure that first.

Of course, you could easily pre-process the underlying tet-mesh (with smooth/remesh) before you convert it to polyhedra..
Thanks! Nope, didn't check this.... I'm working with Salome, so I'm not sure how it goes about generating tet meshes..

As for smoothing-remeshing: how can I be sure that the dual will result in convex cells? I mean, what parameters/workflow do I use for smooth/remesh in this case?
tomislav_maric is offline   Reply With Quote

Old   September 13, 2012, 11:29
Default
  #4
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
I typically use the mesquiteMotionSolver in combination with moveDynamicMesh for a few time-steps. If you want to remesh as well, you can use dynamicTopoFvMesh (which can include a smoother as well).

Sorry for blatantly advertising my stuff, but couldn't help it...
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   September 13, 2012, 11:32
Default
  #5
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by deepsterblue View Post
I typically use the mesquiteMotionSolver in combination with moveDynamicMesh for a few time-steps. If you want to remesh as well, you can use dynamicTopoFvMesh (which can include a smoother as well).

Sorry for blatantly advertising my stuff, but couldn't help it...
Hehehehe marketing is always good.. and your stuff is worth advertising, so no worries there! Thanks for the info, I will try it!
tomislav_maric 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



All times are GMT -4. The time now is 20:47.