From 1f84dcbac6218d476c045399764982a4184454e0 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Thu, 17 Jun 2021 10:16:07 +0100
Subject: [PATCH] ENH: blockMesh: avoid 'empty' for initial mesh. Fixes #2125.

---
 .../gasMixing/injectorPipe/system/blockMeshDict     | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/blockMeshDict b/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/blockMeshDict
index b1511bd3f1c..e65a932a914 100644
--- a/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/blockMeshDict
+++ b/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/blockMeshDict
@@ -34,8 +34,15 @@ blocks
 edges
 ();
 
-patches
-();
-
+// Synthesise 'defaultFaces' as type patch instead of 'empty' to avoid
+// warnings from decomposePar with hierarchical
+boundary
+(
+    defaultFaces
+    {
+        type    patch;
+        faces   ();
+    }
+);
 
 // ************************************************************************* //
-- 
GitLab