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 370 virtual bool write()
const;
382 fvMesh::validComponents<sphericalTensor>()
const;
virtual label comm() const
Return communicator used for parallel communication.
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
const Time & time() const
Return time.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
A simple container for copying or transferring objects of type <T>.
void clearOut()
Clear all geometry and addressing.
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.
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 surfaceVectorField & Sf() const
Return cell face area vectors.
label comm() const
Return communicator used for parallel communication.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
bool operator!=(const fvMesh &) const
const DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
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 neccessary if the mesh has moved.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
bool operator==(const fvMesh &) const
fvBoundaryMesh BoundaryMesh
Cell to surface interpolation scheme. Included in fvMesh.
const volVectorField & C() const
Return cell centres as volVectorField.
DimensionedField< scalar, volMesh > & setV0()
Return old-time cell volumes.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
const cellList & cells() const
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void addFvPatches(const List< polyPatch * > &, const bool validBoundary=true)
Add boundary patches. Constructor helper.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual const pointField & points() const
Return raw points.
surfaceScalarField & setPhi()
Return cell face motion fluxes.
virtual ~fvMesh()
Destructor.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
virtual lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
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 labelUList & neighbour() const
Internal face neighbour.
pTraits< Type >::labelType validComponents() const
Return a labelType of valid component indicators.
A class for handling words, derived from string.
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
const objectRegistry & thisDb() const
Return the object registry.
streamFormat
Enumeration for the format of data in the stream.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
compressionType
Enumeration for the format of data in the stream.
Foam::fvMeshLduAddressing.
Database for solution data, solver performance and other reduced data.
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycl old-time cell volumes.
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...
Selector class for finite volume differencing schemes. fvMesh is derived from fvShemes so that all fi...
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 DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
virtual const lduAddressing & lduAddr() const
Return ldu addressing.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
const labelUList & owner() const
Internal face owner.
A class for managing temporary objects.
Registry of regIOobjects.
virtual const faceList & faces() const
Return raw faces.
Specialization 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...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
virtual bool write() const
Write mesh using IO settings from time.
const word & name() const
Return reference to name.
const word & name() const
Return name.
const Time & time() const
Return the top-level database.
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map.