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

[snappyHexMesh] AddLayers problem in SHM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2018, 02:25
Default AddLayers problem in SHM
  #1
New Member
 
Cab
Join Date: Jun 2016
Posts: 12
Rep Power: 10
calaba is on a distinguished road
Hi Foamers!

I'm traing to mesh the geometry with SHM.

I have made the mesh with parts, first i do Castelled and after Snapping and i have no problem with the mesh (I have obtained a good) mesh.

The problem is when i tried to do the final process, addLayers. I try to change all the parameters but always get illegal faces.

For example, in my final simulation:

Quote:
Checking faces in error :
non-orthogonality > 65 degrees : 1843
faces with face pyramid volume < 1e-13 : 0
faces with face-decomposition tet quality < 1e-100 : 66
faces with concavity > 80 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.05 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.05 : 1
faces on cells with determinant < 0.001 : 0
Finished meshing with 1910 illegal faces (concave, zero area or negative cell pyramid volume)
Finished meshing in = 3307.65 s.
End
I attach my file case "snapping", and if it's possible i hope somebody could help me.

Quote:
addLayersControls
{

relativeSizes false;


layers
{

wall
{
nSurfaceLayers 6;

}

IN5
{
nSurfaceLayers 4;

}

DF5
{
nSurfaceLayers 4;

}

DS5
{
nSurfaceLayers 4;

}



}

expansionRatio 1.5;

finalLayerThickness 0.04;

minThickness 0.0005;

nGrow 1;

featureAngle 30;


slipFeatureAngle 30;


nRelaxIter 6;


nSmoothSurfaceNormals 7;


nSmoothNormals 7;


nSmoothThickness 10;


maxFaceThicknessRatio 0.5;


maxThicknessToMedialRatio 0.3;


minMedianAxisAngle 150;


nBufferCellsNoExtrude 0;


nLayerIter 15;


nRelaxedIter 10;


}


meshQualityControls
{

maxNonOrtho 65;


maxBoundarySkewness 20;
maxInternalSkewness 4;


maxConcave 80;


minVol 1e-13;


minTetQuality 1e-100;


minArea -1;


minTwist 0.05;


minDeterminant 0.001;


minFaceWeight 0.05;


minVolRatio 0.01;


minTriangleTwist -1;


nSmoothScale 4;

errorReduction 0.75;


relaxed
{

maxNonOrtho 75;
}
}


mergeTolerance 1e-6;
Thanks in advanced!
calaba is offline   Reply With Quote

Old   January 30, 2018, 08:56
Default
  #2
Senior Member
 
NablaDyn's Avatar
 
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11
NablaDyn is on a distinguished road
Without knowing your case I would recommend you to give cfMesh a shot. It seems to be a bit more rewarding in case of generating boundary-layer meshes. It's also not as complicated to set up a mesh generation file (meshDict).

I always struggled with SHM on complex geometries as it was simply not able to deliver a decent mesh, so I turned to cfMesh. I still experience some issues in my cases but for moderately complex or simple geometry it should serve you just fine.
NablaDyn 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
Heat Transfert, mixing problem Wazdq CFX 8 November 7, 2016 05:44
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
[snappyHexMesh] SHM add layers problem doubtsincfd OpenFOAM Meshing & Mesh Conversion 0 June 6, 2011 12:01
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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