Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
PtrList<fvMesh>
solidRegions
(rp.solidRegionNames().size());
2
3
forAll
(rp.solidRegionNames(), i)
4
{
5
Info
<<
"Create solid mesh for region "
<< rp.solidRegionNames()[i]
6
<<
" for time = "
<< runTime.timeName() <<
nl
<<
endl
;
7
8
solidRegions
.set
9
(
10
i,
11
new
fvMesh
12
(
13
IOobject
14
(
15
rp.solidRegionNames()[i],
16
runTime.timeName(),
17
runTime,
18
IOobject::MUST_READ
19
)
20
)
21
);
22
23
// Force calculation of geometric properties to prevent it being done
24
// later in e.g. some boundary evaluation
25
//(void)solidRegions[i].weights();
26
//(void)solidRegions[i].deltaCoeffs();
27
}
28
29
// ************************ vim: set sw=4 sts=4 et: ************************ //