createMeshesPostProcess.H
Go to the documentation of this file.
1 #include "createMesh.H"
2 
4 
5 IOobject io
6 (
7  "surfaceFilmProperties",
8  mesh.time().constant(),
9  mesh,
10  IOobject::READ_IF_PRESENT,
11  IOobject::NO_WRITE,
12  IOobject::NO_REGISTER
13 );
14 
15 if (io.typeHeaderOk<IOdictionary>())
16 {
17  IOdictionary propDict(io);
18 
19  filmDict = std::move(propDict);
20 
21  const word filmRegionName = filmDict.get<word>("region");
22 
23  fvMesh filmMesh
24  (
25  IOobject
26  (
27  filmRegionName,
28  runTime.timeName(),
29  runTime,
30  IOobject::MUST_READ
31  )
32  );
33 }
34 
35 // ************************************************************************* //
engineTime & runTime
dictionary filmDict
fvMesh & mesh
Required Classes.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)