createFluidMeshes.H
Go to the documentation of this file.
1  const wordList fluidNames
2  (
3  rp.found("fluid") ? rp["fluid"] : wordList(0)
4  );
5 
6  PtrList<fvMesh> fluidRegions(fluidNames.size());
7 
9  {
10  Info<< "Create fluid mesh for region " << fluidNames[i]
11  << " for time = " << runTime.timeName() << nl << endl;
12 
13  fluidRegions.set
14  (
15  i,
16  new fvMesh
17  (
18  IOobject
19  (
20  fluidNames[i],
21  runTime.timeName(),
22  runTime,
23  IOobject::MUST_READ
24  )
25  )
26  );
27  }
forAll(fluidNames, i)
engineTime & runTime
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
const wordList fluidNames(rp.found("fluid") ? rp["fluid"] :wordList(0))
regionProperties rp(runTime)
PtrList< fvMesh > fluidRegions(fluidNames.size())
static const char nl
Definition: Ostream.H:260
List< word > wordList
A List of words.
Definition: fileName.H:54
messageStream Info