A collection of tools for operating on an fvMesh. More...
Static Public Member Functions | |
static label | addPatch (fvMesh &mesh, const polyPatch &patch, const dictionary &patchFieldDict, const word &defaultPatchFieldType, const bool validBoundary) |
static void | setPatchFields (fvMesh &mesh, const label patchi, const dictionary &patchFieldDict) |
static void | zeroPatchFields (fvMesh &mesh, const label patchi) |
static void | reorderPatches (fvMesh &, const labelList &oldToNew, const label nPatches, const bool validBoundary) |
static labelList | removeEmptyPatches (fvMesh &, const bool validBoundary) |
static autoPtr< fvMesh > | newMesh (const IOobject &io, const bool masterOnlyReading) |
static void | createDummyFvMeshFiles (const objectRegistry &parent, const word ®ionName, const bool verbose=false) |
A collection of tools for operating on an fvMesh.
Definition at line 47 of file fvMeshTools.H.
|
static |
Definition at line 30 of file fvMeshTools.C.
References polyBoundaryMesh::findPatchID(), forAll, mesh, Foam::New(), Foam::foamVersion::patch, polyBoundaryMesh::reorder(), PtrList::set(), PtrList::setSize(), polyPatch::start(), and Foam::Zero.
|
static |
Definition at line 212 of file fvMeshTools.C.
References mesh.
|
static |
Definition at line 236 of file fvMeshTools.C.
References mesh, and Foam::Zero.
|
static |
Definition at line 322 of file fvMeshTools.C.
References fvMesh::boundary(), polyMesh::boundaryMesh(), mesh, and polyBoundaryMesh::reorder().
|
static |
Definition at line 354 of file fvMeshTools.C.
References polyMesh::boundaryMesh(), forAll, mesh, Foam::reduce(), and List::setSize().
|
static |
Definition at line 417 of file fvMeshTools.C.
References fvMesh::addFvPatches(), polyMesh::addZones(), DynamicList::append(), fvMesh::boundary(), polyMesh::boundaryMesh(), polyMesh::cellZones(), ZoneMesh::clear(), PtrList::clone(), IOobject::db(), polyMesh::defaultRegion, Foam::constant::electromagnetic::e, polyMesh::faceZones(), IOobject::fileModificationChecking, Time::findInstance(), forAll, IOobject::instance(), Foam::isDir(), UPstream::master(), UPstream::masterNo(), mesh, meshPtr, polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::name(), ZoneMesh::names(), autoPtr::New(), polyPatch::New(), primitiveMesh::nInternalFaces(), IOobject::NO_READ, IOobject::NO_WRITE, UPstream::parRun(), Time::path(), points, polyMesh::pointZones(), IOobject::READ_IF_PRESENT, IOobject::readOpt(), Foam::reduce(), fvMesh::removeFvBoundary(), Pstream::scatter(), UPstream::scheduled, dictionary::set(), UPstream::subProcs(), IOobject::time(), IOobject::timeStamp, and Foam::type().
|
static |
Definition at line 753 of file fvMeshTools.C.
References dictionary::add(), Foam::endl(), Foam::Info, mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, regionName, TimePaths::system(), fvMesh::time(), and IOobject::typeHeaderOk().
Referenced by voxelMeshSearch::makeMesh().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.