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

How to use featureEdge refinement

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

Like Tree1Likes
  • 1 Post By Tobi

Reply
 
LinkBack Thread Tools Display Modes
Old   November 27, 2014, 11:50
Default How to use featureEdge refinement
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,875
Blog Entries: 6
Rep Power: 32
Tobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

I read some threads about featureEdge refinement and some problems which occure if you apply featureEdge refinement. Therefor I checked out a few things and got some nice and interesting knowledge that I want to share with you.

I just wanted to mesh a cylinder and refine the features with level 2. The result is in picture #1. You see on the left side, that the feature refinement is not applied in the whole region. Only a few cells are refined with level 2. After playing around with blender and the eMesh I found, that sHM has some bug or more like a problem, finding these lines after refinement level 1 because if I move the feature edge on the left down the z-axis with 0,00001 m you can see that the result is like you expect (see picture 2).

I also tried to use the levels instead of level to check if its working with distances and what we see is what we expect. The result is like in picture 2. Done (:


Summary
  • In some cases it happens, that sHM does not realize the featureEdge for refinement. Maybe there is some tolerance parameter that can be set or should be introduced to fetch these lines in the new snappyHexMesh version.
  • To solve that problem you have to move your featureEdge a bit, like I did with blender or,
  • Just use levels (( )) and some distance to get these lines fetched.
  • The error also could not be solved after scaling the featureEdge and background mesh with factor 1000. Its getting better but still you will not have the expected result.


Hope it will help some guys,
Take care
Attached Images
File Type: jpg featureEdgeRefinement_1.jpg (26.2 KB, 39 views)
File Type: jpg featureEdgeRefinement_2.jpg (26.2 KB, 38 views)
Romarius likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
problems using snappyHexMesh 2.1.0 on a supercomputer Sunxing OpenFOAM Native Meshers: snappyHexMesh and Others 9 September 20, 2014 09:30
snappyHexMesh sticking point natty_king OpenFOAM Native Meshers: snappyHexMesh and Others 2 April 17, 2014 01:24
Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Native Meshers: snappyHexMesh and Others 1 April 22, 2013 02:32
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23


All times are GMT -4. The time now is 16:21.