//
// 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;
<< "Create mesh for time = "
Foam::fvMesh mesh
(
Foam::IOobject
regionName,
runTime.timeName(),
runTime,
Foam::IOobject::MUST_READ
)
);