diff --git a/framework/src/meshgenerators/MeshGenerator.C b/framework/src/meshgenerators/MeshGenerator.C index dccd79cb3aa0..f942a22e2eb4 100644 --- a/framework/src/meshgenerators/MeshGenerator.C +++ b/framework/src/meshgenerators/MeshGenerator.C @@ -72,6 +72,8 @@ MeshGenerator::MeshGenerator(const InputParameters & parameters) if (_save_with_name == system.mainMeshGeneratorName()) paramError( "save_with_name", "The user-defined mesh name: '", _save_with_name, "' is a reserved name"); + if (getParam("nemesis") && !getParam("output")) + paramError("nemesis", "Should only be set to true if 'output=true'"); } void