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