Go to the documentation of this file.
134 #ifndef functionObjects_ensightWrite_H
135 #define functionObjects_ensightWrite_H
155 namespace 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;
246 void operator=(
const ensightWrite&) =
delete;
279 virtual bool write();
Encapsulation of volume meshes for writing in ensight format. It manages cellZones,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Writes fields in ensight format.
A class for handling file names.
Given the original mesh and the list of selected cells, it creates the mesh consisting only of the de...
virtual bool end()
Do nothing at the final time-loop.
virtual bool write()
Write fields, flush case file.
virtual bool read(const dictionary &dict)
Read the ensightWrite specification.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Mesh consisting of general polyhedral cells.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual bool execute()
Do nothing.
readUpdateState
Enumeration defining the state of the mesh after a read update.
Supports writing of ensight cases as well as providing common factory methods to open new files.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
Return the name of this functionObject.
virtual ~ensightWrite()=default
Destructor.
Configuration options for the ensightMesh.
A List of wordRe with additional matching capabilities.
Configuration options for the ensightCase.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
TypeName("ensightWrite")
Runtime type information.
virtual void movePoints(const polyMesh &mpm)
Update for mesh point-motion.