71 class fvMeshLduAddressing;
102 mutable label curTimeIndex_;
134 void clearGeomNotOldVol();
138 void updateGeomNotOldVol();
153 void makeMagSf()
const;
163 void operator=(
const fvMesh&);
192 const word& defaultBoundaryPatchName,
193 const word& defaultBoundaryPatchType,
194 const bool syncPar =
true 206 const bool syncPar =
true 217 const bool syncPar =
true 233 const bool validBoundary =
true 364 virtual bool write()
const;
fvBoundaryMesh BoundaryMesh
virtual bool write() const
Write mesh using IO settings from time.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
void addFvPatches(const List< polyPatch * > &, const bool validBoundary=true)
Add boundary patches. Constructor helper.
Mesh data needed to do the Finite Volume discretisation.
const word & name() const
Return reference to name.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual bool writeObjects(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
Write the underlying polyMesh and other data.
void clearAddressing()
Clear topological data.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const surfaceVectorField & Sf() const
Return cell face area vectors.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Specialization of GeometricField which holds slices of given complete fields in a form that they act ...
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
A simple container for copying or transferring objects of type <T>.
A class for handling words, derived from string.
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 DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
const labelUList & owner() const
Internal face owner.
const cellList & cells() const
DimensionedField< scalar, volMesh > & setV0()
Return old-time cell volumes.
Database for solution data, solver performance and other reduced data.
void removeFvBoundary()
Remove boundary patches. Warning: fvPatchFields hold ref to.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
Selector class for finite volume differencing schemes. fvMesh is derived from fvShemes so that all fi...
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh corresponding to the given map.
const Time & time() const
Return the top-level database.
virtual label comm() const
Return communicator used for parallel communication.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual const pointField & points() const
Return raw points.
const volVectorField & C() const
Return cell centres as volVectorField.
streamFormat
Enumeration for the format of data in the stream.
bool operator!=(const fvMesh &) const
Selector class for finite volume solution solution. fvMesh is derived from fvSolution so that all fie...
readUpdateState
Enumeration defining the state of the mesh after a read update.
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
const objectRegistry & thisDb() const
Return the object registry.
const word & name() const
Return name.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
label comm() const
Return communicator used for parallel communication.
compressionType
Enumeration for the format of data in the stream.
virtual const lduAddressing & lduAddr() const
Return ldu addressing.
Mesh consisting of general polyhedral cells.
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
surfaceScalarField & setPhi()
Return cell face motion fluxes.
Registry of regIOobjects.
void clearOut()
Clear all geometry and addressing.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const Time & time() const
Return time.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual const faceList & faces() const
Return raw faces.
Cell to surface interpolation scheme. Included in fvMesh.
const labelUList & neighbour() const
Internal face neighbour.
virtual ~fvMesh()
Destructor.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
bool operator==(const fvMesh &) const
virtual lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
A class for managing temporary objects.
const DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycl old-time cell volumes.
bool movePoints()
Do what is neccessary if the mesh has moved.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
Foam::fvMeshLduAddressing.