FreeFOAM The Cross-Platform CFD Toolkit
createFields.H
Go to the documentation of this file.
1  Info<< "Reading field T\n" << endl;
2 
4  (
5  IOobject
6  (
7  "T",
8  runTime.timeName(),
9  mesh,
10  IOobject::MUST_READ,
11  IOobject::AUTO_WRITE
12  ),
13  mesh
14  );
15 
16 
17  Info<< "Reading transportProperties\n" << endl;
18 
19  IOdictionary transportProperties
20  (
21  IOobject
22  (
23  "transportProperties",
24  runTime.constant(),
25  mesh,
26  IOobject::MUST_READ,
27  IOobject::NO_WRITE
28  )
29  );
30 
31 
32  Info<< "Reading diffusivity DT\n" << endl;
33 
35  (
36  transportProperties.lookup("DT")
37  );
38 
39 // ************************ vim: set sw=4 sts=4 et: ************************ //