diff --git a/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C b/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C index 179af4dba..ccdbedc0c 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C +++ b/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C @@ -217,8 +217,10 @@ Foam::plane::plane(const dictionary& dict) "plane::plane(const dictionary&)", dict ) - << "Invalid plane type: " << planeType - << abort(FatalIOError); + << "Invalid plane type: " << planeType << nl + << "Valid types are planeEquation, embeddedPoints " + << "and pointAndNormal" + << abort(FatalIOError); } }