diff --git a/src/thermophysicalModels/solids/C/C.C b/src/thermophysicalModels/solids/C/C.C index 1dbcfd2eed25f46a5948eef699d2717d5c5a0169..e36eb718707fce2c3b851bbe6bc2eb6bdb9a9549 100644 --- a/src/thermophysicalModels/solids/C/C.C +++ b/src/thermophysicalModels/solids/C/C.C @@ -42,9 +42,12 @@ Foam::C::C() : solid(2010, 710, 0.04, 0.0, 1.0) { - WarningIn("C::C()") - << "Properties of graphite need to be checked!!!" - << endl; + if (debug) + { + WarningIn("C::C()") + << "Properties of graphite need to be checked!!!" + << endl; + } } diff --git a/src/thermophysicalModels/solids/CaCO3/CaCO3.C b/src/thermophysicalModels/solids/CaCO3/CaCO3.C index 77a4398322a48c74123ed77f490721d16ced4751..6a84f46c4ca13611f2c01a926c2fc11f510620db 100644 --- a/src/thermophysicalModels/solids/CaCO3/CaCO3.C +++ b/src/thermophysicalModels/solids/CaCO3/CaCO3.C @@ -42,9 +42,12 @@ Foam::CaCO3::CaCO3() : solid(2710, 850, 1.3, 0.0, 1.0) { - WarningIn("CaCO3::CaCO3()") - << "Properties of CaCO3 need to be checked!!!" - << endl; + if (debug) + { + WarningIn("CaCO3::CaCO3()") + << "Properties of CaCO3 need to be checked!!!" + << endl; + } } diff --git a/src/thermophysicalModels/solids/ash/ash.C b/src/thermophysicalModels/solids/ash/ash.C index c904131aab258699500b7aee1175dc63bd96c71b..e666638d77a2115343b9717349e1a12d97fa19ff 100644 --- a/src/thermophysicalModels/solids/ash/ash.C +++ b/src/thermophysicalModels/solids/ash/ash.C @@ -42,9 +42,12 @@ Foam::ash::ash() : solid(2010, 710, 0.04, 0.0, 1.0) { - WarningIn("ash::ash()") - << "Properties of ash need to be checked!!!" - << endl; + if (debug) + { + WarningIn("ash::ash()") + << "Properties of ash need to be checked!!!" + << endl; + } }