From bb1fe5fcfc86b1b03eec96653866e50c9685cf4f Mon Sep 17 00:00:00 2001
From: sergio <sergio>
Date: Mon, 11 Jun 2018 16:15:38 -0700
Subject: [PATCH] STY: Modifying warning message

---
 .../stabilityBlendingFactor/stabilityBlendingFactor.C | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/functionObjects/field/stabilityBlendingFactor/stabilityBlendingFactor.C b/src/functionObjects/field/stabilityBlendingFactor/stabilityBlendingFactor.C
index a67339b00f4..4e99cb99e5f 100644
--- a/src/functionObjects/field/stabilityBlendingFactor/stabilityBlendingFactor.C
+++ b/src/functionObjects/field/stabilityBlendingFactor/stabilityBlendingFactor.C
@@ -79,12 +79,13 @@ bool Foam::functionObjects::stabilityBlendingFactor::init(bool first)
         if (!residualPtr)
         {
              WarningInFunction
-                << residualName_ << " is not available in the database."
-                << "It won't be considered for the blended field. " << nl
-                << "Add the corresponding FO (residuals). If the FO is already "
-                << "set, you need to wait for the first iteration."
+                << "Could not find residual file : " << residualName_ << nl
+                << "The residual mode won't be considered for the blended "
+                << "field in the stability blending factor. " << nl
+                << "Add the corresponding residual function object. " << nl
+                << "If the residual function object is already set " << nl
+                << "you might need to wait for the first iteration."
                 << endl;
-
         }
         else
         {
-- 
GitLab