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 371 virtual bool write(
const bool valid =
true)
const;
383 fvMesh::validComponents<sphericalTensor>()
const;
A simple container for copying or transferring objects of type <T>.
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.
void addFvPatches(const List< polyPatch *> &, const bool validBoundary=true)
Add boundary patches. Constructor helper.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
virtual bool write(const bool valid=true) const
Write mesh using IO settings from time.
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 neccessary if the mesh has moved.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
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 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 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.
virtual bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp, const bool valid) const
Write the underlying polyMesh and other data.
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 data, solver performance and other reduced data.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
const labelUList & owner() const
Internal face owner.
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 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 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.
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...
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.