FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

doExtrude2DMesh.C File Reference

Takes 2D mesh (all faces 2 points only, no front and back faces) and creates a 3D mesh by extruding with specified thickness. More...


Detailed Description

Takes 2D mesh (all faces 2 points only, no front and back faces) and creates a 3D mesh by extruding with specified thickness.

Usage
  • extrude2DMesh <thickness>
Parameters:
\<thickness\>
Thickness (in metre) of slab.
-case<dir>
Case directory.
-parallel
Run in parallel.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.
Note:
Not sure about the walking of the faces to create the front and back faces. Tested on one .ccm file.

Definition in file doExtrude2DMesh.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H"
#include "applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh.H"
#include "src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/empty/emptyPolyPatch.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
Include dependency graph for doExtrude2DMesh.C:

Go to the source code of this file.