ENH: Time: access to libs
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / chtMultiRegionFoam / chtMultiRegionSimpleFoam / fluid / createFluidMeshes.H
blob30a2e1089f8875cf507ac0d4d76492830cf9647c
1     PtrList<fvMesh> fluidRegions(rp.fluidRegionNames().size());
3     forAll(rp.fluidRegionNames(), i)
4     {
5         Info<< "Create fluid mesh for region " << rp.fluidRegionNames()[i]
6             << " for time = " << runTime.timeName() << nl << endl;
8         fluidRegions.set
9         (
10             i,
11             new fvMesh
12             (
13                 IOobject
14                 (
15                     rp.fluidRegionNames()[i],
16                     runTime.timeName(),
17                     runTime,
18                     IOobject::MUST_READ
19                 )
20             )
21         );
22     }