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 field U\n" << endl;
18 
20  (
21  IOobject
22  (
23  "U",
24  runTime.timeName(),
25  mesh,
26  IOobject::MUST_READ,
27  IOobject::AUTO_WRITE
28  ),
29  mesh
30  );
31 
32 
33  Info<< "Reading transportProperties\n" << endl;
34 
35  IOdictionary transportProperties
36  (
37  IOobject
38  (
39  "transportProperties",
40  runTime.constant(),
41  mesh,
42  IOobject::MUST_READ,
43  IOobject::NO_WRITE
44  )
45  );
46 
47 
48  Info<< "Reading diffusivity D\n" << endl;
49 
51  (
52  transportProperties.lookup("DT")
53  );
54 
55 # include <finiteVolume/createPhi.H>