mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: snappyHexMeshDict: improved comment
This commit is contained in:
@ -337,48 +337,68 @@ addLayersControls
|
|||||||
|
|
||||||
// Advanced settings
|
// Advanced settings
|
||||||
|
|
||||||
|
|
||||||
|
// Static analysis of starting mesh
|
||||||
|
|
||||||
// When not to extrude surface. 0 is flat surface, 90 is when two faces
|
// When not to extrude surface. 0 is flat surface, 90 is when two faces
|
||||||
// are perpendicular
|
// are perpendicular
|
||||||
featureAngle 60;
|
featureAngle 130;
|
||||||
|
|
||||||
// At non-patched sides allow mesh to slip if extrusion direction makes
|
// Stop layer growth on highly warped cells
|
||||||
// angle larger than slipFeatureAngle.
|
maxFaceThicknessRatio 0.5;
|
||||||
|
|
||||||
|
|
||||||
|
// Patch displacement
|
||||||
|
|
||||||
|
// Number of smoothing iterations of surface normals
|
||||||
|
nSmoothSurfaceNormals 1;
|
||||||
|
|
||||||
|
// Smooth layer thickness over surface patches
|
||||||
|
nSmoothThickness 10;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Medial axis analysis
|
||||||
|
|
||||||
|
// Angle used to pick up medial axis points
|
||||||
|
// Note: changed(corrected) w.r.t 17x! 90 degrees corresponds to 130
|
||||||
|
// in 17x.
|
||||||
|
minMedianAxisAngle 90;
|
||||||
|
|
||||||
|
// Reduce layer growth where ratio thickness to medial
|
||||||
|
// distance is large
|
||||||
|
maxThicknessToMedialRatio 0.3;
|
||||||
|
|
||||||
|
// Number of smoothing iterations of interior mesh movement direction
|
||||||
|
nSmoothNormals 3;
|
||||||
|
|
||||||
|
// Optional: smooth displacement after medial axis determination.
|
||||||
|
// default is 0.
|
||||||
|
nSmoothDisplacement 90;
|
||||||
|
|
||||||
|
|
||||||
|
// Mesh shrinking
|
||||||
|
|
||||||
|
// Optional: at non-patched sides allow mesh to slip if extrusion
|
||||||
|
// direction makes angle larger than slipFeatureAngle. Default is
|
||||||
|
// 0.5*featureAngle.
|
||||||
slipFeatureAngle 30;
|
slipFeatureAngle 30;
|
||||||
|
|
||||||
// Maximum number of snapping relaxation iterations. Should stop
|
// Maximum number of snapping relaxation iterations. Should stop
|
||||||
// before upon reaching a correct mesh.
|
// before upon reaching a correct mesh.
|
||||||
nRelaxIter 5;
|
nRelaxIter 5;
|
||||||
|
|
||||||
// Number of smoothing iterations of surface normals
|
|
||||||
nSmoothSurfaceNormals 1;
|
|
||||||
|
|
||||||
// Number of smoothing iterations of interior mesh movement direction
|
|
||||||
nSmoothNormals 3;
|
|
||||||
|
|
||||||
// Smooth layer thickness over surface patches
|
|
||||||
nSmoothThickness 10;
|
|
||||||
|
|
||||||
// Stop layer growth on highly warped cells
|
|
||||||
maxFaceThicknessRatio 0.5;
|
|
||||||
|
|
||||||
// Reduce layer growth where ratio thickness to medial
|
|
||||||
// distance is large
|
|
||||||
maxThicknessToMedialRatio 0.3;
|
|
||||||
|
|
||||||
// Angle used to pick up medial axis points
|
|
||||||
// Note: changed(corrected) w.r.t 17x! 90 degrees corresponds to 130 in 17x.
|
|
||||||
minMedianAxisAngle 90;
|
|
||||||
|
|
||||||
// Create buffer region for new layer terminations
|
// Create buffer region for new layer terminations
|
||||||
nBufferCellsNoExtrude 0;
|
nBufferCellsNoExtrude 0;
|
||||||
|
|
||||||
// Overall max number of layer addition iterations. The mesher will exit
|
// Overall max number of layer addition iterations. The mesher will
|
||||||
// if it reaches this number of iterations; possibly with an illegal
|
// exit if it reaches this number of iterations; possibly with an
|
||||||
// mesh.
|
// illegal mesh.
|
||||||
nLayerIter 50;
|
nLayerIter 50;
|
||||||
|
|
||||||
// Max number of iterations after which relaxed meshQuality controls
|
// Max number of iterations after which relaxed meshQuality controls
|
||||||
// get used. Up to nRelaxIter it uses the settings in meshQualityControls,
|
// get used. Up to nRelaxIter it uses the settings in
|
||||||
|
// meshQualityControls,
|
||||||
// after nRelaxIter it uses the values in meshQualityControls::relaxed.
|
// after nRelaxIter it uses the values in meshQualityControls::relaxed.
|
||||||
nRelaxedIter 20;
|
nRelaxedIter 20;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user