// // createNamedMesh.H // ~~~~~~~~~~~~~~~~~ Foam::word regionName; if (args.optionReadIfPresent("region", regionName)) { Foam::Info << "Create mesh " << regionName << " for time = " << runTime.timeName() << Foam::nl << Foam::endl; } else { regionName = Foam::fvMesh::defaultRegion; Foam::Info << "Create mesh for time = " << runTime.timeName() << Foam::nl << Foam::endl; } Foam::fvMesh mesh ( Foam::IOobject ( regionName, runTime.timeName(), runTime, Foam::IOobject::MUST_READ ) );