71 class fvMeshLduAddressing;
73 class mapDistributePolyMesh;
102 mutable label curTimeIndex_;
134 void clearGeomNotOldVol();
138 void updateGeomNotOldVol();
153 void makeMagSf()
const;
185 const word& defaultBoundaryPatchName,
186 const word& defaultBoundaryPatchType,
187 const bool syncPar =
true 199 const bool syncPar =
true 210 const bool syncPar =
true 229 const bool validBoundary =
true 353 const label insertPatchi,
356 const word& defaultPatchFieldType,
357 const bool validBoundary
365 const bool validBoundary
387 const bool write =
true 391 virtual bool write(
const bool write =
true)
const;
406 fvMesh::validComponents<sphericalTensor>()
const;
void clearOut()
Clear all geometry and addressing.
const surfaceVectorField & Sf() const
Return cell face area vectors.
void clearAddressing()
Clear topological data.
void removeFvBoundary()
Remove boundary patches. Warning: fvPatchFields hold ref to.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void addFvPatches(const List< polyPatch *> &, const bool validBoundary=true)
Add boundary patches. Constructor helper.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
virtual void addPatch(const label insertPatchi, const polyPatch &patch, const dictionary &patchFieldDict, const word &defaultPatchFieldType, const bool validBoundary)
Add/insert single patch. If validBoundary the new situation.
virtual void reorderPatches(const labelUList &newToOld, const bool validBoundary)
Reorder and trim existing patches. If validBoundary the new.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
Traits class for primitives.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
bool movePoints()
Do what is necessary if the mesh has moved.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
fvBoundaryMesh BoundaryMesh
const cellList & cells() const
Cell to surface interpolation scheme. Included in fvMesh.
DimensionedField< scalar, volMesh > & setV0()
Return old-time cell volumes.
const Time & time() const
Return the top-level database.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
virtual bool write(const bool write=true) const
Write mesh using IO settings from time.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp, const bool write=true) const
Write the underlying polyMesh and other data.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
const labelUList & neighbour() const
Internal face neighbour.
virtual const pointField & points() const
Return raw points.
surfaceScalarField & setPhi()
Return cell face motion fluxes.
virtual ~fvMesh()
Destructor.
bool operator!=(const fvMesh &) const
virtual label comm() const
Return communicator used for parallel communication.
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh corresponding to the given map.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
const DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
A class for handling words, derived from string.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
pTraits< Type >::labelType validComponents() const
Return a labelType of valid component indicators.
virtual const lduAddressing & lduAddr() const
Return ldu addressing.
streamFormat
Enumeration for the format of data in the stream.
virtual const faceList & faces() const
Return raw faces.
label comm() const
Return communicator used for parallel communication.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycl old-time cell volumes.
compressionType
Enumeration for the format of data in the stream.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
Foam::fvMeshLduAddressing.
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
const Time & time() const
Return time.
Database for solution and other reduced data.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
const labelUList & owner() const
Internal face owner.
fvMesh(const IOobject &io)
Construct from IOobject.
const word & name() const
Return reference to name.
Selector class for finite volume solution solution. fvMesh is derived from fvSolution so that all fie...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool operator==(const fvMesh &) const
Selector class for finite volume differencing schemes. fvMesh is derived from fvSchemes so that all f...
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & thisDb() const
Return the object registry.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
Mesh consisting of general polyhedral cells.
const volVectorField & C() const
Return cell centres as volVectorField.
readUpdateState
Enumeration defining the state of the mesh after a read update.
A class for managing temporary objects.
Registry of regIOobjects.
A patch is a list of labels that address the faces in the global face list.
Specialisation of GeometricField which holds slices of given complete fields in a form that they act ...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void operator=(const fvMesh &)
Disallow default bitwise assignment.
virtual lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.