From d04100a99e474a4e41a9f47a3cc31c40298b6e45 Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Thu, 28 Jun 2018 15:39:32 +0100 Subject: [PATCH] TUT: fix for snappy mesh layers --- .../RAS/DTCHullMoving/system/snappyHexMeshDict | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict index 7884be3674..8c6f193e8f 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict @@ -216,7 +216,16 @@ addLayersControls // When not to extrude surface. 0 is flat surface, 90 is when two faces // are perpendicular - featureAngle 60; + // Note: featureAngle was wrong in v1712 and earlier. To obtain previous + // behaviour (extrude all edges, including sharp ones) use following + // settings. This is important for this geometry since we do want + // layers at the leading edge of the hull. + featureAngle 180; + + // Specified to be consistent with v1712 settings (see 1806 release notes) + mergePatchFacesAngle 60; // featureAngle + layerTerminationAngle 30; // 0.5*featureAngle + slipFeatureAngle 30; // 0.5*featureAngle // Maximum number of snapping relaxation iterations. Should stop // before upon reaching a correct mesh.