FreeFOAM The Cross-Platform CFD Toolkit
createFluidMeshes.H
Go to the documentation of this file.
1  PtrList<fvMesh> fluidRegions(rp.fluidRegionNames().size());
2 
3  forAll(rp.fluidRegionNames(), i)
4  {
5  Info<< "Create fluid mesh for region " << rp.fluidRegionNames()[i]
6  << " for time = " << runTime.timeName() << nl << endl;
7 
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  }
23 
24 // ************************ vim: set sw=4 sts=4 et: ************************ //