templates: usability improvements in snappyHexMeshDict
This commit is contained in:
@ -53,7 +53,7 @@ addLayersControls
|
||||
nSmoothNormals 3;
|
||||
nSmoothThickness 10;
|
||||
maxFaceThicknessRatio 0.5;
|
||||
maxThicknessToMedialRatio 0.3;
|
||||
maxThicknessToMedialRatio 0.6;
|
||||
|
||||
minMedialAxisAngle 90;
|
||||
nMedialAxisIter 10;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user