templates: usability improvements in snappyHexMeshDict
This commit is contained in:
@ -53,7 +53,7 @@ addLayersControls
|
|||||||
nSmoothNormals 3;
|
nSmoothNormals 3;
|
||||||
nSmoothThickness 10;
|
nSmoothThickness 10;
|
||||||
maxFaceThicknessRatio 0.5;
|
maxFaceThicknessRatio 0.5;
|
||||||
maxThicknessToMedialRatio 0.3;
|
maxThicknessToMedialRatio 0.6;
|
||||||
|
|
||||||
minMedialAxisAngle 90;
|
minMedialAxisAngle 90;
|
||||||
nMedialAxisIter 10;
|
nMedialAxisIter 10;
|
||||||
|
|||||||
@ -26,10 +26,6 @@ geometry
|
|||||||
{
|
{
|
||||||
type triSurfaceMesh;
|
type triSurfaceMesh;
|
||||||
file "CAD.obj";
|
file "CAD.obj";
|
||||||
regions
|
|
||||||
{
|
|
||||||
<CADregionName> { name <patchName>; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -65,8 +61,8 @@ castellatedMeshControls
|
|||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
// explicitFeatureSnap true;
|
// explicitFeatureSnap on;
|
||||||
// implicitFeatureSnap false;
|
// implicitFeatureSnap off;
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
@ -79,13 +75,13 @@ addLayersControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
relativeSizes true; // false, usually with firstLayerThickness
|
relativeSizes on; // off, usually with firstLayerThickness
|
||||||
expansionRatio 1.2;
|
expansionRatio 1.2;
|
||||||
finalLayerThickness 0.5;
|
finalLayerThickness 0.5;
|
||||||
minThickness 1e-3;
|
minThickness 1e-3;
|
||||||
// firstLayerThickness 0.01;
|
// firstLayerThickness 0.01;
|
||||||
|
|
||||||
// maxThicknessToMedialRatio 0.6;
|
// maxThicknessToMedialRatio 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFlags
|
writeFlags
|
||||||
|
|||||||
@ -88,8 +88,8 @@ castellatedMeshControls
|
|||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
explicitFeatureSnap true;
|
// explicitFeatureSnap on;
|
||||||
implicitFeatureSnap false;
|
// implicitFeatureSnap off;
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
@ -102,13 +102,13 @@ addLayersControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
relativeSizes true; // false, usually with firstLayerThickness
|
relativeSizes on; // off, usually with firstLayerThickness
|
||||||
expansionRatio 1.2;
|
expansionRatio 1.2;
|
||||||
finalLayerThickness 0.5;
|
finalLayerThickness 0.5;
|
||||||
minThickness 1e-3;
|
minThickness 1e-3;
|
||||||
// firstLayerThickness 0.01;
|
// firstLayerThickness 0.01;
|
||||||
|
|
||||||
// maxThicknessToMedialRatio 0.6;
|
// maxThicknessToMedialRatio 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFlags
|
writeFlags
|
||||||
|
|||||||
@ -28,8 +28,8 @@ geometry
|
|||||||
file "CAD.obj";
|
file "CAD.obj";
|
||||||
regions
|
regions
|
||||||
{
|
{
|
||||||
<inletPatch> { name inlet; }
|
<inletRegion> { name inlet; }
|
||||||
<outletPatch> { name outlet; }
|
<outletRegion> { name outlet; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -50,7 +50,7 @@ castellatedMeshControls
|
|||||||
|
|
||||||
regions
|
regions
|
||||||
{
|
{
|
||||||
<inletPatch>
|
<inletRegion>
|
||||||
{
|
{
|
||||||
level (2 2);
|
level (2 2);
|
||||||
patchInfo
|
patchInfo
|
||||||
@ -60,7 +60,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<outletPatch>
|
<outletRegion>
|
||||||
{
|
{
|
||||||
level (2 2);
|
level (2 2);
|
||||||
patchInfo
|
patchInfo
|
||||||
@ -89,8 +89,8 @@ castellatedMeshControls
|
|||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
// explicitFeatureSnap true;
|
// explicitFeatureSnap on;
|
||||||
// implicitFeatureSnap false;
|
// implicitFeatureSnap off;
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
@ -103,13 +103,13 @@ addLayersControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
relativeSizes true; // false, usually with firstLayerThickness
|
relativeSizes on; // off, usually with firstLayerThickness
|
||||||
expansionRatio 1.2;
|
expansionRatio 1.2;
|
||||||
finalLayerThickness 0.5;
|
finalLayerThickness 0.5;
|
||||||
minThickness 1e-3;
|
minThickness 1e-3;
|
||||||
// firstLayerThickness 0.01;
|
// firstLayerThickness 0.01;
|
||||||
|
|
||||||
// maxThicknessToMedialRatio 0.6;
|
// maxThicknessToMedialRatio 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFlags
|
writeFlags
|
||||||
|
|||||||
@ -28,8 +28,8 @@ geometry
|
|||||||
file "CAD.obj";
|
file "CAD.obj";
|
||||||
regions
|
regions
|
||||||
{
|
{
|
||||||
<inletPatch> { name inlet; }
|
<inletRegion> { name inlet; }
|
||||||
<outletPatch> { name outlet; }
|
<outletRegion> { name outlet; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -50,7 +50,7 @@ castellatedMeshControls
|
|||||||
|
|
||||||
regions
|
regions
|
||||||
{
|
{
|
||||||
<inletPatch>
|
<inletRegion>
|
||||||
{
|
{
|
||||||
level (2 2);
|
level (2 2);
|
||||||
patchInfo
|
patchInfo
|
||||||
@ -60,7 +60,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<outletPatch>
|
<outletRegion>
|
||||||
{
|
{
|
||||||
level (2 2);
|
level (2 2);
|
||||||
patchInfo
|
patchInfo
|
||||||
@ -89,8 +89,8 @@ castellatedMeshControls
|
|||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
// explicitFeatureSnap true;
|
// explicitFeatureSnap on;
|
||||||
// implicitFeatureSnap false;
|
// implicitFeatureSnap off;
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
@ -103,13 +103,13 @@ addLayersControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
relativeSizes true; // false, usually with firstLayerThickness
|
relativeSizes on; // off, usually with firstLayerThickness
|
||||||
expansionRatio 1.2;
|
expansionRatio 1.2;
|
||||||
finalLayerThickness 0.5;
|
finalLayerThickness 0.5;
|
||||||
minThickness 1e-3;
|
minThickness 1e-3;
|
||||||
// firstLayerThickness 0.01;
|
// firstLayerThickness 0.01;
|
||||||
|
|
||||||
// maxThicknessToMedialRatio 0.6;
|
// maxThicknessToMedialRatio 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFlags
|
writeFlags
|
||||||
|
|||||||
@ -28,8 +28,8 @@ geometry
|
|||||||
file "fixed.obj";
|
file "fixed.obj";
|
||||||
regions
|
regions
|
||||||
{
|
{
|
||||||
<inletPatch> { name inlet; }
|
<inletRegion> { name inlet; }
|
||||||
<outletPatch> { name outlet; }
|
<outletRegion> { name outlet; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rotating
|
rotating
|
||||||
@ -63,7 +63,7 @@ castellatedMeshControls
|
|||||||
|
|
||||||
regions
|
regions
|
||||||
{
|
{
|
||||||
<inletPatch>
|
<inletRegion>
|
||||||
{
|
{
|
||||||
level (2 2);
|
level (2 2);
|
||||||
patchInfo
|
patchInfo
|
||||||
@ -73,7 +73,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<outletPatch>
|
<outletRegion>
|
||||||
{
|
{
|
||||||
level (2 2);
|
level (2 2);
|
||||||
patchInfo
|
patchInfo
|
||||||
@ -117,8 +117,8 @@ castellatedMeshControls
|
|||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
explicitFeatureSnap true;
|
// explicitFeatureSnap on;
|
||||||
implicitFeatureSnap false;
|
// implicitFeatureSnap off;
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
@ -131,13 +131,13 @@ addLayersControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
relativeSizes true; // false, usually with firstLayerThickness
|
relativeSizes on; // off, usually with firstLayerThickness
|
||||||
expansionRatio 1.2;
|
expansionRatio 1.2;
|
||||||
finalLayerThickness 0.5;
|
finalLayerThickness 0.5;
|
||||||
minThickness 1e-3;
|
minThickness 1e-3;
|
||||||
// firstLayerThickness 0.01;
|
// firstLayerThickness 0.01;
|
||||||
|
|
||||||
// maxThicknessToMedialRatio 0.6;
|
// maxThicknessToMedialRatio 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFlags
|
writeFlags
|
||||||
|
|||||||
@ -108,8 +108,8 @@ castellatedMeshControls
|
|||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
explicitFeatureSnap true;
|
// explicitFeatureSnap on;
|
||||||
implicitFeatureSnap false;
|
// implicitFeatureSnap off;
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
@ -122,13 +122,13 @@ addLayersControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
relativeSizes true; // false, usually with firstLayerThickness
|
relativeSizes on; // off, usually with firstLayerThickness
|
||||||
expansionRatio 1.2;
|
expansionRatio 1.2;
|
||||||
finalLayerThickness 0.5;
|
finalLayerThickness 0.5;
|
||||||
minThickness 1e-3;
|
minThickness 1e-3;
|
||||||
// firstLayerThickness 0.01;
|
// firstLayerThickness 0.01;
|
||||||
|
|
||||||
// maxThicknessToMedialRatio 0.6;
|
// maxThicknessToMedialRatio 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFlags
|
writeFlags
|
||||||
|
|||||||
Reference in New Issue
Block a user