diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C index b2337c67bf8abf4c77ac97a5e4cbb57364fe3f34..094d83af79f4bb05c0b7ffd21ffcb232888f14c9 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C @@ -132,16 +132,18 @@ void Foam::medialAxisMeshMover::update(const dictionary& coeffDict) coeffDict.lookup("nSmoothSurfaceNormals") ); - //- When is medial axis - word angleKey = "minMedialAxisAngle"; - if (!coeffDict.found(angleKey)) - { - // Backwards compatibility - angleKey = "minMedianAxisAngle"; - } + // Note: parameter name changed + // "minMedianAxisAngle" -> "minMedialAxisAngle" (DEC-2013) + // but not previously reported. scalar minMedialAxisAngleCos = Foam::cos ( - degToRad(readScalar(coeffDict.lookup(angleKey))) + degToRad + ( + coeffDict.getCompat<scalar> + ( + "minMedialAxisAngle", {{ "minMedianAxisAngle", 1712 }} + ) + ) ); //- Feature angle when to stop adding layers diff --git a/tutorials/combustion/XiDyMFoam/annularCombustorTurbine/system/snappyHexMeshDict b/tutorials/combustion/XiDyMFoam/annularCombustorTurbine/system/snappyHexMeshDict index 1522673795c4bae2bbc5db132e208dd2caa504bf..7ee7be6fd518410edd23018e2e7d13f88e5eddf4 100644 --- a/tutorials/combustion/XiDyMFoam/annularCombustorTurbine/system/snappyHexMeshDict +++ b/tutorials/combustion/XiDyMFoam/annularCombustorTurbine/system/snappyHexMeshDict @@ -313,7 +313,7 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict b/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict index 4567dce38bf8a133e6495847d04714cd6047480d..481baba5208f5d8da4165ead6c1d9c93510e22aa 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict +++ b/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict @@ -240,7 +240,7 @@ addLayersControls nSmoothThickness 10; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 0.3; - minMedianAxisAngle 90; + minMedialAxisAngle 90; nBufferCellsNoExtrude 0; nLayerIter 50; } diff --git a/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/snappyHexMeshDict b/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/snappyHexMeshDict index ee84068a5c1125d20618f71cfdecc4f5823e6381..e69bc01881fb3ce3f5988e9edf6c16adf75b8b11 100644 --- a/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/snappyHexMeshDict +++ b/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/snappyHexMeshDict @@ -317,7 +317,7 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/system/snappyHexMeshDict b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/system/snappyHexMeshDict index 4f4b54f0c4a8dc1a8e3cfb6ec89f3519b839d450..38d95d7daace5493678bd42e9d6dc367785d716e 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/system/snappyHexMeshDict +++ b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/system/snappyHexMeshDict @@ -246,7 +246,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/incompressible/lumpedPointMotion/building/steady/system/snappyHexMeshDict b/tutorials/incompressible/lumpedPointMotion/building/steady/system/snappyHexMeshDict index 69338d2558cbe418d0f4d26d8cc2e8f446401c0b..78ab62d71adfb6f3b0309c7711f781a045cb8261 100644 --- a/tutorials/incompressible/lumpedPointMotion/building/steady/system/snappyHexMeshDict +++ b/tutorials/incompressible/lumpedPointMotion/building/steady/system/snappyHexMeshDict @@ -256,7 +256,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/incompressible/overSimpleFoam/aeroFoil/aeroFoil_snappyHexMesh/system/snappyHexMeshDict b/tutorials/incompressible/overSimpleFoam/aeroFoil/aeroFoil_snappyHexMesh/system/snappyHexMeshDict index c2401240803194e1b27c147512bbb06cbc368a84..0021be428d21642c6530b7c8779206b2a9fcc893 100644 --- a/tutorials/incompressible/overSimpleFoam/aeroFoil/aeroFoil_snappyHexMesh/system/snappyHexMeshDict +++ b/tutorials/incompressible/overSimpleFoam/aeroFoil/aeroFoil_snappyHexMesh/system/snappyHexMeshDict @@ -222,7 +222,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/incompressible/overSimpleFoam/aeroFoil/background_snappyHexMesh/system/snappyHexMeshDict b/tutorials/incompressible/overSimpleFoam/aeroFoil/background_snappyHexMesh/system/snappyHexMeshDict index 4c6a78a1c1f2d7774ffed7b55d8ea121ade1d6c3..cef52eb167d9d099ce432c5fc7bdb7cf6ca134f1 100644 --- a/tutorials/incompressible/overSimpleFoam/aeroFoil/background_snappyHexMesh/system/snappyHexMeshDict +++ b/tutorials/incompressible/overSimpleFoam/aeroFoil/background_snappyHexMesh/system/snappyHexMeshDict @@ -212,7 +212,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict b/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict index 1f6506e5b88fe4b0930be351b6bfa661674c50e7..0c8ae38ea9a1a984fa2655b8bebd5e0a73c509ee 100644 --- a/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict +++ b/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict @@ -382,7 +382,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict b/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict index d4d9f8dda024e0bbb66b431d99a2b9ec66441800..2fbf3e6a71387082b26f0160cc60d11b727499e9 100644 --- a/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict +++ b/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict @@ -235,7 +235,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict b/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict index 20d77742f9e03081a7bad6d658e1443608072f5d..2ee707f7196c5266fb3df2436ac0ac8cbda920e2 100644 --- a/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict +++ b/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict @@ -247,7 +247,7 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 90; + minMedialAxisAngle 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 3d210d69c2470a9e47f18a752cd9e41d3b52cf6a..9df82a648c155abb94941c4777e5a5eaf2d89d30 100644 --- a/tutorials/incompressible/simpleFoam/motorBike/system/snappyHexMeshDict +++ b/tutorials/incompressible/simpleFoam/motorBike/system/snappyHexMeshDict @@ -276,7 +276,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict b/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict index 50a584a8f47709c3b613e8bfdce6b82b3a5d75ab..8f8c1c0f374bac095623815ef39851075f7c2dec 100644 --- a/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict +++ b/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict @@ -289,7 +289,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/lagrangian/MPPICFoam/cyclone/system/snappyHexMeshDict b/tutorials/lagrangian/MPPICFoam/cyclone/system/snappyHexMeshDict index 59369679d0fefd32a6a4d3e9f19695ad5d0f2499..4f9fd89d32fb2aac8fbc4363d255466484c0bc7c 100644 --- a/tutorials/lagrangian/MPPICFoam/cyclone/system/snappyHexMeshDict +++ b/tutorials/lagrangian/MPPICFoam/cyclone/system/snappyHexMeshDict @@ -248,7 +248,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/mesh/foamyHexMesh/blob/system/snappyHexMeshDict b/tutorials/mesh/foamyHexMesh/blob/system/snappyHexMeshDict index 6f11249aca896fd3ad3ddac4f3c719fe9556e8e8..d8a420f676a0c9ddc0bb0d2aa01373b14def810f 100644 --- a/tutorials/mesh/foamyHexMesh/blob/system/snappyHexMeshDict +++ b/tutorials/mesh/foamyHexMesh/blob/system/snappyHexMeshDict @@ -262,7 +262,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/mesh/foamyHexMesh/flange/system/snappyHexMeshDict b/tutorials/mesh/foamyHexMesh/flange/system/snappyHexMeshDict index 3acd722ebf69a49858df9a23aa50ec67544f0b3c..ce032aa653a11e8bfc94aca24b3e5b43736be748 100644 --- a/tutorials/mesh/foamyHexMesh/flange/system/snappyHexMeshDict +++ b/tutorials/mesh/foamyHexMesh/flange/system/snappyHexMeshDict @@ -254,7 +254,7 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/mesh/moveDynamicMesh/relativeMotion/box_snappyHexMesh/system/snappyHexMeshDict b/tutorials/mesh/moveDynamicMesh/relativeMotion/box_snappyHexMesh/system/snappyHexMeshDict index 54b1d5eb0cae9edaf5891ca6b104b8ebda50b8c6..8e27db89d4b2310eed5a10163c4b2cd19e6acddf 100644 --- a/tutorials/mesh/moveDynamicMesh/relativeMotion/box_snappyHexMesh/system/snappyHexMeshDict +++ b/tutorials/mesh/moveDynamicMesh/relativeMotion/box_snappyHexMesh/system/snappyHexMeshDict @@ -292,7 +292,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict b/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict index 15b632ae687b57e825b5664b5d67929dd2ac3ad3..fbddfc06e6bb5332fb37140d6002ea3a01b7013f 100644 --- a/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict +++ b/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict @@ -257,7 +257,7 @@ addLayersControls maxThicknessToMedialRatio 0.3; // Angle used to pick up medial axis points - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/mesh/snappyHexMesh/gap_detection/system/snappyHexMeshDict b/tutorials/mesh/snappyHexMesh/gap_detection/system/snappyHexMeshDict index ff6216ee835560aed0e681d83e1bfaea8fd08f23..89ee28e1addb46ed6ab4c940b55ce283b28c6d67 100644 --- a/tutorials/mesh/snappyHexMesh/gap_detection/system/snappyHexMeshDict +++ b/tutorials/mesh/snappyHexMesh/gap_detection/system/snappyHexMeshDict @@ -257,7 +257,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/multiphase/interFoam/RAS/DTCHull/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/DTCHull/system/snappyHexMeshDict index 54a6b77baf587e522790096e0308c7d2c3d99703..907b412b3686e551d8b724814b6808fc3d7cf217 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHull/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHull/system/snappyHexMeshDict @@ -240,7 +240,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict index 9b3de4f0b7096f86a255290138d4b64ad293bb14..8077a1c9dd0c4d1c9f77e7a1275a8b52e6b956bc 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/snappyHexMeshDict @@ -249,7 +249,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict index 01ab19aaf6a7bb8af17fb38b772bf97ffecfc965..3058882b373e5ec74f6eb7f5464f7401eac0c312 100644 --- a/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict @@ -464,7 +464,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/multiphase/interFoam/RAS/motorBike/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/motorBike/system/snappyHexMeshDict index f5651c7fad0fde5fd95a6913d9003b8e91bacf63..21128495c10869c0ccdcac02aea9adc3dc09b6a2 100644 --- a/tutorials/multiphase/interFoam/RAS/motorBike/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/motorBike/system/snappyHexMeshDict @@ -267,7 +267,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/snappyHexMeshDict b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/snappyHexMeshDict index af76695cf850933c01e71aec3ba30bac11e7fdb4..0f3d907b25cf93dcc40530a6d2c53be8bc797469 100644 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/snappyHexMeshDict +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/system/snappyHexMeshDict @@ -383,7 +383,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 in // 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/snappyHexMeshDict b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/snappyHexMeshDict index 34ff570335464c5d52064202fc7637bcf36d52f2..96f64946509ca91507f6dee7301d81a5b1e9ed8e 100644 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/snappyHexMeshDict +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/system/snappyHexMeshDict @@ -256,7 +256,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; diff --git a/tutorials/preProcessing/createZeroDirectory/motorBike/system/snappyHexMeshDict b/tutorials/preProcessing/createZeroDirectory/motorBike/system/snappyHexMeshDict index 86be389d3335c45c256bdc981d719c2fc6d90158..cb330c9854ed7d549c07a991c14cdf5371b3db7d 100644 --- a/tutorials/preProcessing/createZeroDirectory/motorBike/system/snappyHexMeshDict +++ b/tutorials/preProcessing/createZeroDirectory/motorBike/system/snappyHexMeshDict @@ -276,7 +276,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations diff --git a/tutorials/preProcessing/createZeroDirectory/snappyMultiRegionHeater/system/snappyHexMeshDict b/tutorials/preProcessing/createZeroDirectory/snappyMultiRegionHeater/system/snappyHexMeshDict index dc96c7e5d7abcccf2cc723d77681584ae74fe214..d3ab11bc25758dd636bdac0af0e0ff0e6fb6e79a 100644 --- a/tutorials/preProcessing/createZeroDirectory/snappyMultiRegionHeater/system/snappyHexMeshDict +++ b/tutorials/preProcessing/createZeroDirectory/snappyMultiRegionHeater/system/snappyHexMeshDict @@ -329,7 +329,7 @@ addLayersControls // Angle used to pick up medial axis points // Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130 // in 1.7.x. - minMedianAxisAngle 90; + minMedialAxisAngle 90; // Create buffer region for new layer terminations nBufferCellsNoExtrude 0;