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

[snappyHexMesh] snappyHexMesh add-layers issues, warped cells

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By heling
  • 2 Post By chegdan
  • 1 Post By chegdan

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 1, 2013, 14:33
Unhappy snappyHexMesh add-layers issues, warped cells
  #1
New Member
 
Natan Zawadzki
Join Date: Jun 2013
Posts: 11
Rep Power: 12
heling is on a distinguished road
Dear cfd-users,

I'm trying to create a mesh inside a 3d-channel with a hill on the bottom. All channel walls in except of the lower wall I created with BlockMesh. The bottom geometry including the bump I put in the constant/triSurface directory as a .stl file.

Although it seems to be a relatively simple geometry I get some considerable issues during the layers adding. The boundary layers on the bump (but solely on the bump, see attached pict.) are highly warped, at many places overgrown itself or even don't exist. In all probability the problem is causes by inadequately quality of the bump surface.

First I thought I should in the snappyHexMeshDict file just increase the level of surface refinement and the number of smoothing iterations before finding a correspondence to the surface. In except of computation time nothing changes xD

My 2nd presumption was that the bad surface quality is caused by incorrect facet normals orientation. I checked the normals in the .stl file with a self-made matlab code and yes, a lot of normals wasn't vertical on the triangular faces, as should be. Then I wrote a code to reorient the normals but the issue still occur... Below I attached a few pictures showing my problem, an the complete foam run directory with all dictionaries.

I will be very grateful for some helpful advices.


Attachment description:

pict0: whole channel geometry created with blockMesh and sHM, without edges

cut1: x normal, cut in the middle of the bump: as You can recognize in the middle of the hill the surface is relatively smooth, then on the sides strongly warped...

cut2: z normal

cut3: z normal & x normal: as You can easily recognize on the ragged sides of the bump no layers have been added...

Download link for run directory:
https://docs.google.com/file/d/0B-av...it?usp=sharing
Attached Images
File Type: jpg pict0.jpg (9.9 KB, 331 views)
File Type: jpg cut1.jpg (88.2 KB, 474 views)
File Type: jpg cut2.jpg (69.6 KB, 459 views)
File Type: jpg cut3.jpg (78.8 KB, 458 views)
heling is offline   Reply With Quote

 


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] Old and busted: snappyHexMesh and add layers with edges Siassei OpenFOAM Meshing & Mesh Conversion 6 August 14, 2018 18:33
[blockMesh] Create internal faces as patch in blockMesh m.delta68 OpenFOAM Meshing & Mesh Conversion 14 July 12, 2018 14:43
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
[snappyHexMesh] snappyHexMesh matches wrong cells to CellZone Siegunn OpenFOAM Meshing & Mesh Conversion 4 July 31, 2015 05:10
[snappyHexMesh] SnappyHexMeshDict fabrizio OpenFOAM Meshing & Mesh Conversion 25 October 14, 2011 07:00


All times are GMT -4. The time now is 17:36.