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

snappyHexMesh ignores refinement regions

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

Like Tree1Likes
  • 1 Post By kilroy

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2013, 10:17
Default snappyHexMesh ignores refinement regions
  #1
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 119
Rep Power: 3
kilroy is on a distinguished road
Hello all,

I trying to add refinement regions to my mesh by using snappyHexMesh but for some reason it doesn't let me do that.

You can see my "blockMeshDict" and "snappyHexMeshDict" files attached.

blockMeshDict.txt

snappyHexMeshDict.txt

I checked my "searchableBox" coordinates but nothing seems wrong.

Can you please help me to find the problem?

Thanks,
kilroy is offline   Reply With Quote

Old   June 8, 2013, 17:49
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,511
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings kilroy,

This tends to happen a lot with snappyHexMesh I personally end up not using layer addition by sHM and use refinement levels instead of layers.

Nonetheless, I suggest that you check the very useful presentation "A Comprehensive Tour of snappyHexMesh - 7th OpenFOAM Workshop (25 June 2012)" for more ideas: http://openfoamwiki.net/index.php/SnappyHexMesh

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 10, 2013, 15:02
Default
  #3
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 119
Rep Power: 3
kilroy is on a distinguished road
Thank you very much for your reply Bruno. I found the problem now. It is because of my "blockMeshDict" file. I did a mistake with my vertices.

vertices
(
(-35 -0.04 -17.5)
( 55 -0.04 -17.5)
( 55 0.04 -17.5)
(-35 0.04 -17.5)
(-35 -0.04 17.5)
( 55 -0.04 17.5)
( 55 0.04 17.5)
(-35 0.04 17.5)

(-35 -0.04 17.5)
( 55 -0.04 17.5)
( 55 0.04 17.5)
(-35 0.04 17.5)
);

z-coordinate of the points above shown with red, should be zero.

After fixing that, my "snappyHexMesh" started working properly again

Sincerely,
Kilroy
wyldckat likes this.
kilroy 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 03:32
snappyHexMesh refinement regions ignored guitarbren OpenFOAM Meshing & Mesh Conversion 2 April 9, 2013 04:59
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 18:12
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 22: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 03:20.