createSolidMeshes.H
Go to the documentation of this file.
1  const wordList solidNames
2  (
3  rp.found("solid") ? rp["solid"] : wordList(0)
4  );
5 
6  PtrList<fvMesh> solidRegions(solidNames.size());
7 
9  {
10  Info<< "Create solid mesh for region " << solidNames[i]
11  << " for time = " << runTime.timeName() << nl << endl;
12 
13  solidRegions.set
14  (
15  i,
16  new fvMesh
17  (
18  IOobject
19  (
20  solidNames[i],
21  runTime.timeName(),
22  runTime,
23  IOobject::MUST_READ
24  )
25  )
26  );
27 
28  // Force calculation of geometric properties to prevent it being done
29  // later in e.g. some boundary evaluation
30  //(void)solidRegions[i].weights();
31  //(void)solidRegions[i].deltaCoeffs();
32  }
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
const wordList solidNames(rp.found("solid") ? rp["solid"] :wordList(0))
PtrList< fvMesh > solidRegions(solidNames.size())
regionProperties rp(runTime)
static const char nl
Definition: Ostream.H:260
List< word > wordList
A List of words.
Definition: fileName.H:54
messageStream Info
forAll(solidNames, i)