134#ifndef functionObjects_ensightWrite_H
135#define functionObjects_ensightWrite_H
155namespace functionObjects
164 public fvMeshFunctionObject
169 ensightMesh::options writeOpts_;
172 ensightCase::options caseOpts_;
184 wordRes selectFields_;
187 dictionary selection_;
190 fvMeshSubset meshSubset_;
193 autoPtr<ensightCase> ensCase_;
196 autoPtr<ensightMesh> ensMesh_;
202 ensightCase& ensCase()
208 ensightMesh& ensMesh()
215 bool updateSubset(fvMeshSubset& subsetter)
const;
218 bool readSelection(
const dictionary&
dict);
227 label writeAllVolFields
229 const fvMeshSubset& proxy,
237 const fvMeshSubset& proxy,
243 ensightWrite(
const ensightWrite&) =
delete;
279 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 void movePoints(const polyMesh &mpm)
Update for mesh point-motion.
TypeName("ensightWrite")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the ensightWrite specification.
virtual ~ensightWrite()=default
Destructor.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual bool execute()
Do nothing.
virtual bool write()
Write fields, flush case file.
virtual bool end()
Do nothing at the final time-loop.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
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.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.