143#ifndef Foam_functionObjects_ensightWrite_H
144#define Foam_functionObjects_ensightWrite_H
175 ensightMesh::options writeOpts_;
178 ensightCase::options caseOpts_;
190 wordRes selectFields_;
193 wordRes blockFields_;
199 fvMeshSubset meshSubset_;
202 autoPtr<ensightCase> ensCase_;
205 autoPtr<ensightMesh> ensMesh_;
211 ensightCase& ensCase() {
return *ensCase_; }
214 ensightMesh& ensMesh() {
return *ensMesh_; }
218 bool updateSubset(fvMeshSubset& subsetter)
const;
231 label writeVolFieldsImpl
234 const fvMeshSubset& proxy,
239 label writeAllVolFields
241 const fvMeshSubset& proxy,
281 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Configuration options for the ensightCase.
Supports writing of ensight cases as well as providing common factory methods to open new files.
Configuration options for the ensightMesh.
Encapsulation of volume meshes for writing in ensight format. It manages cellZones,...
A class for handling file names.
const word & name() const noexcept
Return the name of this functionObject.
Writes fields in ensight format.
virtual bool read(const dictionary &dict)
Read the ensightWrite specification.
virtual bool end()
Do nothing at the final time-loop.
virtual bool execute()
Do nothing.
virtual bool write()
Write fields, flush case file.
TypeName("ensightWrite")
Runtime type information.
virtual ~ensightWrite()=default
Destructor.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual void movePoints(const polyMesh &mpm)
Update for mesh point-motion.
ensightWrite(const ensightWrite &)=delete
No copy construct.
void operator=(const ensightWrite &)=delete
No copy assignment.
ensightWrite(const word &name, const Time &runTime, const dictionary &dict)
Construct from runTime and dictionary.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
DynamicList< float > floatBufferType
The list type used for component-wise buffering.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.