From b877323a33bd445e1c9c3327147864364cd39306 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 15 Dec 2009 15:56:35 +0000 Subject: [PATCH] Added baffle option and corrected default setting When faceZones are present one has to decide whether to have zone faces only on the edge of cellZones or also freestanding. The setting for minMedialAxisAngle was corrected since the calculation has also been corrected. --- .../mesh/generation/snappyHexMesh/snappyHexMeshDict | 7 +++++++ .../iglooWithFridges/system/snappyHexMeshDict | 9 ++++++++- .../simpleFoam/motorBike/system/snappyHexMeshDict | 10 +++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict index ab8adca478e..c7f2d5b6f3c 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict @@ -180,6 +180,12 @@ castellatedMeshControls // NOTE: This point should never be on a face, always inside a cell, even // after refinement. locationInMesh (5 0.28 0.43); + + + // Whether any faceZones (as specified in the refinementSurfaces) + // are only on the boundary of corresponding cellZones or also allow + // free-standing zone faces. Not used if there are no faceZones. + allowFreeStandingZoneFaces true; } @@ -274,6 +280,7 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points + // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. minMedianAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/snappyHexMeshDict b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/snappyHexMeshDict index 714a95ebbfe..94282655bb3 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/snappyHexMeshDict +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/snappyHexMeshDict @@ -220,6 +220,12 @@ castellatedMeshControls // NOTE: This point should never be on a face, always inside a cell, even // after refinement. locationInMesh (3 0.28 0.43); + + + // Whether any faceZones (as specified in the refinementSurfaces) + // are only on the boundary of corresponding cellZones or also allow + // free-standing zone faces. Not used if there are no faceZones. + allowFreeStandingZoneFaces true; } @@ -311,7 +317,8 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 130; + // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. + minMedianAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/snappyHexMeshDict b/tutorials/incompressible/simpleFoam/motorBike/system/snappyHexMeshDict index 70593293f56..948273e71d4 100644 --- a/tutorials/incompressible/simpleFoam/motorBike/system/snappyHexMeshDict +++ b/tutorials/incompressible/simpleFoam/motorBike/system/snappyHexMeshDict @@ -145,6 +145,12 @@ castellatedMeshControls // NOTE: This point should never be on a face, always inside a cell, even // after refinement. locationInMesh (3 3 0.43); + + + // Whether any faceZones (as specified in the refinementSurfaces) + // are only on the boundary of corresponding cellZones or also allow + // free-standing zone faces. Not used if there are no faceZones. + allowFreeStandingZoneFaces true; } @@ -500,7 +506,9 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 130; + // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. + minMedianAxisAngle 90; + // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; -- GitLab