createMeshesPostProcess.H
Go to the documentation of this file.
1#include "createMesh.H"
2
3dictionary filmDict;
4
5IOobject io
6(
7 "surfaceFilmProperties",
8 mesh.time().constant(),
9 mesh,
10 IOobject::READ_IF_PRESENT,
11 IOobject::NO_WRITE,
12 false
13);
14
15if (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
Required Variables.
fvMesh & mesh
dictionary filmDict
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)