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

foamToEnsightParts.C File Reference

Translates OpenFOAM data to Ensight format. An Ensight part is created for each cellZone and patch. More...


Detailed Description

Translates OpenFOAM data to Ensight format. An Ensight part is created for each cellZone and patch.

Usage
  • foamToEnsightParts [OPTION]
    Translates OpenFOAM data to Ensight format
Parameters:
-ascii
Write Ensight data in ASCII format instead of "C Binary"
-noZero
Exclude the often incomplete initial conditions.
-index<start>
Ignore the time index contained in the time file and use a simple indexing when creating the Ensight/data/######## files.
-noMesh
Suppress writing the geometry. Can be useful for converting partial results for a static geometry.
-case<dir>
Case directory.
-constant
Include the constant directory.
-latestTime
Only apply to the latest time step.
-time<time>
Apply only to specified time.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.
Note:
  • no parallel data.
  • writes to Ensight directory to avoid collisions with foamToEnsight.

Definition in file foamToEnsightParts.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/timeSelector.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H"
#include "src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/OpenFOAM/fields/Fields/scalarField/scalarIOField.H"
#include "src/OpenFOAM/fields/Fields/tensorField/tensorIOField.H"
#include "src/conversion/ensight/part/ensightParts.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsightParts/ensightOutputFunctions.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createNamedMesh.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsightParts/checkHasMovingMesh.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsightParts/findFields.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsightParts/getTimeIndex.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsightParts/moveMesh.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsightParts/ensightOutputCase.H"
Include dependency graph for foamToEnsightParts.C:

Go to the source code of this file.