FreeFOAM The Cross-Platform CFD Toolkit
createSolidMeshes.H
Go to the documentation of this file.
1  PtrList<fvMesh> solidRegions(rp.solidRegionNames().size());
2 
3  forAll(rp.solidRegionNames(), i)
4  {
5  Info<< "Create solid mesh for region " << rp.solidRegionNames()[i]
6  << " for time = " << runTime.timeName() << nl << endl;
7 
8  solidRegions.set
9  (
10  i,
11  new fvMesh
12  (
13  IOobject
14  (
15  rp.solidRegionNames()[i],
16  runTime.timeName(),
17  runTime,
18  IOobject::MUST_READ
19  )
20  )
21  );
22 
23  // Force calculation of geometric properties to prevent it being done
24  // later in e.g. some boundary evaluation
25  //(void)solidRegions[i].weights();
26  //(void)solidRegions[i].deltaCoeffs();
27  }