diff --git a/applications/utilities/mesh/manipulation/checkMesh/writeMeshChecks.H b/applications/utilities/mesh/manipulation/checkMesh/writeMeshChecks.H index e3d80bb154..ade72a8e46 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/writeMeshChecks.H +++ b/applications/utilities/mesh/manipulation/checkMesh/writeMeshChecks.H @@ -15,6 +15,12 @@ writeChecksFormatType writeChecksFormat(writeChecksFormatType::none); auto writeMeshChecks = [&](const fvMesh& mesh, const writeChecksFormatType fmt) { + // Early exit if 'none' option is set + if (fmt == writeChecksFormatType::none) + { + return; + } + if (UPstream::master()) { fileName path(mesh.time().globalPath()/"checkMesh");