OpenFOAM
6
The OpenFOAM Foundation
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
+
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Related Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Typedefs
b
c
d
f
g
k
l
m
p
r
s
t
v
w
+
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
utilities
postProcessing
miscellaneous
postChannel
calculateFields.H
Go to the documentation of this file.
1
/*
2
volTensorField gradU(fvc::grad(U));
3
volSymmTensorField D(symm(fvc::grad(U)));
4
volTensorField Dprim(symm(fvc::grad(U - UMean)));
5
6
volScalarField prod(-((U - UMean)*(U - UMean)) && D);
7
*/
8
9
/*
10
volScalarField txx
11
(
12
IOobject
13
(
14
"txx",
15
runTime.timeName(),
16
mesh,
17
IOobject::NO_READ,
18
IOobject::NO_WRITE
19
),
20
mesh,
21
dimensionSet(0, 1, -1, 0, 0)
22
);
23
txx =sqrt(Txx - (UMeanx*UMeanx));
24
txx.write();
25
26
volScalarField tyy
27
(
28
IOobject
29
(
30
"tyy",
31
runTime.timeName(),
32
mesh,
33
IOobject::NO_READ,
34
IOobject::NO_WRITE
35
),
36
mesh,
37
dimensionSet(0, 1, -1, 0, 0)
38
);
39
tyy = sqrt(Tyy - (UMeany*UMeany));
40
tyy.write();
41
42
volScalarField tzz
43
(
44
IOobject
45
(
46
"tzz",
47
runTime.timeName(),
48
mesh,
49
IOobject::NO_READ,
50
IOobject::NO_WRITE
51
),
52
mesh,
53
dimensionSet(0, 1, -1, 0, 0)
54
);
55
tzz = sqrt(Tzz - (UMeanz*UMeanz));
56
tzz.write();
57
58
volScalarField txy
59
(
60
IOobject
61
(
62
"txy",
63
runTime.timeName(),
64
mesh,
65
IOobject::NO_READ,
66
IOobject::NO_WRITE
67
),
68
mesh,
69
dimensionSet(0, 2, -2, 0, 0)
70
);
71
txy = Txy - (UMeanx*UMeany);
72
txy.write();
73
*/
Generated by
1.8.13