mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: snappyHexMeshDict: added thicknessModel setting
This commit is contained in:
@ -553,16 +553,31 @@ addLayersControls
|
|||||||
// size of the refined cell outside layer (true) or absolute sizes (false).
|
// size of the refined cell outside layer (true) or absolute sizes (false).
|
||||||
relativeSizes true;
|
relativeSizes true;
|
||||||
|
|
||||||
// Layer thickness specification. This can be specified in one of following
|
// Layer thickness specification. This can be specified either through the
|
||||||
// ways:
|
// 'thicknessModel' parameter (new) or by specifying the individual
|
||||||
// - expansionRatio and finalLayerThickness (cell nearest internal mesh)
|
// settings. The parameters are the cell height of the cells next to the
|
||||||
// - expansionRatio and firstLayerThickness (cell on surface)
|
// wall ('firstLayerThickness'), the cell height of the cells next to the
|
||||||
// - overall thickness and firstLayerThickness
|
// bulk ('finalLayerThickness'), the expansionRatio ('expansionRatio') and
|
||||||
// - overall thickness and finalLayerThickness
|
// the overall thickness of all layers ('thickness').
|
||||||
// - overall thickness and expansionRatio
|
|
||||||
//
|
//- specification of firstLayerThickness and overallThicknes, calculates
|
||||||
// Note: the mode thus selected is global, i.e. one cannot override the
|
// needed expansionRatio.
|
||||||
// mode on a per-patch basis (only the values can be overridden)
|
// thicknessModel firstAndOverall;
|
||||||
|
|
||||||
|
//- specification of firstLayerThickness and expansionRatio.
|
||||||
|
// thicknessModel firstAndExpansion;
|
||||||
|
|
||||||
|
//- specification of finalLayerThickness and expansionRatio.
|
||||||
|
// thicknessModel finalAndExpansion;
|
||||||
|
|
||||||
|
//- specification of thickness and expansionRatio.
|
||||||
|
// thicknessModel overallAndExpansion;
|
||||||
|
|
||||||
|
//- specification of firstLayerThickness and finalLayerThickness. The
|
||||||
|
// firstLayerThickness is always absolute, the finalLayerThickness is
|
||||||
|
// always relative, independent of the relativeSizes setting
|
||||||
|
// thicknessModel firstAndRelativeFinal;
|
||||||
|
|
||||||
|
|
||||||
// Expansion factor for layer mesh
|
// Expansion factor for layer mesh
|
||||||
expansionRatio 1.0;
|
expansionRatio 1.0;
|
||||||
@ -572,16 +587,6 @@ addLayersControls
|
|||||||
// outside layer.
|
// outside layer.
|
||||||
finalLayerThickness 0.3;
|
finalLayerThickness 0.3;
|
||||||
|
|
||||||
// Wanted thickness of the layer next to the wall.
|
|
||||||
// If relativeSizes this is relative to undistorted size of cell
|
|
||||||
// outside layer.
|
|
||||||
//firstLayerThickness 0.3;
|
|
||||||
|
|
||||||
// Wanted overall thickness of layers.
|
|
||||||
// If relativeSizes this is relative to undistorted size of cell
|
|
||||||
// outside layer.
|
|
||||||
//thickness 0.5
|
|
||||||
|
|
||||||
|
|
||||||
// Minimum overall thickness of total layers. If for any reason layer
|
// Minimum overall thickness of total layers. If for any reason layer
|
||||||
// cannot be above minThickness do not add layer.
|
// cannot be above minThickness do not add layer.
|
||||||
@ -590,9 +595,13 @@ addLayersControls
|
|||||||
minThickness 0.1;
|
minThickness 0.1;
|
||||||
|
|
||||||
|
|
||||||
// Per final patch or faceZone (so not geometry!) the layer information
|
// Per final patch or faceZone (so not geometry!) the layer information:
|
||||||
// Note: This behaviour changed after 21x. Any non-mentioned patches
|
// - whether to use relative or absolute sizes
|
||||||
// now slide unless:
|
// - thicknessModel (or individual settings)
|
||||||
|
// - minimum thickness
|
||||||
|
//
|
||||||
|
// Note: mesh shrinking behaviour changed after 21x. Any non-mentioned
|
||||||
|
// patches now slide unless:
|
||||||
// - nSurfaceLayers is explicitly mentioned to be 0.
|
// - nSurfaceLayers is explicitly mentioned to be 0.
|
||||||
// - angle to nearest surface < slipFeatureAngle (see below)
|
// - angle to nearest surface < slipFeatureAngle (see below)
|
||||||
layers
|
layers
|
||||||
|
|||||||
Reference in New Issue
Block a user