// // createMesh.H // ~~~~~~~~~~~~ Foam::Info << "Create mesh for time = " << runTime.timeName() << Foam::nl << Foam::endl; Foam::fvMesh mesh ( Foam::IOobject ( Foam::fvMesh::defaultRegion, runTime.timeName(), runTime, Foam::IOobject::MUST_READ ) ); if(mesh.nSolutionD()<2) { Foam::Warning << "The loaded mesh has less than 2 valid solution directions." << endl; }