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

[snappyHexMesh] [Problem] Addlayer worsen Mesh quality

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2017, 06:16
Unhappy [Problem] Addlayer worsen Mesh quality
  #1
New Member
 
Edoardo
Join Date: Oct 2017
Posts: 1
Rep Power: 0
edoardo.mancuso1993 is on a distinguished road
Hi guys.
I'm encountering problems with snappyHexMesh. I'm trying to generate the mesh of a centripetal turbine (scroll and impeller).
The snap phase seems ok, the edge are well defined and nothing goes wrong.
But when I try to add the boundary layer cells, the edges of the impeller became really bad.
I've already tried different edge/surface/region refinements as well as different shrinking parameters.
The problem is that the solutor (rhoSimpleFoam) will not do more than 5 iters (I attached the log file).
I'm also sure that the problem are these boundary layer cells in the impeller, since if I do not add here the layers the solutor won't have any issues.
I attach the images of the problem as well as the dictionaries.
I really need help since this is the basis of my master thesis project and it seems I can't find the solution

blockMesh.jpg

impelleraddLayer.jpg

impellersnapped.jpg

snappyHexMeshDict.txt

logrhoSimpleFoam.txt
edoardo.mancuso1993 is offline   Reply With Quote

Old   October 26, 2017, 11:27
Default
  #2
Member
 
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11
pbalz is on a distinguished road
HI edoardo,

regarding your solver crash: this could either be due to bad boundary conditions or a really bad mesh/wrong fvSchemes. Could you please post the output for
Code:
checkMesh -constant -allGeometry
If the solver converges without boundary layers an error in the definition of boundary conditions is more unlikely.

Layer generation with snappyHexMesh is really a pain in the ass for propeller geometries. The edges will most times look like yours and layers will likely collapse at the trailing edge. Thats due to the algorithm and I don't know a solution to that.
What you should do:
- post the log file of snappyHexMesh so that we can see whats going on there
- some changes in snappyHexMeshDict:
Code:
maxLocalCells: highly increase this value as it will likely stop any refinement steps and layer additions.
maxGlobalCells: increase this one too.
nCellsBetweenLevels: 3 or more.
nLayerIter: increase this value up to 200, start with 50

Most likely your mesh quality settings are to strict for generating the layers.
Try setting the following values:

maxNonOrtho 75;
maxInternalSkewness 10;
maxConcave 180;
minVol 1e-20;
minTetQuality -1e30;
minTwist -1;
This should generate at least a few layers.
__________________
Regards,
Pascal
pbalz is offline   Reply With Quote

Reply

Tags
addlayers, addlayerscontrols, snappy, snappyhex, snappyhexmesh


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] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
[snappyHexMesh] Improving mesh quality + inlet too coarse MartinBlx OpenFOAM Meshing & Mesh Conversion 5 August 2, 2015 23:09
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


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