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

featureAngle sHM

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

Like Tree2Likes
  • 2 Post By SirWombat

Reply
 
LinkBack Thread Tools Display Modes
Old   August 15, 2012, 02:59
Default featureAngle sHM
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,356
Blog Entries: 5
Rep Power: 22
Tobi will become famous soon enoughTobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

i am using sHM since 2 years and after the 7th OF-Workshop I read the sHM-Tutorials of Eugenede Villiers after Bruno told in a thread this nice link.

In the presentation there is described the function of "featureAngle".
If you set it to 180 you are able to build layers on the corners. I tried this but there is no corner layer. I tried a few featureAngles like:

30
60
120
150
180

but every mesh looked the same?
Is that function just implemented in the extended sHM version?
Tobi


Tobi is offline   Reply With Quote

Old   August 16, 2012, 04:25
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 10
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
Hi Tobi,

AFAIK it works just fine. Just be sure you don't filter any cells by wrong quality settings!

Layercells around corners often result in a surrounding mesh that has quite heavily distorted cells. So check your quality setting to allow such cells!

G Jan
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   August 16, 2012, 05:08
Default
  #3
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 10
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
Hi Tobi,

just to give you an example:
I used a cube blockMesh background mesh. Then I put a cube inside this one with SHM and used a few layers.

Those layer-cells are colored green.

The 1st image is with "featureAngle 50" The 2nd is with "featureAngle 60". This can be a little confusing because the angle is not referring to the two neighboring surfaces the layercells rest on, but to the cells normal vectors of those two neighboring cells. And on a 90 corner that angle is not 90 degrees but less!

The last image attached shows how i think the featureAngle works.

G Jan
Attached Images
File Type: jpg featureAngle_50.jpg (97.8 KB, 117 views)
File Type: jpg featureAngle_60.jpg (97.1 KB, 120 views)
File Type: jpg feature_angle.jpg (16.9 KB, 108 views)
David* and FrankFlow like this.
__________________
~~~_/)~~~

Last edited by SirWombat; August 17, 2012 at 02:35.
SirWombat is offline   Reply With Quote

Old   August 20, 2012, 07:16
Default
  #4
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,356
Blog Entries: 5
Rep Power: 22
Tobi will become famous soon enoughTobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by SirWombat View Post
Hi Tobi,

just to give you an example:
I used a cube blockMesh background mesh. Then I put a cube inside this one with SHM and used a few layers.

Those layer-cells are colored green.

The 1st image is with "featureAngle 50" The 2nd is with "featureAngle 60". This can be a little confusing because the angle is not referring to the two neighboring surfaces the layercells rest on, but to the cells normal vectors of those two neighboring cells. And on a 90 corner that angle is not 90 degrees but less!

The last image attached shows how i think the featureAngle works.

G Jan
Hi Jan,
thanks for your replay. Well your post sounds very good but I thought that you get better cells with the layer generation at the corners?

Am I wrong?
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
Problem with cell removal in SHM Bercht OpenFOAM Native Meshers: snappyHexMesh and Others 5 June 22, 2012 08:34
Layers in SHM and refineWallLayer danvica OpenFOAM Native Meshers: snappyHexMesh and Others 3 April 30, 2012 05:32
Multi Region Meshing with sHM marango OpenFOAM Native Meshers: snappyHexMesh and Others 3 March 27, 2012 00:51
sHM and cyclicGgi FabOr OpenFOAM 27 February 8, 2012 15:58
sHM with cyclic patch on stl geometry johannesk OpenFOAM Native Meshers: snappyHexMesh and Others 2 August 21, 2009 09:08


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