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

[mesh manipulation] dynamicRefineFvMesh creates polyhedra from hex mesh?

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

Like Tree1Likes
  • 1 Post By jmt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2020, 15:27
Default dynamicRefineFvMesh creates polyhedra from hex mesh?
  #1
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 6
jmt is on a distinguished road
Good afternoon.

I am connecting the dynamicRefineFvMesh library to a custom solver to expand adaptive mesh refinement capability. When I start with a mesh composed entirely of hexahedra (generated by blockMesh), the refinement code eventually introduces polyhedra with many faces... up to 21 faces.

Does anyone have an explanation for why this happens? I thought the refinement code only worked with hex cells, and called the hexRef8 cutter to create 8 child hex cells from a parent hex cell.

Thanks for any insight.
G.Latour likes this.
jmt is offline   Reply With Quote

Old   May 14, 2020, 16:11
Default
  #2
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 6
jmt is on a distinguished road
Hi everyone,


I figured this out. What happened was that when a parent cell was refined to 8 child cells, the neighbor, un-refined cell is now counted as having 9 faces (the five original faces, plus the shared face now split into four faces). When a un-refined cell shares multiple faces with refined cells, this happens again, causing checkMesh to count these cells as polyhedra with number of faces as multiples of three.


Further, when visualizing in Paraview with the Decompose Polyhedra box checked (default option), these hex cells were decomposed into pyramid and prism type cells, leading me to believe there were non hexes in the mesh.

Decompose Polyhedra on:





Decompose Polyhedra off:



Last edited by jmt; May 14, 2020 at 16:13. Reason: add images
jmt 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
[snappyHexMesh] Snappy Hex Mesh Generation: error preventing the .eMesh file generation. Mariana Garcia OpenFOAM Meshing & Mesh Conversion 1 January 7, 2016 04:24
[Other] mergeMatchPairs with arcs vainilreb OpenFOAM Meshing & Mesh Conversion 1 August 5, 2013 08:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


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