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

foamToEnsight.C File Reference

Translates FOAM data to EnSight format. More...


Detailed Description

Translates FOAM data to EnSight format.

An Ensight part is created for the internalMesh and for each patch.

Usage
  • foamToEnsight [OPTION]
    Translates OpenFOAM data to Ensight format
Parameters:
-ascii
Write Ensight data in ASCII format instead of "C Binary"
-patchespatchList
Specify particular patches to write. Specifying an empty list suppresses writing the internalMesh.
-noPatches
Suppress writing any patches.
-case<dir>
Case directory.
-noZero
Ignore time step 0.
-constant
Include the constant directory.
-latestTime
Only apply to the latest time step.
-parallel
Run in parallel.
-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:
Parallel support for cloud data is not supported
  • writes to EnSight directory to avoid collisions with foamToEnsightParts

Definition in file foamToEnsight.C.

#include "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/timeSelector.H"
#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"
#include "src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H"
#include "src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H"
#include "src/finiteVolume/fields/volFields/volFields.H"
#include "src/OpenFOAM/fields/Fields/labelField/labelIOField.H"
#include "src/OpenFOAM/fields/Fields/scalarField/scalarIOField.H"
#include "src/OpenFOAM/fields/Fields/tensorField/tensorIOField.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/ensightMesh.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/ensightField.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/ensightParticlePositions.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/ensightCloudField.H"
#include "src/finiteVolume/finiteVolume/fvc/fvc.H"
#include "src/OpenFOAM/include/addTimeOptions.H"
#include "src/OpenFOAM/include/addRegionOption.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/checkTimeOptions.H"
#include "src/OpenFOAM/include/createNamedMesh.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/checkMeshMoving.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/moveMesh.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/checkData.H"
#include "applications/utilities/postProcessing/dataConversion/foamToEnsight/ensightCaseTail.H"
Include dependency graph for foamToEnsight.C:

Go to the source code of this file.