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

[snappyHexMesh] does SnappyHexMesh allows intersection of refinement regions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2014, 16:41
Default does SnappyHexMesh allows intersection of refinement regions
  #1
New Member
 
Zeliang Xu
Join Date: Apr 2013
Posts: 5
Rep Power: 13
douglasx is on a distinguished road
Hi Foamers,

I am currently using snappyHexMesh based on DTCHull tutorial in the 2.3 version.
In the tutorial, refinement in Z direction near the free surface is done by having small spacing in Z direction in blockMeshDict. Then some topoSet and refineMesh in X and Y directions are used to make sure block meshes near the ship hull is not having too big aspect ratio.

I am trying to add more refinement to this case by adding a cone shape refinement box (imported into SnappyHexMesh as stl file) behind the hull to capture Kelvin wake. However, in snappyHexMesh, it reports "cell *** of level * uses more than 8 points of equal or lower level".

After some tests I figured out that the problem is that the cone shape refinement box is intersecting with the refineMesh boxes. And when I split the cone into different parts, with each part fitted into each refineMesh box rather than making intersections, there is no more problem. However, splitting the cone left gaps in between.

I am wondering if this is the normal solution or there are more ways of going around the problem? So the regions refined by refineMesh cannot have any intersections with other refienment boxes?

I have attached a figure showing the basic configuration of my cone shape refinement box, ship hull and refineMesh boxes.

Any comment is appreciated.

Thanks,
Zeliang
Attached Images
File Type: jpg CFDonlinePost.jpg (93.2 KB, 185 views)
douglasx is offline   Reply With Quote

Old   April 2, 2014, 04:00
Default
  #2
thg
Member
 
Thorsten Grahs
Join Date: Oct 2009
Posts: 61
Rep Power: 16
thg is on a distinguished road
Hi Zeliang,

in principle there should be no problem with intersecting refinment regions or volumes.
But from the error message I would derive that you try to refine a mesh region (cells)
which was already deformed/snappped. Snappy can oly refine on pure hexyeder elemnts.
For me it look that you try to refine a mesh which is already processed with snappyHex. You should start from the blockMesh.
thg is offline   Reply With Quote

Old   April 2, 2014, 09:30
Default
  #3
New Member
 
Zeliang Xu
Join Date: Apr 2013
Posts: 5
Rep Power: 13
douglasx is on a distinguished road
Hi Thorsten,

Thank you for your reply. The procedure I took to building the mesh is blockMesh, refineMesh, snappyHexMesh, and the error message takes place. When I split my refinement regions to avoid intersections, the error message goes away.
I have also tried the suggestions of "blockMesh, snappyHexMesh, refineMesh" procedure. For this procedure, I do not have to worry about intersection of regions that upsets snappyHexMesh, but the resulting mesh quality is not as good (thousands of highly skewed cells).
So there is some kind of trade-offs.
Have you tried refineMesh+snappyHexMesh combination and have the ideal mesh?

Thanks,
Zeliang
douglasx 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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 09:12
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 01:37
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23


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