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

Steps in Mesh by SnappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By pconen
  • 1 Post By pconen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2019, 03:31
Default Steps in Mesh by SnappyHexMesh
  #1
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Hello All,


I am trying to simulate the blunt edge aerofoil with a slot at a distance of 60% chord length. I had created the stl file in gmsh and imported the stl into the snappyHexMesh. The mesh around the aerofoil looks steppy (in stairs, steep). The screen shot is attached herewith. I tried to check the stl file by using checkSurfaceMesh and it shows ok.
Complete report of the checkSurfaceMesh, snappyHexMesh, surfaceHexMesh dic along with the screenshot of mesh is attached.

Any help is highly welcomed.
Thanks!
Also snappyHexMesh gives this warning: Checking faces in error :
non-orthogonality > 65 degrees : 111012
faces with face pyramid volume < 1e-20 : 0
faces with face-decomposition tet quality < 1e-30 : 1
faces with concavity > 80 degrees : 827
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.02 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.02 : 2
faces on cells with determinant < 0.001 : 14
Finished meshing with 111856 illegal faces (concave, zero area or negative cell pyramid volume)
Attached Images
File Type: png aerofoil_mesh.png (70.0 KB, 40 views)
Attached Files
File Type: txt checksurfacemesh.txt (1.6 KB, 3 views)
File Type: c snappyHexMeshDict.c (9.9 KB, 3 views)
File Type: zip log.snappyHexMesh.c.zip (17.5 KB, 0 views)
chandra shekhar pant is offline   Reply With Quote

Old   September 3, 2019, 04:32
Default
  #2
Member
 
Philipp Conen
Join Date: Apr 2019
Location: GER, NRW
Posts: 35
Blog Entries: 2
Rep Power: 7
pconen is on a distinguished road
Hey,

I hope I understand your question in the right way.
If you want to get away the "stairs" you can try to turn
Code:
nCellsBetweenLevels 1;
into
Code:
nCellsBetweenLevels 2;
__________________
Greetings

Philipp Conen
pconen is offline   Reply With Quote

Old   September 3, 2019, 04:38
Default
  #3
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Hello Philipp Cone,



Many thanks for your reply, I will implement and update the results. Thanks again for the prompt and useful reply.
chandra shekhar pant is offline   Reply With Quote

Old   September 3, 2019, 07:03
Default
  #4
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
It haven't helped a lot. Please check the updated snap-shot herewith. I am just wondering if this issue may have been due to the meshing while creating the stl file in gmsh? Although not sure, if this is the issue of snappyHex or problem with the stl/gmsh. Any help or comment is highly welcomed.


Thanks!
Attached Images
File Type: png aerofoil_changed.png (92.9 KB, 23 views)
chandra shekhar pant is offline   Reply With Quote

Old   September 3, 2019, 08:12
Default
  #5
Member
 
Philipp Conen
Join Date: Apr 2019
Location: GER, NRW
Posts: 35
Blog Entries: 2
Rep Power: 7
pconen is on a distinguished road
Hey,

sorry I am really new to OpenFOAM.
Maybe this can help.
Can you tell me why you use
Code:
resolveFeatureAngle -1;
?
I never saw a negativ value for this.
I would try out
Code:
resolveFeatureAngle 30;
But remember to change the surfaceFeaturesDict and the surfaceFeaturesExtractDict.
With a value of 30 you have to use
Code:
 includedAngle   150;
__________________
Greetings

Philipp Conen
pconen is offline   Reply With Quote

Old   September 4, 2019, 03:03
Default
  #6
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Hello,

Thanks for your valuable inputs. I tried to changed whatever you have suggested like, changing the nCellsBetweenLevels, resolveFeatureAngle to 2 and 30 respectively. Also change the surfaceFeatureExtract dir. according to your inputs. The snappyHexMesh dic and the surfaceFeatureExtract dir along with the updated snapshot of the mesh is attached. Is that issue could be from the stl file ? The stl file is attached also herewith.



Again thanks for the help would highly appreciate any further inputs.


Thanks!
Attached Images
File Type: png aerofoil_mesh_modifiedv1.png (64.4 KB, 26 views)
Attached Files
File Type: c snappyHexMeshDict.c (10.1 KB, 0 views)
File Type: c surfaceFeatureExtractDict.c (1.3 KB, 0 views)
chandra shekhar pant is offline   Reply With Quote

Old   September 4, 2019, 03:12
Default
  #7
Member
 
Philipp Conen
Join Date: Apr 2019
Location: GER, NRW
Posts: 35
Blog Entries: 2
Rep Power: 7
pconen is on a distinguished road
Hey,

of course, it could also be due to the STL. As already mentioned, I'm not a professional yet.
Unfortunately I have no experience with GMSH. I can only recommend the use of Salome. With it very solid surface nets can be created. For the meshing I recommend Mefisto for 2D. Under 1D you can choose Wire Distance. In a box next to it you can choose a local length of 0.002m for example. That depends on your component size.
Otherwise, I can't think of another quick tip for you. I am sorry.
__________________
Greetings

Philipp Conen
pconen is offline   Reply With Quote

Old   September 4, 2019, 03:25
Default
  #8
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Hello,
I am truly very happy and thankful with your inputs. These inputs have really helped me, I will try to switch these software. Thanks again!
chandra shekhar pant is offline   Reply With Quote

Old   September 5, 2019, 03:15
Default
  #9
Member
 
Philipp Conen
Join Date: Apr 2019
Location: GER, NRW
Posts: 35
Blog Entries: 2
Rep Power: 7
pconen is on a distinguished road
Hey,

your welcome.
Fell free to ask further questions!
__________________
Greetings

Philipp Conen
pconen 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] Creating very fine, high accuracy mesh with snappyHexMesh JD_Welch OpenFOAM Meshing & Mesh Conversion 10 July 5, 2023 12:50
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 05:17
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 23:27.