All to do with adding layers. More...
Public Types | |
enum | extrudeMode { NOEXTRUDE, EXTRUDE, EXTRUDEREMOVE } |
Public Member Functions | |
ClassName ("snappyLayerDriver") | |
snappyLayerDriver (meshRefinement &meshRefiner, const labelList &globalToMasterPatch, const labelList &globalToSlavePatch, const bool dryRun=false) | |
void | mergePatchFacesUndo (const layerParameters &layerParams, const dictionary &motionDict, const meshRefinement::FaceMergeType mergeType) |
void | addLayers (const layerParameters &layerParams, const dictionary &motionDict, const labelList &patchIDs, const label nAllowableErrors, decompositionMethod &decomposer, fvMeshDistribute &distributor) |
void | doLayers (const dictionary &shrinkDict, const dictionary &motionDict, const layerParameters &layerParams, const meshRefinement::FaceMergeType mergeType, const bool preBalance, decompositionMethod &decomposer, fvMeshDistribute &distributor) |
enum extrudeMode |
Enumerator | |
---|---|
NOEXTRUDE | Do not extrude. No layers added. |
EXTRUDE | Extrude. |
EXTRUDEREMOVE | Extrude but afterwards remove added faces locally |
Definition at line 62 of file snappyLayerDriver.H.
snappyLayerDriver | ( | meshRefinement & | meshRefiner, |
const labelList & | globalToMasterPatch, | ||
const labelList & | globalToSlavePatch, | ||
const bool | dryRun = false |
||
) |
Definition at line 3366 of file snappyLayerDriver.C.
ClassName | ( | "snappyLayerDriver" | ) |
void mergePatchFacesUndo | ( | const layerParameters & | layerParams, |
const dictionary & | motionDict, | ||
const meshRefinement::FaceMergeType | mergeType | ||
) |
Definition at line 3383 of file snappyLayerDriver.C.
References layerParameters::concaveAngle(), Foam::cos(), Foam::degToRad(), Foam::endl(), localPointRegion::findDuplicateFacePairs(), forAll, Foam::Info, layerParameters::mergePatchFacesAngle(), mesh, primitiveMesh::nFaces(), and Foam::nl.
void addLayers | ( | const layerParameters & | layerParams, |
const dictionary & | motionDict, | ||
const labelList & | patchIDs, | ||
const label | nAllowableErrors, | ||
decompositionMethod & | decomposer, | ||
fvMeshDistribute & | distributor | ||
) |
Definition at line 3436 of file snappyLayerDriver.C.
References dictionary::add(), layerParameters::additionalReporting(), addProfiling, DynamicList::append(), surfaceZonesInfo::BAFFLE, polyMesh::boundaryMesh(), polyTopoChange::changeMesh(), fvMesh::clearOut(), cpuTimePosix::cpuTimeIncrement(), Foam::expressions::patchExpr::debug, layerParameters::dict(), primitiveMesh::edges(), Foam::endl(), Foam::exit(), UPstream::exit(), f(), Foam::faceMap(), mapPolyMesh::faceMap(), polyMesh::faces(), polyMesh::faceZones(), Foam::FatalError, Foam::FatalIOError, layerParameters::featureAngle(), layerParameters::finalLayerThicknessRatio(), localPointRegion::findDuplicateFacePairs(), forAll, addPatchCellLayer::globalEdgeFaces(), mapPolyMesh::hasMotionPoints(), Foam::identity(), Foam::Info, Foam::inplaceReorder(), IOobject::instance(), surfaceZonesInfo::INTERNAL, Foam::invertOneToMany(), IOWarningInFunction, Foam::labelMax, meshRefinement::LAYERINFO, Foam::mag(), polyTopoChange::makeMesh(), meshRefinement::makePatch(), Foam::max(), layerParameters::maxFaceThicknessRatio(), dictionary::merge(), Foam::mergePoints(), mesh, meshRefinement::MESH, layerParameters::meshShrinker(), error::message(), Foam::min(), fvMesh::movePoints(), n, OFstream::name(), fvMesh::name(), IOobject::name(), layerParameters::nBufferCellsNoExtrude(), primitiveMesh::nCells(), MeshObject< polyMesh, UpdateableMeshObject, pointMesh >::New(), externalDisplacementMeshMover::New(), primitiveMesh::nFaces(), layerParameters::nGrow(), primitiveMesh::nInternalFaces(), Foam::nl, layerParameters::nLayerIter(), IOobject::NO_READ, mapPolyMesh::nOldFaces(), nPoints, primitiveMesh::nPoints(), layerParameters::nRelaxedIter(), layerParameters::numLayers(), p, UPstream::parRun(), Time::path(), Foam::Perr, primitiveMesh::pointEdges(), mapPolyMesh::pointMap(), polyMesh::points(), mapPolyMesh::preMotionPoints(), IOobject::READ_IF_PRESENT, Foam::reduce(), layerParameters::relativeSizes(), Foam::returnReduce(), bitSet::set(), motionSmootherAlgo::setDisplacement(), polyMesh::setInstance(), addPatchCellLayer::setRefinement(), List::setSize(), dictionary::subDict(), meshRefinement::subsetBaffles(), syncTools::syncPointList(), bitSet::test(), fvMesh::time(), meshRefinement::updateList(), addPatchCellLayer::updateMesh(), fvMesh::updateMesh(), Ostream::write(), OBJstream::write(), fvMesh::write(), meshRefinement::writeLevel(), meshRefinement::WRITEMESH, IOobject::writeOpt(), and Foam::Zero.
void doLayers | ( | const dictionary & | shrinkDict, |
const dictionary & | motionDict, | ||
const layerParameters & | layerParams, | ||
const meshRefinement::FaceMergeType | mergeType, | ||
const bool | preBalance, | ||
decompositionMethod & | decomposer, | ||
fvMeshDistribute & | distributor | ||
) |
Definition at line 4802 of file snappyLayerDriver.C.
References addProfiling, DynamicList::append(), polyMesh::boundaryMesh(), motionSmootherAlgo::checkMesh(), polyPatch::coupled(), Foam::endl(), polyPatch::faceCells(), polyMesh::faceZones(), forAll, syncTools::getInternalOrCoupledFaces(), Foam::Info, faceZone::masterCells(), mesh, zoneIdentifier::name(), patchIdentifier::name(), Foam::name(), primitiveMesh::nCells(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), Foam::nl, layerParameters::numLayers(), UPstream::parRun(), Foam::reduce(), Foam::returnReduce(), bitSet::set(), DynamicList::shrink(), faceZone::slaveCells(), bitSet::test(), and WarningInFunction.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.