diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.C b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.C index 5b88de32cd8188175c7a49f71b74ba35b5641db1..49e58e04476954552648d4555477345b4c4d2f03 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.C +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.C @@ -72,9 +72,12 @@ void Foam::LESModels::cubeRootVolDelta::calcDelta() } else { - FatalErrorInFunction - << "Case is not 3D or 2D, LES is not applicable" - << exit(FatalError); + if (debug) + { + FatalErrorInFunction + << "Case is not 3D or 2D, LES is not applicable" + << exit(FatalError); + } } // Handle coupled boundaries