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

[snappyHexMesh] Tiny bumps on surface - sMH

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2017, 02:05
Default Tiny bumps on surface - sMH
  #1
New Member
 
Ben
Join Date: Oct 2016
Posts: 25
Rep Power: 10
bentkj is on a distinguished road
Hi everyone, I am having some trouble with sHM and would like some help.

Background:
  1. I am trying to conduct an external flow over a wing (NASA CRM) and currently I'm trying to create the mesh with snappyHexMesh.
  2. The .stl file that I'm using is prepared with salome, with the inspections for Detect self-intersections giving 'There are no self-intersections in the shape' and check free boundaries to return 0 for both open and close free boundaries. A single patch is created for the entire wing.
  3. The .stl (which is scaled from mm to m using surfaceTransformPoints) seems to be alright with surfaceCheck reporting that the surface is closed.

Problem:
Upon generating the external mesh with blockMesh (cell aspect ratio =1) and snappyHexMesh, I get bumps over the surface of the wing as shown in the pictures. It seems like these tend to appear where the cells transit between refinements. I have tried playing around with te sMHDict and meshqualityDict files with not much improvement in the mesh. However, I have observed that if I set the min/max refinementSurfaces values to the same, i.e. (10 10), the bumps do not show up. However this leads to extremely high cell counts and I would like something more reasonable i.e. (5 10), to which the bumps appear again. There's a similar post on this which was suggested to use minTetQuality -1e30. This helps alittle, but the bumps are still present.

I hope I have provided enough information to receive help my geometry file is ~100mb so I'll have to share that separately if necessary. I have been stuck on this for about 3 weeks now so anything is REALLY appreciated!!
Attached Images
File Type: jpg surface-bumps-wing.jpg (24.0 KB, 211 views)
Attached Files
File Type: txt checkMesh-output.txt (3.5 KB, 18 views)
File Type: txt smH-output.txt (109.0 KB, 38 views)
File Type: txt snappyHexMeshDict.txt (9.5 KB, 81 views)
bentkj is offline   Reply With Quote

Old   October 19, 2017, 11:27
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi 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,

related to your request on my youtube-channel, some remarks.

  • You do only 30 smoothing iterations (a bit less I think)
  • You have problems in your cells as you can see in the output of sHM during snapping
  • I only can guess based on the output of sHM. nCells should be set larger and the refinement method you are using should be corrected
  • the feature edge refinement should be changed (see http://www.holzmann-cfd.de/index.php...h/feature-edge) and you should check your features edge mesh if you did not do that till now
  • Depending on everything, the tolerance factor can be enlarged a bit (based on the warning you have - but I do not have any idea where the point is located, OpenFOAM tells you).
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   January 7, 2019, 07:33
Default
  #3
New Member
 
Gerd Fade
Join Date: Jul 2015
Posts: 7
Rep Power: 11
schiffbauer is on a distinguished road
Dear snappy-users,


I also face a problem with "bumps" on the snapped surface (NACA-wing), like:



And here you can see the underlying stl-file:




Further details:
- featureSnap is turned off here
- the blockMesh is isotropic

- for a coarser mesh, no bumps occur
- snapControls:
Code:
nSmoothPatch 1; // 3; 5;

tolerance 4.0; // 2.0; 6.0;

nSolveIter 0; // 30; 60;

nRelaxIter 10; //5;

I played around more than a week but w/o success. It seems NOT to depend on
- the resolution of the stl-file
- the Foam version (1806 or 5)


Any idea would be highly appreciated!
schiffbauer is offline   Reply With Quote

Reply

Tags
bumps, mesh, snappyhexmesh, wing


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] bumps and broken surface after meshing with snappyhexmesh Yemi2favours OpenFOAM Meshing & Mesh Conversion 0 February 12, 2018 13:07
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 12:05
[snappyHexMesh] Problem with Sanpper, surface still Rough Zephiro88 OpenFOAM Meshing & Mesh Conversion 7 November 5, 2014 13:05
solid edge problem....can you help? cindy Main CFD Forum 3 April 5, 2004 14:43
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 07:47


All times are GMT -4. The time now is 12:10.