From 6aa7f103230c10d4cbccfb3cb4e42d8e055b2ff7 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 15 Jun 2016 16:28:42 +0100 Subject: [PATCH 1/2] Template cases: removed solver entries using default values from fvSolution --- etc/templates/axisymmetricJet/system/fvSolution | 4 ---- etc/templates/closedVolume/system/fvSolution | 4 ---- etc/templates/closedVolumeRotating/system/fvSolution | 4 ---- etc/templates/compressibleInflowOutflow/system/fvSolution | 4 ---- etc/templates/inflowOutflow/system/fvSolution | 4 ---- etc/templates/inflowOutflowRotating/system/fvSolution | 4 ---- 6 files changed, 24 deletions(-) diff --git a/etc/templates/axisymmetricJet/system/fvSolution b/etc/templates/axisymmetricJet/system/fvSolution index f1e5a8fb41..03d1cd8dba 100644 --- a/etc/templates/axisymmetricJet/system/fvSolution +++ b/etc/templates/axisymmetricJet/system/fvSolution @@ -20,10 +20,6 @@ solvers { solver GAMG; smoother GaussSeidel; - cacheAgglomeration on; // Need to make this default? - agglomerator faceAreaPair; // Need to make this default? - nCellsInCoarsestLevel 10; // Need to make this default? - mergeLevels 1; // Need to make this default tolerance 1e-6; relTol 0.1; } diff --git a/etc/templates/closedVolume/system/fvSolution b/etc/templates/closedVolume/system/fvSolution index c00261a959..e3213eaea9 100644 --- a/etc/templates/closedVolume/system/fvSolution +++ b/etc/templates/closedVolume/system/fvSolution @@ -20,10 +20,6 @@ solvers { solver GAMG; smoother GaussSeidel; - cacheAgglomeration on; // Need to make this default? - agglomerator faceAreaPair; // Need to make this default? - nCellsInCoarsestLevel 10; // Need to make this default? - mergeLevels 1; // Need to make this default tolerance 1e-6; relTol 0.1; } diff --git a/etc/templates/closedVolumeRotating/system/fvSolution b/etc/templates/closedVolumeRotating/system/fvSolution index f1e5a8fb41..03d1cd8dba 100644 --- a/etc/templates/closedVolumeRotating/system/fvSolution +++ b/etc/templates/closedVolumeRotating/system/fvSolution @@ -20,10 +20,6 @@ solvers { solver GAMG; smoother GaussSeidel; - cacheAgglomeration on; // Need to make this default? - agglomerator faceAreaPair; // Need to make this default? - nCellsInCoarsestLevel 10; // Need to make this default? - mergeLevels 1; // Need to make this default tolerance 1e-6; relTol 0.1; } diff --git a/etc/templates/compressibleInflowOutflow/system/fvSolution b/etc/templates/compressibleInflowOutflow/system/fvSolution index 2b7d8db02c..80579478d3 100644 --- a/etc/templates/compressibleInflowOutflow/system/fvSolution +++ b/etc/templates/compressibleInflowOutflow/system/fvSolution @@ -20,10 +20,6 @@ solvers { solver GAMG; smoother GaussSeidel; - cacheAgglomeration on; // Need to make this default? - agglomerator faceAreaPair; // Need to make this default? - nCellsInCoarsestLevel 10; // Need to make this default? - mergeLevels 1; // Need to make this default tolerance 1e-6; relTol 0.1; } diff --git a/etc/templates/inflowOutflow/system/fvSolution b/etc/templates/inflowOutflow/system/fvSolution index f1e5a8fb41..03d1cd8dba 100644 --- a/etc/templates/inflowOutflow/system/fvSolution +++ b/etc/templates/inflowOutflow/system/fvSolution @@ -20,10 +20,6 @@ solvers { solver GAMG; smoother GaussSeidel; - cacheAgglomeration on; // Need to make this default? - agglomerator faceAreaPair; // Need to make this default? - nCellsInCoarsestLevel 10; // Need to make this default? - mergeLevels 1; // Need to make this default tolerance 1e-6; relTol 0.1; } diff --git a/etc/templates/inflowOutflowRotating/system/fvSolution b/etc/templates/inflowOutflowRotating/system/fvSolution index f1e5a8fb41..03d1cd8dba 100644 --- a/etc/templates/inflowOutflowRotating/system/fvSolution +++ b/etc/templates/inflowOutflowRotating/system/fvSolution @@ -20,10 +20,6 @@ solvers { solver GAMG; smoother GaussSeidel; - cacheAgglomeration on; // Need to make this default? - agglomerator faceAreaPair; // Need to make this default? - nCellsInCoarsestLevel 10; // Need to make this default? - mergeLevels 1; // Need to make this default tolerance 1e-6; relTol 0.1; } From 4ae45d94995413719184da2cdc642dd1fa711abc Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 15 Jun 2016 18:06:12 +0100 Subject: [PATCH 2/2] Template cases: commenting out scalarLevels to prevent 0 directory being filled with cellLevel files, which generally breaks workflows --- etc/templates/closedVolume/system/snappyHexMeshDict | 2 +- etc/templates/closedVolumeRotating/system/snappyHexMeshDict | 2 +- .../compressibleInflowOutflow/system/snappyHexMeshDict | 2 +- etc/templates/inflowOutflow/system/snappyHexMeshDict | 2 +- etc/templates/inflowOutflowRotating/system/snappyHexMeshDict | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/templates/closedVolume/system/snappyHexMeshDict b/etc/templates/closedVolume/system/snappyHexMeshDict index 2bc7718a52..25f1b3a79c 100644 --- a/etc/templates/closedVolume/system/snappyHexMeshDict +++ b/etc/templates/closedVolume/system/snappyHexMeshDict @@ -94,7 +94,7 @@ meshQualityControls writeFlags ( - scalarLevels +// scalarLevels layerSets layerFields ); diff --git a/etc/templates/closedVolumeRotating/system/snappyHexMeshDict b/etc/templates/closedVolumeRotating/system/snappyHexMeshDict index 587e4ad23f..86797a98bf 100644 --- a/etc/templates/closedVolumeRotating/system/snappyHexMeshDict +++ b/etc/templates/closedVolumeRotating/system/snappyHexMeshDict @@ -116,7 +116,7 @@ meshQualityControls writeFlags ( - scalarLevels +// scalarLevels layerSets layerFields ); diff --git a/etc/templates/compressibleInflowOutflow/system/snappyHexMeshDict b/etc/templates/compressibleInflowOutflow/system/snappyHexMeshDict index 7c1659090c..97fc133312 100644 --- a/etc/templates/compressibleInflowOutflow/system/snappyHexMeshDict +++ b/etc/templates/compressibleInflowOutflow/system/snappyHexMeshDict @@ -118,7 +118,7 @@ meshQualityControls writeFlags ( - scalarLevels +// scalarLevels layerSets layerFields ); diff --git a/etc/templates/inflowOutflow/system/snappyHexMeshDict b/etc/templates/inflowOutflow/system/snappyHexMeshDict index 7c1659090c..97fc133312 100644 --- a/etc/templates/inflowOutflow/system/snappyHexMeshDict +++ b/etc/templates/inflowOutflow/system/snappyHexMeshDict @@ -118,7 +118,7 @@ meshQualityControls writeFlags ( - scalarLevels +// scalarLevels layerSets layerFields ); diff --git a/etc/templates/inflowOutflowRotating/system/snappyHexMeshDict b/etc/templates/inflowOutflowRotating/system/snappyHexMeshDict index dfcd05a870..a40addbc3b 100644 --- a/etc/templates/inflowOutflowRotating/system/snappyHexMeshDict +++ b/etc/templates/inflowOutflowRotating/system/snappyHexMeshDict @@ -145,7 +145,7 @@ meshQualityControls writeFlags ( - scalarLevels +// scalarLevels layerSets layerFields );