From 4ae45d94995413719184da2cdc642dd1fa711abc Mon Sep 17 00:00:00 2001
From: Chris Greenshields <http://cfd.direct>
Date: Wed, 15 Jun 2016 18:06:12 +0100
Subject: [PATCH] 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 2bc7718a524..25f1b3a79cf 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 587e4ad23fc..86797a98bfd 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 7c1659090cb..97fc1333128 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 7c1659090cb..97fc1333128 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 dfcd05a8709..a40addbc3b4 100644
--- a/etc/templates/inflowOutflowRotating/system/snappyHexMeshDict
+++ b/etc/templates/inflowOutflowRotating/system/snappyHexMeshDict
@@ -145,7 +145,7 @@ meshQualityControls
 
 writeFlags
 (
-    scalarLevels
+//    scalarLevels
     layerSets
     layerFields
 );
-- 
GitLab