DAFoam
v4.0.2
Discrete Adjoint with OpenFOAM
dafoam
src
utilities
postProcessing
calcForcePerSIncompressible
createFields.H
Go to the documentation of this file.
1
Info <<
"Reading field p\n"
2
<< endl;
3
volScalarField
p
(
4
IOobject(
5
"p"
,
6
runTime
.timeName(),
7
mesh
,
8
IOobject::MUST_READ,
9
IOobject::AUTO_WRITE),
10
mesh
);
11
12
Info <<
"Reading field U\n"
13
<< endl;
14
volVectorField
U
(
15
IOobject(
16
"U"
,
17
runTime
.timeName(),
18
mesh
,
19
IOobject::MUST_READ,
20
IOobject::AUTO_WRITE),
21
mesh
);
22
23
Info <<
"Reading field nut\n"
24
<< endl;
25
volScalarField nut(
26
IOobject(
27
"nut"
,
28
runTime
.timeName(),
29
mesh
,
30
IOobject::MUST_READ,
31
IOobject::AUTO_WRITE),
32
mesh
);
33
34
#include "createPhi.H"
35
36
singlePhaseTransportModel
laminarTransport
(
U
,
phi
);
37
38
volScalarField nuEff = nut +
laminarTransport
.nu();
U
volVectorField & U
Definition:
createRefsPimpleDyM.H:7
p
volScalarField & p
Definition:
createFields.H:6
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
phi
surfaceScalarField & phi
Definition:
createRefsPimpleDyM.H:8
laminarTransport
singlePhaseTransportModel & laminarTransport
Definition:
createRefsPimpleDyM.H:9
runTime
Time & runTime
Definition:
createRefsHeatTransfer.H:1
Generated by
1.8.17