OpenFOAM: API Guide
v2006
The open source CFD toolbox
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
Info
<<
"Reading transportProperties\n"
<<
endl
;
17
18
IOdictionary
transportProperties
19
(
20
IOobject
21
(
22
"transportProperties"
,
23
runTime
.constant(),
24
mesh
,
25
IOobject::MUST_READ_IF_MODIFIED,
26
IOobject::NO_WRITE
27
)
28
);
29
30
31
Info
<<
"Reading diffusivity DT\n"
<<
endl
;
32
33
dimensionedScalar
DT(
"DT"
,
dimViscosity
,
transportProperties
);
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
transportProperties
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:350
Foam::Info
messageStream Info
Information stream (uses stdout - output is on the master only)
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition:
dimensionedScalarFwd.H:43
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:57
Foam::dimViscosity
const dimensionSet dimViscosity
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
T
volScalarField & T
Definition:
createFields.H:11
applications
solvers
basic
laplacianFoam
overLaplacianDyMFoam
createFields.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.