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
solvers
heatTransfer
chtMultiRegionFoam
solid
createSolidMeshes.H
Go to the documentation of this file.
1
const
wordList
solidsNames
(
rp
[
"solid"
]);
2
3
PtrList<fvMesh>
solidRegions
(
solidsNames
.size());
4
5
forAll
(
solidsNames
, i)
6
{
7
Info
<<
"Create solid mesh for region "
<<
solidsNames
[i]
8
<<
" for time = "
<<
runTime
.timeName() <<
nl
<<
endl
;
9
10
solidRegions
.set
11
(
12
i,
13
new
fvMesh
14
(
15
IOobject
16
(
17
solidsNames
[i],
18
runTime
.timeName(),
19
runTime
,
20
IOobject::MUST_READ
21
)
22
)
23
);
24
25
// Force calculation of geometric properties to prevent it being done
26
// later in e.g. some boundary evaluation
27
//(void)solidRegions[i].weights();
28
//(void)solidRegions[i].deltaCoeffs();
29
}
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:256
solidsNames
const wordList solidsNames(rp["solid"])
rp
regionProperties rp(runTime)
forAll
forAll(solidsNames, i)
Definition:
createSolidMeshes.H:5
Foam::nl
static const char nl
Definition:
Ostream.H:265
Foam::wordList
List< word > wordList
A List of words.
Definition:
fileName.H:54
solidRegions
PtrList< fvMesh > solidRegions(solidsNames.size())
Foam::Info
messageStream Info
Generated by
1.8.13