Mesh data needed to do the Finite Volume discretisation. More...
Public Types | |
typedef fvMesh | Mesh |
typedef fvBoundaryMesh | BoundaryMesh |
Public Types inherited from polyMesh | |
enum | readUpdateState { UNCHANGED, POINTS_MOVED, TOPO_CHANGE, TOPO_PATCH_CHANGE } |
Enumeration defining the state of the mesh after a read update. More... | |
enum | cellDecomposition { FACE_PLANES, FACE_CENTRE_TRIS, FACE_DIAG_TRIS, CELL_TETS } |
Enumeration defining the decomposition of the cell for. More... | |
typedef polyMesh | Mesh |
typedef polyBoundaryMesh | BoundaryMesh |
Public Types inherited from IOobject | |
enum | objectState { GOOD, BAD } |
Enumeration defining the valid states of an IOobject. More... | |
enum | readOption { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
Enumeration defining the read options. More... | |
enum | writeOption { AUTO_WRITE = 0, NO_WRITE = 1 } |
Enumeration defining the write options. More... | |
enum | fileCheckTypes { timeStamp, timeStampMaster, inotify, inotifyMaster } |
Enumeration defining the file checking options. More... | |
Public Types inherited from HashTable< regIOobject *> | |
typedef regIOobject * | value_type |
Type of values the HashTable contains. More... | |
typedef regIOobject * & | reference |
Type that can be used for storing into HashTable::value_type. More... | |
typedef const regIOobject * & | const_reference |
Type that can be used for storing into constant. More... | |
typedef label | size_type |
The type that can represent the size of a HashTable. More... | |
Public Types inherited from UILList< LListBase, T > | |
typedef T | value_type |
Type of values the DLList contains. More... | |
typedef T & | reference |
Type that can be used for storing into DLList::value_type. More... | |
typedef const T & | const_reference |
Type that can be used for storing into constant. More... | |
typedef label | size_type |
The type that can represent the size of a DLList. More... | |
typedef LListBase::iterator | LListBase_iterator |
typedef LListBase::const_iterator | LListBase_const_iterator |
Public Member Functions | |
ClassName ("fvMesh") | |
fvMesh (const IOobject &io) | |
Construct from IOobject. More... | |
fvMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const PtrList< dictionary > &boundaryDicts, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const bool syncPar=true) | |
Construct from cellShapes with boundary. More... | |
fvMesh (const IOobject &io, pointField &&points, faceList &&faces, labelList &&allOwner, labelList &&allNeighbour, const bool syncPar=true) | |
Construct from components without boundary. More... | |
fvMesh (const IOobject &io, pointField &&points, faceList &&faces, cellList &&cells, const bool syncPar=true) | |
Construct without boundary from cells rather than owner/neighbour. More... | |
fvMesh (const fvMesh &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~fvMesh () |
Destructor. More... | |
void | addFvPatches (const List< polyPatch *> &, const bool validBoundary=true) |
Add boundary patches. Constructor helper. More... | |
virtual readUpdateState | readUpdate () |
Update the mesh based on the mesh files saved in time. More... | |
const Time & | time () const |
Return the top-level database. More... | |
virtual const objectRegistry & | thisDb () const |
Return the object registry - resolve conflict polyMesh/lduMesh. More... | |
const word & | name () const |
Return reference to name. More... | |
const fvBoundaryMesh & | boundary () const |
Return reference to boundary mesh. More... | |
virtual const lduAddressing & | lduAddr () const |
Return ldu addressing. More... | |
virtual lduInterfacePtrsList | interfaces () const |
Return a list of pointers for each patch. More... | |
virtual label | comm () const |
Return communicator used for parallel communication. More... | |
const labelUList & | owner () const |
Internal face owner. More... | |
const labelUList & | neighbour () const |
Internal face neighbour. More... | |
const DimensionedField< scalar, volMesh > & | V () const |
Return cell volumes. More... | |
const DimensionedField< scalar, volMesh > & | V0 () const |
Return old-time cell volumes. More... | |
const DimensionedField< scalar, volMesh > & | V00 () const |
Return old-old-time cell volumes. More... | |
tmp< DimensionedField< scalar, volMesh > > | Vsc () const |
Return sub-cycle cell volumes. More... | |
tmp< DimensionedField< scalar, volMesh > > | Vsc0 () const |
Return sub-cycl old-time cell volumes. More... | |
const surfaceVectorField & | Sf () const |
Return cell face area vectors. More... | |
const surfaceScalarField & | magSf () const |
Return cell face area magnitudes. More... | |
const surfaceScalarField & | phi () const |
Return cell face motion fluxes. More... | |
const volVectorField & | C () const |
Return cell centres as volVectorField. More... | |
const surfaceVectorField & | Cf () const |
Return face centres as surfaceVectorField. More... | |
tmp< surfaceVectorField > | delta () const |
Return face deltas as surfaceVectorField. More... | |
template<class Type > | |
pTraits< Type >::labelType | validComponents () const |
Return a labelType of valid component indicators. More... | |
void | clearOut () |
Clear all geometry and addressing. More... | |
virtual void | updateMesh (const mapPolyMesh &mpm) |
Update mesh corresponding to the given map. More... | |
virtual void | updateMesh (const mapDistributePolyMesh &mdpm) |
Update mesh corresponding to the given distribution map. More... | |
virtual tmp< scalarField > | movePoints (const pointField &) |
Move points, returns volumes swept by faces in motion. More... | |
virtual void | mapFields (const mapPolyMesh &mpm) |
Map all fields in time using given map. More... | |
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. More... | |
virtual void | reorderPatches (const labelUList &newToOld, const bool validBoundary) |
Reorder and trim existing patches. If validBoundary the new. More... | |
void | removeFvBoundary () |
Remove boundary patches. Warning: fvPatchFields hold ref to. More... | |
surfaceScalarField & | setPhi () |
Return cell face motion fluxes. More... | |
DimensionedField< scalar, volMesh > & | setV0 () |
Return old-time cell volumes. More... | |
virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp, const bool write=true) const |
Write the underlying polyMesh and other data. More... | |
virtual bool | write (const bool write=true) const |
Write mesh using IO settings from time. More... | |
void | operator= (const fvMesh &) |
Disallow default bitwise assignment. More... | |
bool | operator!= (const fvMesh &) const |
bool | operator== (const fvMesh &) const |
template<> | |
pTraits< sphericalTensor >::labelType | validComponents () const |
template<class Type > | |
Foam::pTraits< Type >::labelType | validComponents () const |
Public Member Functions inherited from polyMesh | |
TypeName ("polyMesh") | |
Runtime type information. More... | |
polyMesh (const IOobject &io) | |
Construct from IOobject. More... | |
polyMesh (const IOobject &io, pointField &&points, faceList &&faces, labelList &&owner, labelList &&neighbour, const bool syncPar=true) | |
Move construct from IOobject or from components. More... | |
polyMesh (const IOobject &io, pointField &&points, faceList &&faces, cellList &&cells, const bool syncPar=true) | |
Move construct without boundary with cells rather than. More... | |
polyMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const wordList &boundaryPatchTypes, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const wordList &boundaryPatchPhysicalTypes, const bool syncPar=true) | |
Move construct from cell shapes. More... | |
polyMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const PtrList< dictionary > &boundaryDicts, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const bool syncPar=true) | |
Move construct from cell shapes with patch information in dictionary. More... | |
polyMesh (const polyMesh &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~polyMesh () |
Destructor. More... | |
virtual const fileName & | dbDir () const |
Override the objectRegistry dbDir for a single-region case. More... | |
fileName | meshDir () const |
Return the local mesh directory (dbDir()/meshSubDir) More... | |
const fileName & | pointsInstance () const |
Return the current instance directory for points. More... | |
const fileName & | facesInstance () const |
Return the current instance directory for faces. More... | |
void | setInstance (const fileName &) |
Set the instance for mesh files. More... | |
virtual const pointField & | points () const |
Return raw points. More... | |
virtual bool | upToDatePoints (const regIOobject &io) const |
Return true if io is up-to-date with points. More... | |
virtual void | setUpToDatePoints (regIOobject &io) const |
Set io to be up-to-date with points. More... | |
virtual const faceList & | faces () const |
Return raw faces. More... | |
virtual const labelList & | faceOwner () const |
Return face owner. More... | |
virtual const labelList & | faceNeighbour () const |
Return face neighbour. More... | |
virtual const pointField & | oldPoints () const |
Return old points for mesh motion. More... | |
virtual const pointField & | oldCellCentres () const |
Return old points for mesh motion. More... | |
const polyBoundaryMesh & | boundaryMesh () const |
Return boundary mesh. More... | |
const boundBox & | bounds () const |
Return mesh bounding box. More... | |
const Vector< label > & | geometricD () const |
Return the vector of geometric directions in mesh. More... | |
label | nGeometricD () const |
Return the number of valid geometric dimensions in the mesh. More... | |
const Vector< label > & | solutionD () const |
Return the vector of solved-for directions in mesh. More... | |
label | nSolutionD () const |
Return the number of valid solved-for dimensions in the mesh. More... | |
const labelIOList & | tetBasePtIs () const |
Return the tetBasePtIs. More... | |
const indexedOctree< treeDataCell > & | cellTree () const |
Return the cell search tree. More... | |
const meshPointZones & | pointZones () const |
Return point zones. More... | |
const meshFaceZones & | faceZones () const |
Return face zones. More... | |
const meshCellZones & | cellZones () const |
Return cell zones. More... | |
const globalMeshData & | globalData () const |
Return parallel info. More... | |
label | comm () const |
Return communicator used for parallel communication. More... | |
label & | comm () |
Return communicator used for parallel communication. More... | |
const objectRegistry & | thisDb () const |
Return the object registry. More... | |
virtual bool | dynamic () const |
Is mesh dynamic. More... | |
bool | moving () const |
Is mesh moving. More... | |
bool | moving (const bool m) |
Set the mesh to be moving. More... | |
bool | topoChanging () const |
Is mesh topology changing. More... | |
bool | topoChanging (const bool c) |
Set the mesh topology to be changing. More... | |
bool | changing () const |
Is mesh changing (topology changing and/or moving) More... | |
void | resetMotion () const |
Reset motion. More... | |
meshPointZones & | pointZones () |
Return non-const access to the pointZones. More... | |
meshFaceZones & | faceZones () |
Return non-const access to the faceZones. More... | |
meshCellZones & | cellZones () |
Return non-const access to the cellZones. More... | |
void | addPatches (const List< polyPatch *> &, const bool validBoundary=true) |
Add boundary patches. More... | |
void | addZones (const List< pointZone *> &pz, const List< faceZone *> &fz, const List< cellZone *> &cz) |
Add mesh zones. More... | |
void | removeBoundary () |
Remove boundary patches. More... | |
void | resetPrimitives (pointField &&points, faceList &&faces, labelList &&owner, labelList &&neighbour, const labelList &patchSizes, const labelList &patchStarts, const bool validBoundary=true) |
Reset mesh primitive data. Assumes all patch info correct. More... | |
void | clearGeom () |
Clear geometry. More... | |
void | clearAddressing (const bool isMeshUpdate=false) |
Clear addressing. More... | |
void | clearOut () |
Clear all geometry and addressing unnecessary for CFD. More... | |
void | clearPrimitives () |
Clear primitive data (points, faces and cells) More... | |
void | clearTetBasePtIs () |
Clear tet base points. More... | |
void | clearCellTree () |
Clear cell tree data. More... | |
void | removeFiles (const fileName &instanceDir) const |
Remove all files from mesh instance. More... | |
void | removeFiles () const |
Remove all files from mesh instance() More... | |
virtual bool | checkFaceOrthogonality (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check non-orthogonality. More... | |
virtual bool | checkFaceSkewness (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check face skewness. More... | |
virtual bool | checkEdgeAlignment (const bool report, const Vector< label > &directions, labelHashSet *setPtr) const |
Check edge alignment for 1D/2D cases. More... | |
virtual bool | checkCellDeterminant (const bool report, labelHashSet *setPtr) const |
virtual bool | checkMeshMotion (const pointField &newPoints, const bool report=false, const bool detailedReport=false) const |
Check mesh motion for correctness given motion points. More... | |
virtual bool | checkFaceWeight (const bool report, const scalar minWeight=0.05, labelHashSet *setPtr=nullptr) const |
Check for face weights. More... | |
virtual bool | checkVolRatio (const bool report, const scalar minRatio=0.01, labelHashSet *setPtr=nullptr) const |
Check for neighbouring cell volumes. More... | |
void | findCellFacePt (const point &p, label &celli, label &tetFacei, label &tetPti) const |
Find the cell, tetFacei and tetPti for point p. More... | |
void | findTetFacePt (const label celli, const point &p, label &tetFacei, label &tetPti) const |
Find the tetFacei and tetPti for point p in celli. More... | |
bool | pointInCell (const point &p, label celli, const cellDecomposition=CELL_TETS) const |
Test if point p is in the celli. More... | |
label | findCell (const point &p, const cellDecomposition=CELL_TETS) const |
Find cell enclosing this location and return index. More... | |
void | operator= (const polyMesh &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from objectRegistry | |
TypeName ("objectRegistry") | |
Declare type name for this IOobject. More... | |
objectRegistry (const Time &db, const label nIoObjects=128) | |
Construct the time objectRegistry given an initial estimate. More... | |
objectRegistry (const IOobject &io, const label nIoObjects=128) | |
Construct a sub-registry given an IObject to describe the registry. More... | |
objectRegistry (const objectRegistry &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~objectRegistry () |
Destructor. More... | |
const Time & | time () const |
Return time. More... | |
const objectRegistry & | parent () const |
Return the parent objectRegistry. More... | |
wordList | names () const |
Return the list of names of the IOobjects. More... | |
wordList | sortedNames () const |
Return the sorted list of names of the IOobjects. More... | |
wordList | names (const word &className) const |
Return the list of names of IOobjects of given class name. More... | |
wordList | sortedNames (const word &className) const |
Return the sorted list of names of IOobjects of given class name. More... | |
template<class Type > | |
wordList | names () const |
Return the list of names of the IOobjects of given type. More... | |
template<class Type > | |
wordList | names (const wordRe &name) const |
Return the list of objects whose name matches the input regExp. More... | |
template<class Type > | |
wordList | names (const wordReList &name) const |
Return the list of objects whose name matches the input regExp. More... | |
const objectRegistry & | subRegistry (const word &name, const bool forceCreate=false) const |
Lookup and return a const sub-objectRegistry. Optionally create. More... | |
template<class Type > | |
HashTable< const Type * > | lookupClass (const bool strict=false) const |
Lookup and return all objects of the given Type. More... | |
template<class Type > | |
HashTable< Type * > | lookupClass (const bool strict=false) |
Lookup and return all objects of the given Type. More... | |
template<class Type > | |
bool | foundObject (const word &name) const |
Is the named Type found? More... | |
template<class Type > | |
const Type & | lookupObject (const word &name) const |
Lookup and return the object of the given Type. More... | |
template<class Type > | |
Type & | lookupObjectRef (const word &name) const |
Lookup and return the object reference of the given Type. More... | |
label | getEvent () const |
Return new event number. More... | |
const objectRegistry & | thisDb () const |
Return the object registry. More... | |
virtual void | rename (const word &newName) |
Rename. More... | |
bool | checkIn (regIOobject &) const |
Add an regIOobject to registry. More... | |
bool | checkOut (regIOobject &) const |
Remove an regIOobject from registry. More... | |
void | clear () |
Remove all regIOobject owned by the registry. More... | |
void | addTemporaryObject (const word &name) const |
Add the given name to the set of temporary objects to cache. More... | |
bool | cacheTemporaryObject (const word &name) const |
Return true if given name is in the cacheTemporaryObjects set. More... | |
template<class Object > | |
bool | cacheTemporaryObject (Object &ob) const |
Cache the given object. More... | |
void | resetCacheTemporaryObject (const regIOobject &ob) const |
Reset the cache state of the given object. More... | |
bool | checkCacheTemporaryObjects () const |
Check that all objects in the cacheTemporaryObjects set. More... | |
virtual bool | modified () const |
Return true if any of the object's files have been modified. More... | |
void | readModifiedObjects () |
Read the objects that have been modified. More... | |
virtual bool | readIfModified () |
Read object if modified. More... | |
virtual bool | writeData (Ostream &) const |
writeData function required by regIOobject but not used More... | |
void | operator= (const objectRegistry &)=delete |
Disallow default bitwise assignment. More... | |
template<class Type > | |
Foam::wordList | names () const |
template<class Type > | |
Foam::wordList | names (const wordRe &name) const |
template<class Type > | |
Foam::wordList | names (const wordReList &patterns) const |
template<class Type > | |
Foam::HashTable< const Type * > | lookupClass (const bool strict) const |
template<class Type > | |
Foam::HashTable< Type * > | lookupClass (const bool strict) |
Public Member Functions inherited from regIOobject | |
TypeName ("regIOobject") | |
Runtime type information. More... | |
regIOobject (const IOobject &, const bool isTime=false) | |
Construct from IOobject. Optional flag for if IOobject is the. More... | |
regIOobject (const regIOobject &) | |
Copy constructor. More... | |
regIOobject (const regIOobject &, bool registerCopy) | |
Copy constructor, transferring registry registration to copy. More... | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
Copy constructor with new name, transferring registry registration. More... | |
regIOobject (const IOobject &, const regIOobject &) | |
Copy constructor with new IO parameters. More... | |
virtual | ~regIOobject () |
Destructor. More... | |
bool | checkIn () |
Add object to registry. More... | |
bool | checkOut () |
Remove object from registry. More... | |
void | addWatch () |
Add file watch on object (if registered and READ_IF_MODIFIED) More... | |
bool | ownedByRegistry () const |
Is this object owned by the registry? More... | |
void | store () |
Transfer ownership of this object to its registry. More... | |
void | release () |
Release ownership of this object from its registry. More... | |
label | eventNo () const |
Event number at last update. More... | |
label & | eventNo () |
Event number at last update. More... | |
bool | upToDate (const regIOobject &) const |
Return true if up-to-date with respect to given object. More... | |
bool | upToDate (const regIOobject &, const regIOobject &) const |
Return true if up-to-date with respect to given objects. More... | |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
Return true if up-to-date with respect to given objects. More... | |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
Return true if up-to-date with respect to given objects. More... | |
void | setUpToDate () |
Set up to date (obviously) More... | |
bool | headerOk () |
Read and check header info. More... | |
Istream & | readStream (const word &, const bool read=true) |
Return Istream and check object type against that given. More... | |
void | close () |
Close Istream. More... | |
const labelList & | watchIndices () const |
Return file-monitoring handles. More... | |
labelList & | watchIndices () |
Return file-monitoring handles. More... | |
void | operator= (const IOobject &) |
Public Member Functions inherited from IOobject | |
TypeName ("IOobject") | |
Runtime type information. More... | |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from name, instance, registry, io options. More... | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from name, instance, local, registry, io options. More... | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from path, registry, io options. More... | |
IOobject (const IOobject &io, const objectRegistry ®istry) | |
Construct from copy resetting registry. More... | |
IOobject (const IOobject &io, const word &name) | |
Construct from copy resetting name. More... | |
IOobject (const IOobject &io)=default | |
Copy constructor. More... | |
autoPtr< IOobject > | clone () const |
Clone. More... | |
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
Clone resetting registry. More... | |
virtual | ~IOobject () |
Destructor. More... | |
const Time & | time () const |
Return time. More... | |
const objectRegistry & | db () const |
Return the local objectRegistry. More... | |
const word & | name () const |
Return name. More... | |
const word & | headerClassName () const |
Return name of the class name read from header. More... | |
word & | headerClassName () |
Return name of the class name read from header. More... | |
string & | note () |
Return non-constant access to the optional note. More... | |
const string & | note () const |
Return the optional note. More... | |
bool & | registerObject () |
Register object created from this IOobject with registry if true. More... | |
bool | registerObject () const |
Register object created from this IOobject with registry if true. More... | |
readOption | readOpt () const |
readOption & | readOpt () |
writeOption | writeOpt () const |
writeOption & | writeOpt () |
word | group () const |
Return group (extension part of name) More... | |
word | member () const |
Return member (name without the extension) More... | |
word | modelName (const char *name) const |
Return the name of the object within this model. More... | |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const |
fileName & | instance () |
const fileName & | local () const |
fileName | path () const |
Return complete path. More... | |
fileName | path (const word &instance, const fileName &local="") const |
Return complete path with alternative instance and local. More... | |
fileName | localPath () const |
Return the path relative to the case. More... | |
fileName | objectPath () const |
Return complete path + object name. More... | |
fileName | localObjectPath () const |
Return complete localPath + object name. More... | |
fileName | localFilePath (const word &typeName) const |
Helper for filePath that searches locally. More... | |
fileName | globalFilePath (const word &typeName) const |
Helper for filePath that searches up if in parallel. More... | |
bool | readHeader (Istream &) |
Read header. More... | |
template<class Type > | |
bool | typeHeaderOk (const bool checkType=true) |
Read header (uses typeFilePath to find file) and check header. More... | |
template<class Type > | |
void | warnNoRereading () const |
Helper: warn that type does not support re-reading. More... | |
bool | writeHeader (Ostream &) const |
Write header. More... | |
bool | writeHeader (Ostream &, const word &objectType) const |
Write header. Allow override of type. More... | |
bool | good () const |
bool | bad () const |
InfoProxy< IOobject > | info () const |
Return info proxy. More... | |
void | operator= (const IOobject &) |
template<class Name > | |
Foam::word | groupName (Name name, const word &group) |
template<class Name > | |
Foam::word | modelName (Name name, const word &model) |
Public Member Functions inherited from HashTable< regIOobject *> | |
bool | set (const word &, const regIOobject * &newElmt) |
Assign a new hashedEntry, overwriting existing entries. More... | |
HashTable (const label size=128) | |
Construct given initial table size. More... | |
HashTable (Istream &, const label size=128) | |
Construct from Istream. More... | |
HashTable (const HashTable< regIOobject *, word, string::hash > &) | |
Copy constructor. More... | |
HashTable (HashTable< regIOobject *, word, string::hash > &&) | |
Move constructor. More... | |
HashTable (std::initializer_list< Tuple2< word, regIOobject * >>) | |
Construct from an initialiser list. More... | |
~HashTable () | |
Destructor. More... | |
label | capacity () const |
The size of the underlying table. More... | |
label | size () const |
Return number of elements in table. More... | |
bool | empty () const |
Return true if the hash table is empty. More... | |
bool | found (const word &) const |
Return true if hashedEntry is found in table. More... | |
iterator | find (const word &) |
Find and return an iterator set at the hashedEntry. More... | |
const_iterator | find (const word &) const |
Find and return an const_iterator set at the hashedEntry. More... | |
List< word > | toc () const |
Return the table of contents. More... | |
List< word > | sortedToc () const |
Return the table of contents as a sorted list. More... | |
Ostream & | printInfo (Ostream &) const |
Print information. More... | |
bool | insert (const word &, const regIOobject * &newElmt) |
Insert a new hashedEntry. More... | |
bool | erase (const iterator &) |
Erase a hashedEntry specified by given iterator. More... | |
bool | erase (const word &) |
Erase a hashedEntry specified by the given key. More... | |
label | erase (const UList< word > &) |
Remove entries given by the listed keys from this HashTable. More... | |
label | erase (const HashTable< AnyType, word, AnyHash > &) |
Remove entries given by the given keys from this HashTable. More... | |
Foam::label | erase (const HashTable< AnyType, word, AnyHash > &rhs) |
void | resize (const label newSize) |
Resize the hash table for efficiency. More... | |
void | clear () |
Clear all entries from table. More... | |
void | clearStorage () |
Clear the table entries and the table itself. More... | |
void | shrink () |
Shrink the allocated table to approx. twice number of elements. More... | |
void | transfer (HashTable< regIOobject *, word, string::hash > &) |
Transfer the contents of the argument table into this table. More... | |
regIOobject * & | operator[] (const word &) |
Find and return a hashedEntry. More... | |
const regIOobject * & | operator[] (const word &) const |
Find and return a hashedEntry. More... | |
regIOobject * & | operator() (const word &) |
Find and return a hashedEntry, create it null if not present. More... | |
void | operator= (const HashTable< regIOobject *, word, string::hash > &) |
Assignment operator. More... | |
void | operator= (HashTable< regIOobject *, word, string::hash > &&) |
Move assignment operator. More... | |
void | operator= (std::initializer_list< Tuple2< word, regIOobject * >>) |
Assignment to an initialiser list. More... | |
bool | operator== (const HashTable< regIOobject *, word, string::hash > &) const |
Equality. Hash tables are equal if the keys and values are equal. More... | |
bool | operator!= (const HashTable< regIOobject *, word, string::hash > &) const |
The opposite of the equality operation. Takes linear time. More... | |
iterator | begin () |
Iterator set to the beginning of the HashTable. More... | |
const_iterator | begin () const |
const_iterator set to the beginning of the HashTable More... | |
const_iterator | cbegin () const |
const_iterator set to the beginning of the HashTable More... | |
Public Member Functions inherited from HashTableCore | |
HashTableCore () | |
Construct null. More... | |
ClassName ("HashTable") | |
Define template name and debug. More... | |
Public Member Functions inherited from primitiveMesh | |
ClassName ("primitiveMesh") | |
primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) | |
Construct from components. More... | |
primitiveMesh (const primitiveMesh &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~primitiveMesh () |
Destructor. More... | |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
Reset this primitiveMesh given the primitive array sizes. More... | |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &cells) |
Reset this primitiveMesh given the primitive array sizes and cells. More... | |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &&cells) |
Reset this primitiveMesh given the primitive array sizes and cells. More... | |
label | nPoints () const |
label | nEdges () const |
label | nInternalFaces () const |
label | nFaces () const |
label | nCells () const |
label | nInternalPoints () const |
Points not on boundary. More... | |
label | nInternal0Edges () const |
Internal edges (i.e. not on boundary face) using. More... | |
label | nInternal1Edges () const |
Internal edges using 0 or 1 boundary point. More... | |
label | nInternalEdges () const |
Internal edges using 0,1 or 2 boundary points. More... | |
const cellShapeList & | cellShapes () const |
Return cell shapes. More... | |
const edgeList & | edges () const |
Return mesh edges. Uses calcEdges. More... | |
const labelListList & | cellCells () const |
const labelListList & | edgeCells () const |
const labelListList & | pointCells () const |
const cellList & | cells () const |
const labelListList & | edgeFaces () const |
const labelListList & | pointFaces () const |
const labelListList & | cellEdges () const |
const labelListList & | faceEdges () const |
const labelListList & | pointEdges () const |
const labelListList & | pointPoints () const |
const labelListList & | cellPoints () const |
const vectorField & | cellCentres () const |
const vectorField & | faceCentres () const |
const scalarField & | cellVolumes () const |
const vectorField & | faceAreas () const |
const scalarField & | magFaceAreas () const |
tmp< scalarField > | movePoints (const pointField &p, const pointField &oldP) |
Move points, returns volumes swept by faces in motion. More... | |
bool | isInternalFace (const label faceIndex) const |
Return true if given face label is internal to the mesh. More... | |
virtual bool | checkUpperTriangular (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check face ordering. More... | |
virtual bool | checkCellsZipUp (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check cell zip-up. More... | |
virtual bool | checkFaceVertices (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check uniqueness of face vertices. More... | |
virtual bool | checkPoints (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check for unused points. More... | |
virtual bool | checkFaceFaces (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check face-face connectivity. More... | |
virtual bool | checkClosedBoundary (const bool report=false) const |
Check boundary for closedness. More... | |
virtual bool | checkClosedCells (const bool report=false, labelHashSet *setPtr=nullptr, labelHashSet *highAspectSetPtr=nullptr, const Vector< label > &solutionD=Vector< label >::one) const |
Check cells for closedness. More... | |
virtual bool | checkFaceAreas (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check for negative face areas. More... | |
virtual bool | checkCellVolumes (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check for negative cell volumes. More... | |
virtual bool | checkFacePyramids (const bool report=false, const scalar minPyrVol=-small, labelHashSet *setPtr=nullptr) const |
Check face pyramid volume. More... | |
virtual bool | checkFaceAngles (const bool report=false, const scalar maxSin=10, labelHashSet *setPtr=nullptr) const |
Check face angles. More... | |
virtual bool | checkFaceFlatness (const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
Check face warpage: decompose face and check ratio between. More... | |
virtual bool | checkPointNearness (const bool report, const scalar reportDistSqr, labelHashSet *setPtr=nullptr) const |
Check for point-point-nearness,. More... | |
virtual bool | checkEdgeLength (const bool report, const scalar minLenSqr, labelHashSet *setPtr=nullptr) const |
Check edge length. More... | |
virtual bool | checkConcaveCells (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check for concave cells by the planes of faces. More... | |
virtual bool | checkTopology (const bool report=false) const |
Check mesh topology for correctness. More... | |
virtual bool | checkGeometry (const bool report=false) const |
Check mesh geometry (& implicitly topology) for correctness. More... | |
virtual bool | checkMesh (const bool report=false) const |
Check mesh for correctness. Returns false for no error. More... | |
bool | pointInCellBB (const point &p, label celli, scalar inflationFraction=0) const |
Return true if the point in the cell bounding box. More... | |
bool | pointInCell (const point &p, label celli) const |
Return true if the point is in the cell. More... | |
label | findNearestCell (const point &location) const |
Find the cell with the nearest cell centre to location. More... | |
label | findCell (const point &location) const |
Find cell enclosing this location (-1 if not in mesh) More... | |
void | printAllocated () const |
Print a list of all the currently allocated mesh data. More... | |
bool | hasCellShapes () const |
bool | hasEdges () const |
bool | hasCellCells () const |
bool | hasEdgeCells () const |
bool | hasPointCells () const |
bool | hasCells () const |
bool | hasEdgeFaces () const |
bool | hasPointFaces () const |
bool | hasCellEdges () const |
bool | hasFaceEdges () const |
bool | hasPointEdges () const |
bool | hasPointPoints () const |
bool | hasCellPoints () const |
bool | hasCellCentres () const |
bool | hasFaceCentres () const |
bool | hasCellVolumes () const |
bool | hasFaceAreas () const |
const labelList & | cellCells (const label celli, DynamicList< label > &) const |
cellCells using cells. More... | |
const labelList & | cellCells (const label celli) const |
const labelList & | cellPoints (const label celli, DynamicList< label > &) const |
cellPoints using cells More... | |
const labelList & | cellPoints (const label celli) const |
const labelList & | pointCells (const label pointi, DynamicList< label > &) const |
pointCells using pointFaces More... | |
const labelList & | pointCells (const label pointi) const |
const labelList & | pointPoints (const label pointi, DynamicList< label > &) const |
pointPoints using edges, pointEdges More... | |
const labelList & | pointPoints (const label pointi) const |
const labelList & | faceEdges (const label facei, DynamicList< label > &) const |
faceEdges using pointFaces, edges, pointEdges More... | |
const labelList & | faceEdges (const label facei) const |
const labelList & | edgeFaces (const label edgeI, DynamicList< label > &) const |
edgeFaces using pointFaces, edges, pointEdges More... | |
const labelList & | edgeFaces (const label edgeI) const |
const labelList & | edgeCells (const label edgeI, DynamicList< label > &) const |
edgeCells using pointFaces, edges, pointEdges More... | |
const labelList & | edgeCells (const label edgeI) const |
const labelList & | cellEdges (const label celli, DynamicList< label > &) const |
cellEdges using cells, pointFaces, edges, pointEdges More... | |
const labelList & | cellEdges (const label celli) const |
void | clearGeom () |
Clear geometry. More... | |
void | clearAddressing () |
Clear topological data. More... | |
void | clearOut () |
Clear all geometry and addressing unnecessary for CFD. More... | |
void | operator= (const primitiveMesh &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from lduMesh | |
TypeName ("lduMesh") | |
Runtime type information. More... | |
virtual | ~lduMesh () |
Destructor. More... | |
template<class T , class BinaryOp > | |
void | reduce (T &Value, const BinaryOp &bop) const |
Helper: reduce with current communicator. More... | |
InfoProxy< lduMesh > | info () const |
Return info proxy. More... | |
Public Member Functions inherited from surfaceInterpolation | |
ClassName ("surfaceInterpolation") | |
surfaceInterpolation (const fvMesh &) | |
Construct given an fvMesh. More... | |
~surfaceInterpolation () | |
Destructor. More... | |
const surfaceScalarField & | weights () const |
Return reference to linear difference weighting factors. More... | |
const surfaceScalarField & | deltaCoeffs () const |
Return reference to cell-centre difference coefficients. More... | |
const surfaceScalarField & | nonOrthDeltaCoeffs () const |
Return reference to non-orthogonal cell-centre difference. More... | |
const surfaceVectorField & | nonOrthCorrectionVectors () const |
Return reference to non-orthogonality correction vectors. More... | |
bool | movePoints () |
Do what is necessary if the mesh has moved. More... | |
Public Member Functions inherited from fvSchemes | |
ClassName ("fvSchemes") | |
Type information. More... | |
fvSchemes (const objectRegistry &obr) | |
Construct for objectRegistry. More... | |
fvSchemes (const fvSchemes &)=delete | |
Disallow default bitwise copy construction. More... | |
const dictionary & | schemesDict () const |
ITstream & | ddtScheme (const word &name) const |
ITstream & | d2dt2Scheme (const word &name) const |
ITstream & | interpolationScheme (const word &name) const |
ITstream & | divScheme (const word &name) const |
ITstream & | gradScheme (const word &name) const |
ITstream & | snGradScheme (const word &name) const |
ITstream & | laplacianScheme (const word &name) const |
void | setFluxRequired (const word &name) const |
bool | fluxRequired (const word &name) const |
bool | steady () const |
Return true if the default ddtScheme is steadyState. More... | |
bool | transient () const |
Return true if the default ddtScheme is not steadyState. More... | |
bool | read () |
Read the fvSchemes. More... | |
void | operator= (const fvSchemes &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from IOdictionary | |
TypeName ("dictionary") | |
IOdictionary (const IOobject &) | |
Construct given an IOobject. More... | |
IOdictionary (const IOobject &, const dictionary &) | |
Construct given an IOobject and dictionary. More... | |
IOdictionary (const IOobject &, Istream &) | |
Construct given an IOobject and Istream. More... | |
IOdictionary (const IOdictionary &) | |
Copy constructor. More... | |
IOdictionary (IOdictionary &&) | |
Move constructor. More... | |
virtual | ~IOdictionary () |
Destructor. More... | |
virtual bool | global () const |
Is object global. More... | |
virtual fileName | filePath () const |
Return complete path + object name if the file exists. More... | |
virtual bool | readData (Istream &) |
ReadData function required for regIOobject read operation. More... | |
virtual bool | writeData (Ostream &) const |
WriteData function required for regIOobject write operation. More... | |
void | operator= (const IOdictionary &) |
Assignment of dictionary entries only. More... | |
void | operator= (IOdictionary &&) |
Move assignment of dictionary entries only. More... | |
Public Member Functions inherited from dictionary | |
ClassName ("dictionary") | |
dictionary () | |
Construct top-level dictionary null. More... | |
dictionary (const fileName &name) | |
Construct top-level empty dictionary with given name. More... | |
dictionary (const fileName &name, const dictionary &parentDict, Istream &) | |
Construct given the entry name, parent dictionary and Istream,. More... | |
dictionary (Istream &, const bool keepHeader=false) | |
Construct top-level dictionary from Istream,. More... | |
dictionary (const dictionary &parentDict, const dictionary &) | |
Construct as copy given the parent dictionary. More... | |
dictionary (const dictionary &) | |
Construct top-level dictionary as copy. More... | |
dictionary (const dictionary *) | |
Construct top-level dictionary as copy from pointer to dictionary. More... | |
dictionary (const dictionary &parentDict, dictionary &&) | |
Move constructor transferring parameter contents. More... | |
dictionary (dictionary &&) | |
Move constructor. More... | |
autoPtr< dictionary > | clone () const |
Construct and return clone. More... | |
virtual | ~dictionary () |
Destructor. More... | |
const dictionary & | parent () const |
Return the parent dictionary. More... | |
bool | isNull () const |
Return whether this dictionary is null. More... | |
const dictionary & | topDict () const |
Return the top of the tree. More... | |
label | startLineNumber () const |
Return line number of first token in dictionary. More... | |
label | endLineNumber () const |
Return line number of last token in dictionary. More... | |
SHA1Digest | digest () const |
Return the SHA1 digest of the dictionary contents. More... | |
tokenList | tokens () const |
Return the dictionary as a list of tokens. More... | |
bool | found (const word &, bool recursive=false, bool patternMatch=true) const |
Search dictionary for given keyword. More... | |
const entry * | lookupEntryPtr (const word &, bool recursive, bool patternMatch) const |
Find and return an entry data stream pointer if present. More... | |
entry * | lookupEntryPtr (const word &, bool recursive, bool patternMatch) |
Find and return an entry data stream pointer for manipulation. More... | |
const entry * | lookupEntryPtrBackwardsCompatible (const wordList &, bool recursive, bool patternMatch) const |
Find and return an entry data stream if present, trying a list. More... | |
const entry & | lookupEntry (const word &, bool recursive, bool patternMatch) const |
Find and return an entry data stream if present otherwise error. More... | |
const entry & | lookupEntryBackwardsCompatible (const wordList &, bool recursive, bool patternMatch) const |
Find and return an entry data stream if present, trying a list. More... | |
ITstream & | lookup (const word &, bool recursive=false, bool patternMatch=true) const |
Find and return an entry data stream. More... | |
ITstream & | lookupBackwardsCompatible (const wordList &, bool recursive=false, bool patternMatch=true) const |
Find and return an entry data stream, trying a list of keywords. More... | |
template<class T > | |
T | lookup (const word &, bool recursive=false, bool patternMatch=true) const |
Find and return a T,. More... | |
template<class T > | |
T | lookupBackwardsCompatible (const wordList &, bool recursive=false, bool patternMatch=true) const |
Find and return a T, trying a list of keywords in sequence. More... | |
template<class T > | |
T | lookupOrDefault (const word &, const T &, bool recursive=false, bool patternMatch=true) const |
Find and return a T,. More... | |
template<class T > | |
T | lookupOrDefaultBackwardsCompatible (const wordList &, const T &, bool recursive=false, bool patternMatch=true) const |
Find and return a T, trying a list of keywords in sequence. More... | |
template<class T > | |
T | lookupOrAddDefault (const word &, const T &, bool recursive=false, bool patternMatch=true) |
Find and return a T, if not found return the given. More... | |
template<class T > | |
bool | readIfPresent (const word &, T &, bool recursive=false, bool patternMatch=true) const |
Find an entry if present, and assign to T. More... | |
const entry * | lookupScopedEntryPtr (const word &, bool recursive, bool patternMatch) const |
Find and return an entry data stream pointer if present. More... | |
bool | isDict (const word &) const |
Check if entry is a sub-dictionary. More... | |
const dictionary * | subDictPtr (const word &) const |
Find and return a sub-dictionary pointer if present. More... | |
dictionary * | subDictPtr (const word &) |
Find and return a sub-dictionary pointer if present. More... | |
const dictionary & | subDict (const word &) const |
Find and return a sub-dictionary. More... | |
dictionary & | subDict (const word &) |
Find and return a sub-dictionary for manipulation. More... | |
dictionary | subOrEmptyDict (const word &, const bool mustRead=false) const |
Find and return a sub-dictionary as a copy, or. More... | |
const dictionary & | optionalSubDict (const word &) const |
Find and return a sub-dictionary if found. More... | |
const dictionary & | scopedDict (const word &) const |
Find and return a sub-dictionary by scoped lookup. More... | |
dictionary & | scopedDict (const word &) |
Find and return a sub-dictionary by scoped lookup. More... | |
wordList | toc () const |
Return the table of contents. More... | |
wordList | sortedToc () const |
Return the sorted table of contents. More... | |
List< keyType > | keys (bool patterns=false) const |
Return the list of available keys or patterns. More... | |
bool | substituteKeyword (const word &keyword) |
Substitute the given keyword prepended by '$' with the. More... | |
bool | substituteScopedKeyword (const word &keyword) |
Substitute the given scoped keyword prepended by '$' with the. More... | |
bool | add (entry *, bool mergeEntry=false) |
Add a new entry. More... | |
void | add (const entry &, bool mergeEntry=false) |
Add an entry. More... | |
void | add (const keyType &, const word &, bool overwrite=false) |
Add a word entry. More... | |
void | add (const keyType &, const string &, bool overwrite=false) |
Add a string entry. More... | |
void | add (const keyType &, const label, bool overwrite=false) |
Add a label entry. More... | |
void | add (const keyType &, const scalar, bool overwrite=false) |
Add a scalar entry. More... | |
void | add (const keyType &, const dictionary &, bool mergeEntry=false) |
Add a dictionary entry. More... | |
template<class T > | |
void | add (const keyType &, const T &, bool overwrite=false) |
Add a T entry. More... | |
void | set (entry *) |
Assign a new entry, overwrite any existing entry. More... | |
void | set (const entry &) |
Assign a new entry, overwrite any existing entry. More... | |
void | set (const keyType &, const dictionary &) |
Assign a dictionary entry, overwrite any existing entry. More... | |
template<class T > | |
void | set (const keyType &, const T &) |
Assign a T entry, overwrite any existing entry. More... | |
bool | remove (const word &) |
Remove an entry specified by keyword. More... | |
bool | changeKeyword (const keyType &oldKeyword, const keyType &newKeyword, bool forceOverwrite=false) |
Change the keyword for an entry,. More... | |
bool | merge (const dictionary &) |
Merge entries from the given dictionary. More... | |
void | clear () |
Clear the dictionary. More... | |
void | transfer (dictionary &) |
Transfer the contents of the argument and annul the argument. More... | |
bool | read (Istream &, const bool keepHeader=false) |
Read dictionary from Istream, optionally keeping the header. More... | |
void | write (Ostream &, const bool subDict=true) const |
Write dictionary, normally with sub-dictionary formatting. More... | |
ITstream & | operator[] (const word &) const |
Find and return entry. More... | |
void | operator= (const dictionary &) |
void | operator= (dictionary &&) |
void | operator+= (const dictionary &) |
Include entries from the given dictionary. More... | |
void | operator|= (const dictionary &) |
Conditionally include entries from the given dictionary. More... | |
void | operator<<= (const dictionary &) |
Unconditionally include entries from the given dictionary. More... | |
Public Member Functions inherited from dictionaryName | |
dictionaryName () | |
Construct dictionaryName null. More... | |
dictionaryName (const fileName &name) | |
Construct dictionaryName as copy of the given fileName. More... | |
dictionaryName (dictionaryName &&name) | |
Move constructor. More... | |
const fileName & | name () const |
Return the dictionary name. More... | |
fileName & | name () |
Return the dictionary name. More... | |
const word | dictName () const |
Return the local dictionary name (final part of scoped name) More... | |
void | operator= (const dictionaryName &name) |
void | operator= (dictionaryName &&name) |
Public Member Functions inherited from ILList< LListBase, T > | |
ILList () | |
Null construct. More... | |
ILList (T *a) | |
Construct given initial T. More... | |
ILList (Istream &) | |
Construct from Istream. More... | |
ILList (const ILList< LListBase, T > &) | |
Copy constructor. More... | |
ILList (ILList< LListBase, T > &&) | |
Move constructor. More... | |
template<class CloneArg > | |
ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg) | |
Copy constructor with additional argument for clone. More... | |
template<class INew > | |
ILList (Istream &, const INew &) | |
Construct from Istream using given Istream constructor class. More... | |
~ILList () | |
Destructor. More... | |
bool | eraseHead () |
Remove the head element specified from the list and delete it. More... | |
bool | erase (T *p) |
Remove the specified element from the list and delete it. More... | |
void | clear () |
Clear the contents of the list. More... | |
void | transfer (ILList< LListBase, T > &) |
Transfer the contents of the argument into this List. More... | |
void | operator= (const ILList< LListBase, T > &) |
Assignment operator. More... | |
void | operator= (ILList< LListBase, T > &&) |
Move assignment operator. More... | |
Public Member Functions inherited from UILList< LListBase, T > | |
UILList () | |
Null construct. More... | |
UILList (T *a) | |
Construct given initial T. More... | |
UILList (const UILList< LListBase, T > &) | |
Copy constructor. More... | |
UILList (UILList< LListBase, T > &&) | |
Move constructor. More... | |
T * | first () |
Return the first entry. More... | |
const T * | first () const |
Return the first entry. More... | |
T * | last () |
Return the last entry. More... | |
const T * | last () const |
Return the last entry. More... | |
T * | removeHead () |
Remove and return head. More... | |
T * | remove (T *p) |
Remove and return element. More... | |
T * | remove (iterator &it) |
Remove and return specified by iterator. More... | |
void | operator= (const UILList< LListBase, T > &) |
Assignment operator. More... | |
void | operator= (UILList< LListBase, T > &&) |
Move assignment operator. More... | |
iterator | begin () |
const iterator & | end () |
const_iterator | cbegin () const |
const const_iterator & | cend () const |
const_iterator | begin () const |
const const_iterator & | end () const |
const_reverse_iterator | crbegin () const |
const const_reverse_iterator & | crend () const |
const_reverse_iterator | rbegin () const |
const const_reverse_iterator & | rend () const |
bool | operator== (const UILList< LListBase, T > &) const |
Equality operation on ULists of the same type. More... | |
bool | operator!= (const UILList< LListBase, T > &) const |
The opposite of the equality operation. Takes linear time. More... | |
Public Member Functions inherited from fvSolution | |
fvSolution (const objectRegistry &obr) | |
Construct for objectRegistry. More... | |
fvSolution (const fvSolution &)=delete | |
Disallow default bitwise copy construction. More... | |
void | operator= (const fvSolution &) |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from solution | |
ClassName ("solution") | |
Type information. More... | |
solution (const objectRegistry &obr, const fileName &dictName) | |
Construct for given objectRegistry and dictionary. More... | |
solution (const solution &)=delete | |
Disallow default bitwise copy construction. More... | |
bool | cache (const word &name) const |
Return true if the given field should be cached. More... | |
bool | relaxField (const word &name) const |
Return true if the relaxation factor is given for the field. More... | |
bool | relaxEquation (const word &name) const |
Return true if the relaxation factor is given for the equation. More... | |
scalar | fieldRelaxationFactor (const word &name) const |
Return the relaxation factor for the given field. More... | |
scalar | equationRelaxationFactor (const word &name) const |
Return the relaxation factor for the given eqation. More... | |
const dictionary & | solutionDict () const |
Return the selected sub-dictionary of solvers if the "select". More... | |
const dictionary & | solverDict (const word &name) const |
Return the solver controls dictionary for the given field. More... | |
bool | read () |
Read the solution dictionary. More... | |
void | operator= (const solution &)=delete |
Public Member Functions inherited from data | |
ClassName ("data") | |
Type information. More... | |
data (const objectRegistry &obr) | |
Construct for objectRegistry. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from polyMesh | |
static IOobject | points0IO (const polyMesh &mesh) |
Return IO object for points0. More... | |
Static Public Member Functions inherited from regIOobject | |
template<class Type > | |
static Type & | store (Type *) |
Transfer ownership of the given object pointer to its registry. More... | |
template<class Type > | |
static Type & | store (autoPtr< Type > &) |
Transfer ownership of the given object pointer to its registry. More... | |
Static Public Member Functions inherited from IOobject | |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
Split path into instance, local, name components. More... | |
template<class Name > | |
static word | groupName (Name name, const word &group) |
static word | group (const word &name) |
Return group (extension part of name) More... | |
static word | member (const word &name) |
Return member (name without the extension) More... | |
template<class Name > | |
static word | modelName (Name name, const word &model) |
Return the name of the object within the given model. More... | |
template<class Stream > | |
static Stream & | writeBanner (Stream &os, bool noHint=false) |
Write the standard OpenFOAM file/dictionary banner. More... | |
template<class Stream > | |
static Stream & | writeDivider (Stream &os) |
Write the standard file section divider. More... | |
template<class Stream > | |
static Stream & | writeEndDivider (Stream &os) |
Write the standard end file divider. More... | |
Static Public Member Functions inherited from HashTableCore | |
static label | canonicalSize (const label) |
Return a canonical (power-of-two) size. More... | |
static iteratorEnd | cend () |
iteratorEnd set to beyond the end of any HashTable More... | |
static iteratorEnd | end () |
iteratorEnd set to beyond the end of any HashTable More... | |
Static Public Member Functions inherited from primitiveMesh | |
static void | calcCells (cellList &, const labelUList &own, const labelUList &nei, const label nCells=-1) |
Helper function to calculate cell-face addressing from. More... | |
static bool | calcPointOrder (label &nInternalPoints, labelList &pointMap, const faceList &, const label nInternalFaces, const label nPoints) |
Helper function to calculate point ordering. Returns true. More... | |
static scalar | setClosedThreshold (const scalar) |
Set the closedness ratio warning threshold. More... | |
static scalar | setAspectThreshold (const scalar) |
Set the aspect ratio warning threshold. More... | |
static scalar | setNonOrthThreshold (const scalar) |
Set the non-orthogonality warning threshold in degrees. More... | |
static scalar | setSkewThreshold (const scalar) |
Set the skewness warning threshold as percentage. More... | |
Static Public Member Functions inherited from dictionary | |
static autoPtr< dictionary > | New (Istream &) |
Construct top-level dictionary on freestore from Istream. More... | |
Static Public Member Functions inherited from solution | |
static label | upgradeSolverDict (dictionary &dict, const bool verbose=true) |
Update from older solver controls syntax. More... | |
template<class FieldType > | |
static void | cachePrintMessage (const char *message, const word &name, const FieldType &vf) |
Helper for printing cache message. More... | |
Static Public Attributes inherited from polyMesh | |
static word | defaultRegion = "region0" |
Return the default region name. More... | |
static word | meshSubDir = "polyMesh" |
Return the mesh sub-directory name (usually "polyMesh") More... | |
Static Public Attributes inherited from regIOobject | |
static float | fileModificationSkew |
Static Public Attributes inherited from IOobject | |
static constexpr const char * | foamFile = "FoamFile" |
Keyword for the FoamFile header sub-dictionary. More... | |
static const NamedEnum< fileCheckTypes, 4 > | fileCheckTypesNames |
static fileCheckTypes | fileModificationChecking |
Type of file modification checking. More... | |
Static Public Attributes inherited from HashTableCore | |
static const label | maxTableSize |
Maximum allowable table size. More... | |
Static Public Attributes inherited from primitiveMesh | |
static const unsigned | cellsPerEdge_ = 4 |
Estimated number of cells per edge. More... | |
static const unsigned | cellsPerPoint_ = 8 |
Estimated number of cells per point. More... | |
static const unsigned | facesPerCell_ = 6 |
Estimated number of faces per cell. More... | |
static const unsigned | facesPerEdge_ = 4 |
Estimated number of faces per edge. More... | |
static const unsigned | facesPerPoint_ = 12 |
Estimated number of faces per point. More... | |
static const unsigned | edgesPerCell_ = 12 |
Estimated number of edges per cell. More... | |
static const unsigned | edgesPerFace_ = 4 |
Estimated number of edges per cell. More... | |
static const unsigned | edgesPerPoint_ = 6 |
Estimated number of edges per point. More... | |
static const unsigned | pointsPerCell_ = 8 |
Estimated number of points per cell. More... | |
static const unsigned | pointsPerFace_ = 4 |
Estimated number of points per face. More... | |
Static Public Attributes inherited from IOdictionary | |
static bool | writeDictionaries |
Static Public Attributes inherited from dictionary | |
static const dictionary | null |
Null dictionary. More... | |
static bool | writeOptionalEntries |
If true write optional keywords and values. More... | |
Protected Member Functions inherited from regIOobject | |
bool | readHeaderOk (const IOstream::streamFormat defaultFormat, const word &typeName) |
Read header, check readOpt flags and read data if necessary. More... | |
Protected Member Functions inherited from IOobject | |
void | setBad (const string &) |
Set the object state to bad. More... | |
Protected Member Functions inherited from primitiveMesh | |
void | calcFaceCentresAndAreas () const |
Calculate face centres and areas. More... | |
void | makeFaceCentresAndAreas (const pointField &p, vectorField &fCtrs, vectorField &fAreas, scalarField &magfAreas) const |
void | calcCellCentresAndVols () const |
Calculate cell centres and volumes. More... | |
void | makeCellCentresAndVols (const vectorField &fCtrs, const vectorField &fAreas, vectorField &cellCtrs, scalarField &cellVols) const |
void | calcEdgeVectors () const |
Calculate edge vectors. More... | |
bool | checkDuplicateFaces (const label, const Map< label > &, label &nBaffleFaces, labelHashSet *) const |
Check if all points on face are shared with another face. More... | |
bool | checkCommonOrder (const label, const Map< label > &, labelHashSet *) const |
Check that shared points are in consecutive order. More... | |
bool | checkClosedBoundary (const vectorField &, const bool, const PackedBoolList &) const |
Check boundary for closedness. More... | |
bool | checkClosedCells (const vectorField &faceAreas, const scalarField &cellVolumes, const bool report, labelHashSet *setPtr, labelHashSet *aspectSetPtr, const Vector< label > &meshD) const |
Check cells for closedness. More... | |
bool | checkFaceAreas (const vectorField &faceAreas, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
Check for negative face areas. More... | |
bool | checkCellVolumes (const scalarField &vols, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
Check for negative cell volumes. More... | |
bool | checkFaceOrthogonality (const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
Check for non-orthogonality. More... | |
bool | checkFacePyramids (const pointField &points, const vectorField &ctrs, const bool report, const bool detailedReport, const scalar minPyrVol, labelHashSet *setPtr) const |
Check face pyramid volume. More... | |
bool | checkFaceSkewness (const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
Check face skewness. More... | |
bool | checkFaceAngles (const pointField &points, const vectorField &faceAreas, const bool report, const scalar maxDeg, labelHashSet *setPtr) const |
Check face angles. More... | |
bool | checkFaceFlatness (const pointField &points, const vectorField &faceCentres, const vectorField &faceAreas, const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
Check face warpage. More... | |
bool | checkConcaveCells (const vectorField &fAreas, const pointField &fCentres, const bool report, labelHashSet *setPtr) const |
Check for concave cells by the planes of faces. More... | |
primitiveMesh () | |
Construct null. More... | |
Protected Member Functions inherited from surfaceInterpolation | |
void | clearOut () |
Clear all geometry and addressing. More... | |
Protected Member Functions inherited from IOdictionary | |
IOdictionary (const IOobject &io, const word &wantedType) | |
Construct given an IOobject, supply wanted typeName. More... | |
Static Protected Attributes inherited from primitiveMesh | |
static scalar | closedThreshold_ = 1.0e-6 |
Static data to control mesh checking. More... | |
static scalar | aspectThreshold_ = 1000 |
Aspect ratio warning threshold. More... | |
static scalar | nonOrthThreshold_ = 70 |
Non-orthogonality warning threshold in deg. More... | |
static scalar | skewThreshold_ = 4 |
Skewness warning threshold. More... | |
static scalar | planarCosAngle_ = 1.0e-6 |
Threshold where faces are considered coplanar. More... | |
Mesh data needed to do the Finite Volume discretisation.
NOTE ON USAGE: fvMesh contains all the topological and geometric information related to the mesh. It is also responsible for keeping the data up-to-date. This is done by deleting the cell volume, face area, cell/face centre, addressing and other derived information as required and recalculating it as necessary. The fvMesh therefore reserves the right to delete the derived information upon every topological (mesh refinement/morphing) or geometric change (mesh motion). It is therefore unsafe to keep local references to the derived data outside of the time loop.
typedef fvBoundaryMesh BoundaryMesh |
Construct from IOobject.
Definition at line 256 of file fvMesh.C.
References Foam::endl(), Foam::fileHandler(), FUNCTION_NAME, IOobject::IOobject(), Foam::isFile(), IOobject::MUST_READ, IOobject::NO_WRITE, Foam::Pout, fvMesh::time(), timeName, and fvMesh::V00().
Referenced by fvMesh::fvMesh().
fvMesh | ( | const IOobject & | io, |
pointField && | points, | ||
const cellShapeList & | shapes, | ||
const faceListList & | boundaryFaces, | ||
const wordList & | boundaryPatchNames, | ||
const PtrList< dictionary > & | boundaryDicts, | ||
const word & | defaultBoundaryPatchName, | ||
const word & | defaultBoundaryPatchType, | ||
const bool | syncPar = true |
||
) |
Construct from cellShapes with boundary.
Definition at line 322 of file fvMesh.C.
References Foam::endl(), FUNCTION_NAME, fvMesh::fvMesh(), and Foam::Pout.
fvMesh | ( | const IOobject & | io, |
pointField && | points, | ||
faceList && | faces, | ||
labelList && | allOwner, | ||
labelList && | allNeighbour, | ||
const bool | syncPar = true |
||
) |
Construct from components without boundary.
Boundary is added using addFvPatches() member function
Definition at line 370 of file fvMesh.C.
References Foam::endl(), FUNCTION_NAME, fvMesh::fvMesh(), and Foam::Pout.
fvMesh | ( | const IOobject & | io, |
pointField && | points, | ||
faceList && | faces, | ||
cellList && | cells, | ||
const bool | syncPar = true |
||
) |
Construct without boundary from cells rather than owner/neighbour.
Boundary is added using addPatches() member function
Definition at line 412 of file fvMesh.C.
References Foam::endl(), FUNCTION_NAME, and Foam::Pout.
|
virtual |
Destructor.
Definition at line 446 of file fvMesh.C.
References fvMesh::addFvPatches(), and fvMesh::clearOut().
ClassName | ( | "fvMesh" | ) |
Add boundary patches. Constructor helper.
Definition at line 455 of file fvMesh.C.
References Foam::abort(), polyMesh::addPatches(), fvMesh::boundary(), polyMesh::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, and HashTable< regIOobject *>::size().
Referenced by extrudePatchMesh::extrudePatchMesh(), polyTopoChange::makeMesh(), fvMeshDistribute::printCoupleInfo(), and fvMesh::~fvMesh().
|
virtual |
Update the mesh based on the mesh files saved in time.
directories
Reimplemented from polyMesh.
Definition at line 489 of file fvMesh.C.
References polyMesh::boundaryMesh(), fvMesh::clearOut(), Foam::endl(), FUNCTION_NAME, Foam::Info, polyMesh::POINTS_MOVED, Foam::Pout, fvBoundaryMesh::readUpdate(), polyMesh::readUpdate(), polyMesh::TOPO_CHANGE, and polyMesh::TOPO_PATCH_CHANGE.
|
inline |
Return the top-level database.
Definition at line 239 of file fvMesh.H.
References objectRegistry::time().
Referenced by snappyLayerDriver::addLayers(), fieldToCell::applyToSet(), basicCombustionMixture::basicCombustionMixture(), basicSpecieMixture::basicSpecieMixture(), CoBlended< Type >::blendingFactor(), cellCoBlended< Type >::blendingFactor(), curvatureSeparation::calcCosAngle(), curvatureSeparation::calcInvR1(), snappySnapDriver::calcNearestSurface(), interpolationCellPointWallModified< Type >::calcPointField(), cloudSolution::canEvolve(), probes::classifyFields(), polyMeshFilter::copyMesh(), Foam::MULES::correct(), contactAngleForce::correct(), waxSolventEvaporation::correctModel(), solidification::correctModel(), epsilonWallFunctionFvPatchScalarField::createAveragingWeights(), omegaWallFunctionFvPatchScalarField::createAveragingWeights(), meshRefinement::createZoneBaffles(), displacementLinearMotionMotionSolver::curPoints(), CrankNicolsonDdtScheme< Type >::ddt0_(), snappySnapDriver::detectNearSurfaces(), fvMeshDistribute::distribute(), snappySnapDriver::doSnap(), Foam::MULES::explicitSolve(), extrudePatchMesh::extrudePatchMesh(), waveVelocityFvPatchVectorField::faceCellSubset(), fvMesh::fvMesh(), greyMean::greyMean(), Foam::hydrostaticInitialisation(), fvMeshSubset::interpolate(), interRegionExplicitPorositySource::interRegionExplicitPorositySource(), Foam::MULES::limit(), Foam::MULES::limitCorr(), LimitedScheme< Type, Limiter, LimitFunc >::limiter(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), localEulerDdt::localRDeltaT(), basicThermo::lookupOrConstruct(), Foam::MapConsistentMesh(), Foam::MapConsistentVolFields(), Foam::MapLagrangianFields(), meshToMesh::mapSrcToTgt(), Foam::MapSubMesh(), meshToMesh::mapTgtToSrc(), Foam::MapVolFields(), LocalInteraction< CloudType >::massEscape(), LocalInteraction< CloudType >::massStick(), meanVelocityForce::meanVelocityForce(), solidParticle::move(), fvMesh::movePoints(), movingConeTopoFvMesh::movingConeTopoFvMesh(), regionCoupledBaseFvPatch::nbrFvMesh(), interRegionModel::nbrMesh(), regionCoupledBaseFvPatch::nbrMesh(), isoSurface::needsUpdate(), thresholdCellFaces::needsUpdate(), surfaceFilmModel::New(), thermalBaffleModel::New(), basicThermo::New(), listPlusEqOp< T >::operator()(), cloudSolution::output(), fvMesh::phi(), VoidFraction< CloudType >::postEvolve(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), VoidFraction< CloudType >::preEvolve(), ParticleErosion< CloudType >::preEvolve(), snappySnapDriver::preSmoothPatch(), fvConstraints::read(), fvModels::read(), snappySnapDriver::repatchToSurface(), fvDOM::Ru(), snappySnapDriver::scaleMesh(), singleStepCombustion::singleStepCombustion(), snappySnapDriver::smoothDisplacement(), snappyRefineDriver::snappyRefineDriver(), sixDoFRigidBodyMotionSolver::solve(), cloudSolution::solveThisStep(), MPLIC::surfaceAlpha(), thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField(), timeVaryingMappedFvPatchField< Type >::time(), linearValveLayersFvMesh::update(), dynamicInkJetFvMesh::update(), linearValveFvMesh::update(), movingConeTopoFvMesh::update(), dynamicRefineFvMesh::update(), movingWallVelocityFvPatchVectorField::updateCoeffs(), points0MotionSolver::updateMesh(), fvMesh::V(), fvMesh::V00(), fvMesh::Vsc(), fvMesh::Vsc0(), wideBand::wideBand(), PatchPostProcessing< CloudType >::write(), FacePostProcessing< CloudType >::write(), ParticleCollector< CloudType >::write(), dynamicRefineFvMesh::writeObject(), and meshRefinement::zonify().
|
inlinevirtual |
Return the object registry - resolve conflict polyMesh/lduMesh.
Reimplemented from lduMesh.
Definition at line 245 of file fvMesh.H.
References fvMesh::boundary(), fvBoundaryMesh::interfaces(), fvMesh::interfaces(), fvMesh::lduAddr(), fvMesh::name(), IOobject::name(), and polyMesh::thisDb().
Referenced by fvMesh::addPatch(), extrudePatchMesh::extrudePatchMesh(), and fvMesh::reorderPatches().
|
inline |
Return reference to name.
Note: name() is currently ambiguous due to derivation from surfaceInterpolation
Definition at line 253 of file fvMesh.H.
Referenced by snappyLayerDriver::addLayers(), polyMeshFilter::copyMesh(), engineMesh::engineMesh(), interRegionModel::nbrModel(), thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField(), fvMesh::thisDb(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), thermalBaffleFvPatchScalarField::updateCoeffs(), and thermalBaffleFvPatchScalarField::write().
const Foam::fvBoundaryMesh & boundary | ( | ) | const |
Return reference to boundary mesh.
Definition at line 540 of file fvMesh.C.
Referenced by fvMeshAdder::add(), fvMesh::addFvPatches(), waveAlphaFvPatchScalarField::alphan(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), nearWallDistNoSearch::correct(), nearWallDist::correct(), pointLinear< Type >::correction(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), outletStabilised< Type >::correction(), fvMesh::delta(), engineMesh::engineMesh(), volPointInterpolation::flatBoundaryField(), fvBoundaryMeshMapper::fvBoundaryMeshMapper(), fvFieldDecomposer::fvFieldDecomposer(), fvFieldReconstructor::fvFieldReconstructor(), fvMeshLduAddressing::fvMeshLduAddressing(), thermalBaffle::info(), fvMeshSubset::interpolate(), heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), heSolidThermo< BasicSolidThermo, MixtureType >::KappaLocal(), Foam::levelSetFraction(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), Foam::MapConsistentSubMesh(), meshToMesh::mapSrcToTgt(), meshToMesh::mapTgtToSrc(), fvMeshAdder::MapVolFields(), fvMotionSolverEngineMesh::move(), surfaceInterpolation::movePoints(), fvMesh::movePoints(), regionCoupledBaseFvPatch::nbrPatch(), regionCoupledBaseFvPatch::neighbFvPatch(), patchDistMethod::patchTypes(), wavePressureFvPatchScalarField::pn(), fvMeshDistribute::printMeshInfo(), Foam::fvc::reconstructMag(), MPLIC::surfaceAlpha(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), fvMesh::thisDb(), waveVelocityFvPatchVectorField::Un(), reverseLinear< Type >::weights(), clippedLinear< Type >::weights(), and outletStabilised< Type >::weights().
|
virtual |
Return ldu addressing.
Implements lduMesh.
Definition at line 546 of file fvMesh.C.
Referenced by fvMesh::neighbour(), fvMesh::owner(), and fvMesh::thisDb().
|
inlinevirtual |
Return a list of pointers for each patch.
with only those pointing to interfaces being set
Implements lduMesh.
Definition at line 266 of file fvMesh.H.
Referenced by fvMesh::thisDb().
|
inlinevirtual |
Return communicator used for parallel communication.
Implements lduMesh.
Definition at line 272 of file fvMesh.H.
References polyMesh::comm().
|
inline |
Internal face owner.
Definition at line 278 of file fvMesh.H.
References fvMesh::lduAddr(), and lduAddressing::lowerAddr().
Referenced by curvatureSeparation::calcCosAngle(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), contactAngleForce::correct(), pointLinear< Type >::correction(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), fvMesh::delta(), faceCorrectedSnGrad< Type >::fullGradCorrection(), localMin< Type >::interpolate(), localMax< Type >::interpolate(), surfaceInterpolationScheme< GType >::interpolate(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), surfaceInterpolation::movePoints(), Foam::fvc::reconstructMag(), fvMatrix< Type >::setValuesFromList(), Foam::fvc::smooth(), snGradScheme< Type >::snGrad(), Foam::fvc::spread(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), Foam::fvc::sweep(), leastSquaresVectors::~leastSquaresVectors(), and skewCorrectionVectors::~skewCorrectionVectors().
|
inline |
Internal face neighbour.
Definition at line 284 of file fvMesh.H.
References fvMesh::addPatch(), fvMesh::C(), fvMesh::Cf(), fvMesh::clearOut(), fvMesh::delta(), fvMesh::lduAddr(), fvMesh::magSf(), fvMesh::mapFields(), surfaceInterpolation::movePoints(), fvMesh::operator!=(), fvMesh::operator=(), fvMesh::operator==(), fvMesh::phi(), fvMesh::removeFvBoundary(), fvMesh::reorderPatches(), fvMesh::setPhi(), fvMesh::setV0(), fvMesh::Sf(), fvMesh::updateMesh(), lduAddressing::upperAddr(), fvMesh::V(), fvMesh::V0(), fvMesh::V00(), fvMesh::validComponents(), fvMesh::Vsc(), fvMesh::Vsc0(), fvMesh::write(), and fvMesh::writeObject().
Referenced by curvatureSeparation::calcCosAngle(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), contactAngleForce::correct(), pointLinear< Type >::correction(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), fvMesh::delta(), faceCorrectedSnGrad< Type >::fullGradCorrection(), localMin< Type >::interpolate(), localMax< Type >::interpolate(), surfaceInterpolationScheme< GType >::interpolate(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), surfaceInterpolation::movePoints(), Foam::fvc::reconstructMag(), fvMatrix< Type >::setValuesFromList(), Foam::fvc::smooth(), snGradScheme< Type >::snGrad(), Foam::fvc::spread(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), Foam::fvc::sweep(), leastSquaresVectors::~leastSquaresVectors(), and skewCorrectionVectors::~skewCorrectionVectors().
const Foam::volScalarField::Internal & V | ( | ) | const |
Return cell volumes.
Definition at line 185 of file fvMeshGeometry.C.
References primitiveMesh::cellVolumes(), Foam::dimVolume, Foam::endl(), InfoInFunction, IOobject::NO_READ, IOobject::NO_WRITE, fvMesh::time(), and timeName.
Referenced by anisotropicFilter::anisotropicFilter(), cellCoBlended< Type >::blendingFactor(), nearWallDist::correct(), contactAngleForce::correct(), waxSolventEvaporation::correctModel(), CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), gaussLaplacianScheme< Type, GType >::fvmLaplacian(), laplaceFilter::laplaceFilter(), fvMesh::movePoints(), fvMesh::neighbour(), inverseVolumeDiffusivity::operator()(), VoidFraction< CloudType >::postEvolve(), Foam::fvc::reconstructMag(), patchInjectionBase::setPositionAndCell(), thermoSingleLayer::Sh(), kinematicSingleLayer::Srho(), kinematicSingleLayer::SU(), thermoSingleLayer::SYi(), CellZoneInjection< CloudType >::updateMesh(), fvMesh::updateMesh(), fvMesh::Vsc(), and fvMesh::Vsc0().
const Foam::volScalarField::Internal & V0 | ( | ) | const |
Return old-time cell volumes.
Definition at line 216 of file fvMeshGeometry.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), fvMesh::neighbour(), fvMesh::V00(), fvMesh::Vsc(), and fvMesh::Vsc0().
const Foam::volScalarField::Internal & V00 | ( | ) | const |
Return old-old-time cell volumes.
Definition at line 242 of file fvMeshGeometry.C.
References Foam::endl(), InfoInFunction, IOobject::IOobject(), IOobject::NO_READ, IOobject::NO_WRITE, fvMesh::time(), timeName, and fvMesh::V0().
Referenced by backwardDdtScheme< Type >::backwardDdtScheme(), CrankNicolsonDdtScheme< Type >::CrankNicolsonDdtScheme(), CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), fvMesh::fvMesh(), fvMesh::mapFields(), and fvMesh::neighbour().
Foam::tmp< Foam::volScalarField::Internal > Vsc | ( | ) | const |
Return sub-cycle cell volumes.
Definition at line 271 of file fvMeshGeometry.C.
References TimeState::deltaTValue(), polyMesh::moving(), Time::prevTimeState(), fvMesh::time(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
Referenced by Foam::MULES::explicitSolve(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), fvMesh::neighbour(), and Foam::fvc::surfaceIntegrate().
Foam::tmp< Foam::volScalarField::Internal > Vsc0 | ( | ) | const |
Return sub-cycl old-time cell volumes.
Definition at line 300 of file fvMeshGeometry.C.
References TimeState::deltaTValue(), polyMesh::moving(), Time::prevTimeState(), fvMesh::time(), fvMesh::V(), fvMesh::V0(), and dimensioned< Type >::value().
Referenced by Foam::MULES::explicitSolve(), Foam::MULES::limiter(), and fvMesh::neighbour().
const Foam::surfaceVectorField & Sf | ( | ) | const |
Return cell face area vectors.
Definition at line 329 of file fvMeshGeometry.C.
Referenced by anisotropicFilter::anisotropicFilter(), Implicit< CloudType >::cacheFields(), curvatureSeparation::calcCosAngle(), Foam::constrainPressure(), cubic< Type >::correction(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), Foam::correctUphiBCs(), faceAreaPairGAMGAgglomeration::faceAreaPairGAMGAgglomeration(), faceCorrectedSnGrad< Type >::fullGradCorrection(), CrankNicolsonDdtScheme< Type >::fvcDdtPhiCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtUfCorr(), gaussLaplacianScheme< Type, GType >::fvcLaplacian(), gaussLaplacianScheme< Type, GType >::fvmLaplacian(), SurfaceFilmModel< Foam::MomentumCloud< CloudType > >::inject(), PhiScheme< Type, PhiLimiter >::limiter(), surfaceInterpolation::movePoints(), fvMesh::neighbour(), Foam::fvc::reconstruct(), Foam::fvc::reconstructMag(), fvPatch::Sf(), and skewCorrectionVectors::~skewCorrectionVectors().
const Foam::surfaceScalarField & magSf | ( | ) | const |
Return cell face area magnitudes.
Definition at line 340 of file fvMeshGeometry.C.
Referenced by Foam::fvc::average(), CoBlended< Type >::blendingFactor(), curvatureSeparation::calcCosAngle(), viewFactor::calculate(), Foam::constrainPressure(), cubic< Type >::correction(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), faceAreaPairGAMGAgglomeration::faceAreaPairGAMGAgglomeration(), faceCorrectedSnGrad< Type >::fullGradCorrection(), gaussLaplacianScheme< Type, GType >::fvcLaplacian(), gaussLaplacianScheme< Type, GType >::fvmLaplacian(), Foam::hydrostaticInitialisation(), SurfaceFilmModel< Foam::MomentumCloud< CloudType > >::inject(), PhiScheme< Type, PhiLimiter >::limiter(), fvPatch::magSf(), surfaceInterpolation::movePoints(), fvMesh::neighbour(), heSolidThermo< BasicSolidThermo, MixtureType >::q(), Foam::fvc::reconstruct(), and Foam::fvc::reconstructMag().
const Foam::surfaceScalarField & phi | ( | ) | const |
Return cell face motion fluxes.
Definition at line 412 of file fvMeshGeometry.C.
References Foam::abort(), Foam::dimTime, Foam::dimVolume, Foam::FatalError, FatalErrorInFunction, fvMesh::time(), TimeState::timeIndex(), and GeometricField< Type, PatchField, GeoMesh >::timeIndex().
Referenced by CrankNicolsonDdtScheme< Type >::meshPhi(), layeredEngineMesh::move(), fvMotionSolverEngineMesh::move(), fvMesh::movePoints(), and fvMesh::neighbour().
const Foam::volVectorField & C | ( | ) | const |
Return cell centres as volVectorField.
Definition at line 351 of file fvMeshGeometry.C.
Referenced by volMesh::C(), CentredFitSnGradData< Polynomial >::calcFit(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), CentredFitData< Polynomial >::CentredFitData(), pointLinear< Type >::correction(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), fvMesh::delta(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), faceCorrectedSnGrad< Type >::fullGradCorrection(), SurfaceFilmModel< Foam::MomentumCloud< CloudType > >::inject(), heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), Kmesh::Kmesh(), surfaceInterpolation::movePoints(), fvMesh::neighbour(), Foam::fvc::reconstructMag(), ThermoSurfaceFilm< CloudType >::splashInteraction(), UpwindFitData< Polynomial >::UpwindFitData(), leastSquaresVectors::~leastSquaresVectors(), LeastSquaresVectors< Stencil >::~LeastSquaresVectors(), and skewCorrectionVectors::~skewCorrectionVectors().
const Foam::surfaceVectorField & Cf | ( | ) | const |
Return face centres as surfaceVectorField.
Definition at line 362 of file fvMeshGeometry.C.
Referenced by surfaceMesh::C(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), fvPatch::Cf(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), fvMesh::neighbour(), Foam::fvc::reconstructMag(), ThermoSurfaceFilm< CloudType >::splashInteraction(), and skewCorrectionVectors::~skewCorrectionVectors().
Foam::tmp< Foam::surfaceVectorField > delta | ( | ) | const |
Return face deltas as surfaceVectorField.
Definition at line 373 of file fvMeshGeometry.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), fvMesh::C(), Foam::dimLength, Foam::endl(), forAll, InfoInFunction, fvMesh::neighbour(), GeometricField< vector, fvsPatchField, surfaceMesh >::New(), fvMesh::owner(), patchi, and tmp< T >::ref().
Referenced by fvMesh::neighbour().
pTraits<Type>::labelType validComponents | ( | ) | const |
Return a labelType of valid component indicators.
1 : valid (solved) -1 : invalid (not solved)
Referenced by fvMesh::neighbour(), residuals::writeFileHeader(), and residuals::writeResidual().
void clearOut | ( | ) |
Clear all geometry and addressing.
Definition at line 240 of file fvMesh.C.
References surfaceInterpolation::clearOut(), polyMesh::clearOut(), and Foam::deleteDemandDrivenData().
Referenced by snappyLayerDriver::addLayers(), meshRefinement::createBaffles(), meshRefinement::dupNonManifoldPoints(), extrudePatchMesh::extrudePatchMesh(), meshRefinement::mergeBaffles(), fvMesh::neighbour(), fvMesh::readUpdate(), fvMesh::removeFvBoundary(), meshRefinement::zonify(), and fvMesh::~fvMesh().
|
virtual |
Update mesh corresponding to the given map.
Reimplemented from polyMesh.
Definition at line 795 of file fvMesh.C.
References primitiveMesh::clearAddressing(), surfaceInterpolation::clearOut(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, fvMesh::mapFields(), mapPolyMesh::nOldCells(), mapPolyMesh::oldCellVolumes(), HashTable< regIOobject *>::size(), polyMesh::updateMesh(), and fvMesh::V().
Referenced by snappyLayerDriver::addLayers(), meshRefinement::createBaffles(), meshRefinement::dupNonManifoldPoints(), meshRefinement::mergeBaffles(), fvMesh::neighbour(), linearValveLayersFvMesh::update(), linearValveFvMesh::update(), and meshRefinement::zonify().
|
virtual |
Update mesh corresponding to the given distribution map.
This is a prototype implementation without field mapping or handling of old-time volumes for mesh-morphing
Definition at line 853 of file fvMesh.C.
References fvMesh::addPatch(), primitiveMesh::clearAddressing(), and surfaceInterpolation::clearOut().
|
virtual |
Move points, returns volumes swept by faces in motion.
Reimplemented from polyMesh.
Definition at line 716 of file fvMesh.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), TimeState::deltaTValue(), Foam::dimTime, Foam::dimVolume, forAll, fvBoundaryMesh::movePoints(), surfaceInterpolation::movePoints(), polyMesh::movePoints(), primitiveMesh::nInternalFaces(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::oldTime(), patches, patchi, fvMesh::phi(), GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), tmp< T >::ref(), fvMesh::time(), timeIndex, TimeState::timeIndex(), GeometricField< Type, PatchField, GeoMesh >::timeIndex(), timeName, and fvMesh::V().
Referenced by snappyLayerDriver::addLayers(), meshRefinement::createBaffles(), meshRefinement::dupNonManifoldPoints(), meshRefinement::mergeBaffles(), processorMeshes::reconstructPoints(), and meshRefinement::zonify().
|
virtual |
Map all fields in time using given map.
Definition at line 557 of file fvMesh.C.
References mapPolyMesh::cellMap(), Foam::endl(), Foam::exit(), mapPolyMesh::faceMap(), Foam::FatalError, FatalErrorInFunction, forAll, FUNCTION_NAME, Foam::Info, Foam::mapClouds(), primitiveMesh::nCells(), primitiveMesh::nFaces(), mapPolyMesh::nOldCells(), mapPolyMesh::nOldFaces(), Foam::Pout, mapPolyMesh::reverseCellMap(), List< T >::setSize(), List< T >::size(), and fvMesh::V00().
Referenced by fvMesh::neighbour(), and fvMesh::updateMesh().
|
virtual |
Add/insert single patch. If validBoundary the new situation.
is consistent across processors.
Reimplemented from polyMesh.
Definition at line 913 of file fvMesh.C.
References polyMesh::addPatch(), polyMesh::boundaryMesh(), primitiveMesh::clearAddressing(), surfaceInterpolation::clearOut(), IOobject::db(), Foam::deleteDemandDrivenData(), fvPatch::New(), fvMesh::reorderPatches(), PtrList< T >::set(), PtrList< T >::setSize(), UPtrList< T >::size(), fvMesh::thisDb(), and Foam::Zero.
Referenced by fvMeshTools::addPatch(), fvMesh::neighbour(), and fvMesh::updateMesh().
|
virtual |
Reorder and trim existing patches. If validBoundary the new.
situation is consistent across processors
Reimplemented from polyMesh.
Definition at line 1045 of file fvMesh.C.
References IOobject::db(), polyMesh::reorderPatches(), fvBoundaryMesh::shuffle(), fvMesh::thisDb(), and fvMesh::writeObject().
Referenced by fvMesh::addPatch(), fvMesh::neighbour(), and fvMeshTools::reorderPatches().
void removeFvBoundary | ( | ) |
Remove boundary patches. Warning: fvPatchFields hold ref to.
these fvPatches.
Definition at line 473 of file fvMesh.C.
References PtrList< T >::clear(), fvMesh::clearOut(), Foam::endl(), FUNCTION_NAME, Foam::Pout, polyMesh::removeBoundary(), and PtrList< T >::setSize().
Referenced by extrudePatchMesh::extrudePatchMesh(), and fvMesh::neighbour().
Foam::surfaceScalarField & setPhi | ( | ) |
Return cell face motion fluxes.
Definition at line 432 of file fvMeshGeometry.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by fvMesh::neighbour().
Foam::volScalarField::Internal & setV0 | ( | ) |
Return old-time cell volumes.
Definition at line 229 of file fvMeshGeometry.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by fvMesh::neighbour().
|
virtual |
Write the underlying polyMesh and other data.
Reimplemented from objectRegistry.
Reimplemented in dynamicRefineFvMesh, and dynamicMotionSolverFvMesh.
Definition at line 1070 of file fvMesh.C.
References regIOobject::write(), and objectRegistry::writeObject().
Referenced by fvMesh::neighbour(), fvMesh::reorderPatches(), dynamicMotionSolverFvMesh::writeObject(), and dynamicRefineFvMesh::writeObject().
|
virtual |
Write mesh using IO settings from time.
Reimplemented from regIOobject.
Definition at line 1093 of file fvMesh.C.
References regIOobject::write().
Referenced by snappyLayerDriver::addLayers(), extrudePatchMesh::extrudePatchMesh(), fvMesh::neighbour(), dynamicRefineFvMesh::protectedCell(), processorMeshes::reconstructPoints(), and snappySnapDriver::scaleMesh().
Disallow default bitwise assignment.
Referenced by fvMesh::neighbour().
bool operator!= | ( | const fvMesh & | bm | ) | const |
Definition at line 1109 of file fvMesh.C.
Referenced by fvMesh::neighbour().
Definition at line 1115 of file fvMesh.C.
Referenced by fvMesh::neighbour().
pTraits<sphericalTensor>::labelType validComponents | ( | ) | const |
Foam::pTraits<Type>::labelType validComponents | ( | ) | const |
Definition at line 31 of file fvMeshTemplates.C.
References Foam::pow(), polyMesh::solutionD(), and Foam::type().