Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
solvers
basic
scalarTransportFoam
createFields.H
Go to the documentation of this file.
1
Info
<<
"Reading field T\n"
<<
endl
;
2
3
volScalarField
T
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
19
volVectorField
U
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
50
dimensionedScalar
DT
51
(
52
transportProperties
.lookup(
"DT"
)
53
);
54
55
# include <
finiteVolume/createPhi.H
>