OpenFOAM
11
The OpenFOAM Foundation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
createFields.H
Go to the documentation of this file.
1
#include "
readPhysicalProperties.H
"
2
3
Info
<<
"Reading field p\n"
<<
endl
;
4
volScalarField
p
5
(
6
IOobject
7
(
8
"p"
,
9
runTime.name(),
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.name(),
24
mesh,
25
IOobject::MUST_READ,
26
IOobject::AUTO_WRITE
27
),
28
mesh
29
);
30
31
#include "createPhi.H"
32
33
mesh.schemes().setFluxRequired(
p
.name());
34
35
#include "
readTurbulenceProperties.H
"
p
volScalarField & p
Definition:
createFields.H:25
Foam::volVectorField
VolField< vector > volVectorField
Definition:
volFieldsFwd.H:62
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:251
Foam::Info
messageStream Info
Foam::volScalarField
VolField< scalar > volScalarField
Definition:
volFieldsFwd.H:61
readPhysicalProperties.H
readTurbulenceProperties.H
U
volVectorField U(IOobject("U", runTime.name(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
applications
legacy
incompressible
dnsFoam
createFields.H
Generated by
1.9.1