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

[snappyHexMesh] snappyHexMesh corners missing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2014, 09:47
Default snappyHexMesh corners missing
  #1
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Hello,

I am using snappyHexMesh to mesh a box. However, I found that the corner (90 degree perpendicular) is missing after meshing.

I don't know why and how to avoid it.

Thanks for any replies.
wc34071209 is offline   Reply With Quote

Old   February 10, 2014, 04:05
Default
  #2
Member
 
phil
Join Date: Oct 2013
Posts: 36
Rep Power: 12
gelbebanane is on a distinguished road
Hi,
how did you create that box? With an .stl file or by refinementBox?
Have a look at this it is a nice tutorial for easy cases.
https://sites.google.com/site/snappy...ppyhexmeshdict
gelbebanane is offline   Reply With Quote

Old   February 10, 2014, 04:51
Default
  #3
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by gelbebanane View Post
Hi,
how did you create that box? With an .stl file or by refinementBox?
Have a look at this it is a nice tutorial for easy cases.
https://sites.google.com/site/snappy...ppyhexmeshdict
With an STL.
wc34071209 is offline   Reply With Quote

Old   February 10, 2014, 04:53
Default
  #4
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by gelbebanane View Post
Hi,
how did you create that box? With an .stl file or by refinementBox?
Have a look at this it is a nice tutorial for easy cases.
https://sites.google.com/site/snappy...ppyhexmeshdict
Thanks quite a lot. The link is quite useful to me.
wc34071209 is offline   Reply With Quote

Old   February 10, 2014, 05:18
Default
  #5
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by gelbebanane View Post
Hi,
how did you create that box? With an .stl file or by refinementBox?
Have a look at this it is a nice tutorial for easy cases.
https://sites.google.com/site/snappy...ppyhexmeshdict
I read a sentence 'snappy doesn't work well with sharp edges' and I guess this is the reason why the corners of my box are missing.
wc34071209 is offline   Reply With Quote

Old   February 10, 2014, 05:34
Default
  #6
Member
 
phil
Join Date: Oct 2013
Posts: 36
Rep Power: 12
gelbebanane is on a distinguished road
Try to switch off the snap process like suggested in the tutorial.
I have also quiet a lot problems with sharp edges. You can also play with the implicit and explicit featureExtract option as well as with the tool "surfaceFeatureExtract"
gelbebanane is offline   Reply With Quote

Old   February 11, 2014, 15:44
Default
  #7
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by gelbebanane View Post
Try to switch off the snap process like suggested in the tutorial.
I have also quiet a lot problems with sharp edges. You can also play with the implicit and explicit featureExtract option as well as with the tool "surfaceFeatureExtract"
Thank you.

I switched off snap and the corners of the box are kept.

However, if I do want to snap, what should I do?

Should I play around 'resolveFeatuerAngle'? Should I increase it or decrease it? Is it the smaller the better or otherwise?
wc34071209 is offline   Reply With Quote

Old   February 11, 2014, 16:49
Default
  #8
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by gelbebanane View Post
Try to switch off the snap process like suggested in the tutorial.
I have also quiet a lot problems with sharp edges. You can also play with the implicit and explicit featureExtract option as well as with the tool "surfaceFeatureExtract"
Does 'explicit featureExtract' really help, since it is a problem of snapping and the geometry is simple and easy for sHM to implicitly find the feature edge?

What do you think?

Thanks a lot.
wc34071209 is offline   Reply With Quote

Old   February 11, 2014, 17:32
Default
  #9
Member
 
phil
Join Date: Oct 2013
Posts: 36
Rep Power: 12
gelbebanane is on a distinguished road
The "surfaceFeatureExtract" should help snappy to find the edges. But i am also not such an advanced user that i can tell you what will help you to get it right as well with no files from you.
Try to change the options in the snap subdirectory of the dict file.

To start, you can copy the snappyHexMeshDict from the "flange" tutorial (OF-install patch/tutorials/mesh/snappyHexMesh/flange) to your case and change the basic parameters like stl file and region names.

When you do not achieve any approvements it would be great when you can give the community the possibility to have a look at your case as well as at your snappyHexMeshDict file. A small description of your geometry or the stl file would also be very nice.

Good Night.
gelbebanane is offline   Reply With Quote

Old   February 11, 2014, 18:26
Default
  #10
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 13
wc34071209 is on a distinguished road
Quote:
Originally Posted by gelbebanane View Post
The "surfaceFeatureExtract" should help snappy to find the edges. But i am also not such an advanced user that i can tell you what will help you to get it right as well with no files from you.
Try to change the options in the snap subdirectory of the dict file.

To start, you can copy the snappyHexMeshDict from the "flange" tutorial (OF-install patch/tutorials/mesh/snappyHexMesh/flange) to your case and change the basic parameters like stl file and region names.

When you do not achieve any approvements it would be great when you can give the community the possibility to have a look at your case as well as at your snappyHexMeshDict file. A small description of your geometry or the stl file would also be very nice.

Good Night.
Thanks.

My geometry is rather simple: a box 3.1*3.1*2.5 and my STL is written by myself by using 8 vertices. I don't think there exist problems with my STL file.

For blockMeshDict, I also define the same 8 vertices and then use them to define the block.

From the flange case, it seems helpful by using explicit feature extraction. However, since sHM 2.2.2 has already supported implicit feature extraction, I guess we can also achieve success by using implicit settings. Therefore I am asking how to set 'resolveFeatureAngle', which is related to implicit feature extraction.
wc34071209 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] First try at snappyHexMesh... jaggies, weirdness and missing boundary layers :( KarenRei OpenFOAM Meshing & Mesh Conversion 4 October 15, 2016 19:42
[snappyHexMesh] snappyHexMesh on sharp corners (cube) Regis_ OpenFOAM Meshing & Mesh Conversion 0 June 4, 2015 23:47
[snappyHexMesh] snappyHexMesh layers at the corner missing wc34071209 OpenFOAM Meshing & Mesh Conversion 3 February 12, 2014 11:32
[OpenFOAM] Xlib: extension "GLX" missing on display goldbeard ParaView 5 March 24, 2013 13:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 07:43


All times are GMT -4. The time now is 18:02.