templates: usability improvements in snappyHexMeshDict

This commit is contained in:
Chris Greenshields
2021-06-11 09:34:43 +01:00
parent a6de41a1bf
commit a1036ec012
7 changed files with 37 additions and 41 deletions

View File

@ -53,7 +53,7 @@ addLayersControls
nSmoothNormals 3;
nSmoothThickness 10;
maxFaceThicknessRatio 0.5;
maxThicknessToMedialRatio 0.3;
maxThicknessToMedialRatio 0.6;
minMedialAxisAngle 90;
nMedialAxisIter 10;

View File

@ -26,10 +26,6 @@ geometry
{
type triSurfaceMesh;
file "CAD.obj";
regions
{
<CADregionName> { name <patchName>; }
}
}
};
@ -65,8 +61,8 @@ castellatedMeshControls
snapControls
{
// explicitFeatureSnap true;
// implicitFeatureSnap false;
// explicitFeatureSnap on;
// implicitFeatureSnap off;
}
addLayersControls
@ -79,13 +75,13 @@ addLayersControls
}
}
relativeSizes true; // false, usually with firstLayerThickness
relativeSizes on; // off, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.5;
minThickness 1e-3;
// firstLayerThickness 0.01;
// maxThicknessToMedialRatio 0.6;
// maxThicknessToMedialRatio 0.3;
}
writeFlags

View File

@ -88,8 +88,8 @@ castellatedMeshControls
snapControls
{
explicitFeatureSnap true;
implicitFeatureSnap false;
// explicitFeatureSnap on;
// implicitFeatureSnap off;
}
addLayersControls
@ -102,13 +102,13 @@ addLayersControls
}
}
relativeSizes true; // false, usually with firstLayerThickness
relativeSizes on; // off, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.5;
minThickness 1e-3;
// firstLayerThickness 0.01;
// maxThicknessToMedialRatio 0.6;
// maxThicknessToMedialRatio 0.3;
}
writeFlags

View File

@ -28,8 +28,8 @@ geometry
file "CAD.obj";
regions
{
<inletPatch> { name inlet; }
<outletPatch> { name outlet; }
<inletRegion> { name inlet; }
<outletRegion> { name outlet; }
}
}
};
@ -50,7 +50,7 @@ castellatedMeshControls
regions
{
<inletPatch>
<inletRegion>
{
level (2 2);
patchInfo
@ -60,7 +60,7 @@ castellatedMeshControls
}
}
<outletPatch>
<outletRegion>
{
level (2 2);
patchInfo
@ -89,8 +89,8 @@ castellatedMeshControls
snapControls
{
// explicitFeatureSnap true;
// implicitFeatureSnap false;
// explicitFeatureSnap on;
// implicitFeatureSnap off;
}
addLayersControls
@ -103,13 +103,13 @@ addLayersControls
}
}
relativeSizes true; // false, usually with firstLayerThickness
relativeSizes on; // off, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.5;
minThickness 1e-3;
// firstLayerThickness 0.01;
// maxThicknessToMedialRatio 0.6;
// maxThicknessToMedialRatio 0.3;
}
writeFlags

View File

@ -28,8 +28,8 @@ geometry
file "CAD.obj";
regions
{
<inletPatch> { name inlet; }
<outletPatch> { name outlet; }
<inletRegion> { name inlet; }
<outletRegion> { name outlet; }
}
}
};
@ -50,7 +50,7 @@ castellatedMeshControls
regions
{
<inletPatch>
<inletRegion>
{
level (2 2);
patchInfo
@ -60,7 +60,7 @@ castellatedMeshControls
}
}
<outletPatch>
<outletRegion>
{
level (2 2);
patchInfo
@ -89,8 +89,8 @@ castellatedMeshControls
snapControls
{
// explicitFeatureSnap true;
// implicitFeatureSnap false;
// explicitFeatureSnap on;
// implicitFeatureSnap off;
}
addLayersControls
@ -103,13 +103,13 @@ addLayersControls
}
}
relativeSizes true; // false, usually with firstLayerThickness
relativeSizes on; // off, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.5;
minThickness 1e-3;
// firstLayerThickness 0.01;
// maxThicknessToMedialRatio 0.6;
// maxThicknessToMedialRatio 0.3;
}
writeFlags

View File

@ -28,8 +28,8 @@ geometry
file "fixed.obj";
regions
{
<inletPatch> { name inlet; }
<outletPatch> { name outlet; }
<inletRegion> { name inlet; }
<outletRegion> { name outlet; }
}
}
rotating
@ -63,7 +63,7 @@ castellatedMeshControls
regions
{
<inletPatch>
<inletRegion>
{
level (2 2);
patchInfo
@ -73,7 +73,7 @@ castellatedMeshControls
}
}
<outletPatch>
<outletRegion>
{
level (2 2);
patchInfo
@ -117,8 +117,8 @@ castellatedMeshControls
snapControls
{
explicitFeatureSnap true;
implicitFeatureSnap false;
// explicitFeatureSnap on;
// implicitFeatureSnap off;
}
addLayersControls
@ -131,13 +131,13 @@ addLayersControls
}
}
relativeSizes true; // false, usually with firstLayerThickness
relativeSizes on; // off, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.5;
minThickness 1e-3;
// firstLayerThickness 0.01;
// maxThicknessToMedialRatio 0.6;
// maxThicknessToMedialRatio 0.3;
}
writeFlags

View File

@ -108,8 +108,8 @@ castellatedMeshControls
snapControls
{
explicitFeatureSnap true;
implicitFeatureSnap false;
// explicitFeatureSnap on;
// implicitFeatureSnap off;
}
addLayersControls
@ -122,13 +122,13 @@ addLayersControls
}
}
relativeSizes true; // false, usually with firstLayerThickness
relativeSizes on; // off, usually with firstLayerThickness
expansionRatio 1.2;
finalLayerThickness 0.5;
minThickness 1e-3;
// firstLayerThickness 0.01;
// maxThicknessToMedialRatio 0.6;
// maxThicknessToMedialRatio 0.3;
}
writeFlags