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

plot3dToFoam.C File Reference

Plot3d mesh (ascii/formatted format) converter. More...


Detailed Description

Plot3d mesh (ascii/formatted format) converter.

Work in progress! Handles ascii multiblock (and optionally singleBlock) format. By default expects blanking. Use -noBlank if none. Use -2D thickness if 2D.

Niklas Nordin has experienced a problem with lefthandedness of the blocks. The code should detect this automatically - see hexBlock::readPoints but if this goes wrong just set the blockHandedness_ variable to 'right' always.

Usage
  • plot3dToFoam [OPTIONS] <PLOT3D geom file>
Parameters:
\<PLOT3Dgeom file>
Todo:
Detailed description of argument.
Parameters:
-noBlank
Do not expect blanking.
-2D<thickness>
Data is 2D.
-singleBlock
Data is in a single block.
-scale<number>
Scale factor.
-case<dir>
Case directory.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.

Definition in file plot3dToFoam.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/IFstream.H"
#include "applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/OpenFOAM/meshes/polyMesh/polyPatches/derived/wall/wallPolyPatch.H"
#include "src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetry/symmetryPolyPatch.H"
#include "src/OpenFOAM/meshes/preservePatchTypes/preservePatchTypes.H"
#include "src/OpenFOAM/meshes/meshShapes/cellShape/cellShape.H"
#include "src/OpenFOAM/meshes/meshShapes/cellModeller/cellModeller.H"
#include "src/OpenFOAM/meshes/meshTools/mergePoints.H"
#include "src/OpenFOAM/include/createTime.H"
Include dependency graph for plot3dToFoam.C:

Go to the source code of this file.