OpenFOAM
4.1
The OpenFOAM Foundation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
applications
solvers
DNS
dnsFoam
createFields.H
Go to the documentation of this file.
1
#include "
readTransportProperties.H
"
2
3
Info
<<
"Reading field p\n"
<<
endl
;
4
volScalarField
p
5
(
6
IOobject
7
(
8
"p"
,
9
runTime.timeName(),
10
mesh
,
11
IOobject::MUST_READ,
12
IOobject::AUTO_WRITE
13
),
14
mesh
15
);
16
17
Info
<<
"Reading field U\n"
<<
endl
;
18
volVectorField
U
19
(
20
IOobject
21
(
22
"U"
,
23
runTime.timeName(),
24
mesh
,
25
IOobject::MUST_READ,
26
IOobject::AUTO_WRITE
27
),
28
mesh
29
);
30
31
#include "createPhi.H"
32
33
mesh
.setFluxRequired(
p
.name());
34
35
#include "
readTurbulenceProperties.H
"
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:253
readTransportProperties.H
Foam::volVectorField
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition:
volFieldsFwd.H:55
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:52
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:18
U
volVectorField U(IOobject("U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector("zero", dimVelocity, Zero))
readTurbulenceProperties.H
p
volScalarField & p
Definition:
createFields.H:23
Foam::Info
messageStream Info
Generated by
1.8.11