72 int main(
int argc,
char *argv[])
78 runTime.functionObjects().off();
92 if (faces[faceI].size() != 2)
95 <<
"Face " << faceI <<
" size " << faces[faceI].size()
96 <<
" is not of size 2 so mesh is not proper two-dimensional."
105 scalar minRange = GREAT;
112 scalar range =
max(cmpts)-
min(cmpts);
114 Info<<
"Direction:" << dir <<
" range:" << range <<
endl;
116 if (range < minRange)
123 Info<<
"Extruding in direction " << extrudeDir
124 <<
" with thickness " << thickness <<
nl
135 label frontPatchI = patches.
findPatchID(
"frontAndBack");
137 if (frontPatchI == -1)
146 newPatches[patchI] = pp.
clone
155 frontPatchI = patches.
size();
166 Info<<
"Adding empty patch " << newPatches[frontPatchI]->name()
167 <<
" at index " << frontPatchI
168 <<
" for front and back faces." <<
nl <<
endl;
183 extruder.setRefinement
206 Pout<<
"Writing extruded mesh to time " << runTime.timeName() <<
nl