From 44e6d49175360aa71b0902297e601d4f4a34e017 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Sun, 14 Jul 2013 23:15:41 +0100
Subject: [PATCH] basicThermo: Use IOobject::groupName to generate phase field
 names

---
 src/thermophysicalModels/basic/basicThermo/basicThermo.H | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/thermophysicalModels/basic/basicThermo/basicThermo.H b/src/thermophysicalModels/basic/basicThermo/basicThermo.H
index 4b91a3adc8a..92be7a60089 100644
--- a/src/thermophysicalModels/basic/basicThermo/basicThermo.H
+++ b/src/thermophysicalModels/basic/basicThermo/basicThermo.H
@@ -182,7 +182,7 @@ public:
             const word& phaseName
         )
         {
-            return name + phaseName;
+            return IOobject::groupName(name, phaseName);
         }
 
         word phasePropertyName(const word& name) const
-- 
GitLab