CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

does SnappyHexMesh allows intersection of refinement regions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 21, 2014, 17:41
Default does SnappyHexMesh allows intersection of refinement regions
  #1
New Member
 
Zeliang Xu
Join Date: Apr 2013
Posts: 5
Rep Power: 4
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, 69 views)
douglasx is offline   Reply With Quote

Old   April 2, 2014, 04:00
Default
  #2
thg
Member
 
Thorsten Grahs
Join Date: Oct 2009
Posts: 44
Rep Power: 7
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: 4
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

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
Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Native Meshers: snappyHexMesh and Others 1 April 22, 2013 02:32
snappyHexMesh refinement regions ignored guitarbren OpenFOAM Meshing & Mesh Conversion 2 April 9, 2013 03:59
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23


All times are GMT -4. The time now is 14:27.