All to do with adding layers. More...
#include <autoMesh/autoLayerDriver.H>
All to do with adding layers.
Definition at line 60 of file autoLayerDriver.H.
Classes | |
class | nomalsCombine |
Combine operator class to combine normal with other normal.
| |
Public Member Functions | |
ClassName ("autoLayerDriver") | |
Runtime type information.
| |
autoLayerDriver (meshRefinement &meshRefiner) | |
Construct from components.
| |
void | mergePatchFacesUndo (const layerParameters &layerParams, const dictionary &motionDict) |
Merge patch faces on same cell.
| |
void | addLayers (const layerParameters &layerParams, const dictionary &motionDict, const labelList &patchIDs, const label nAllowableErrors, decompositionMethod &decomposer, fvMeshDistribute &distributor) |
Add cell layers.
| |
void | doLayers (const dictionary &shrinkDict, const dictionary &motionDict, const layerParameters &layerParams, const bool preBalance, decompositionMethod &decomposer, fvMeshDistribute &distributor) |
Add layers according to the dictionary settings.
|
autoLayerDriver | ( | meshRefinement & | meshRefiner ) |
Construct from components.
Definition at line 2467 of file autoLayerDriver.C.
ClassName | ( | "autoLayerDriver" | ) |
Runtime type information.
void mergePatchFacesUndo | ( | const layerParameters & | layerParams, |
const dictionary & | motionDict | ||
) |
Merge patch faces on same cell.
Definition at line 2476 of file autoLayerDriver.C.
References layerParameters::concaveAngle(), Foam::cos(), Foam::endl(), layerParameters::featureAngle(), Foam::Info, and Foam::mathematicalConstant::pi().
void addLayers | ( | const layerParameters & | layerParams, |
const dictionary & | motionDict, | ||
const labelList & | patchIDs, | ||
const label | nAllowableErrors, | ||
decompositionMethod & | decomposer, | ||
fvMeshDistribute & | distributor | ||
) |
Add cell layers.
Definition at line 2514 of file autoLayerDriver.C.
References polyMesh::boundaryMesh(), fvMesh::clearOut(), Foam::dimless, primitiveMesh::edges(), Foam::endl(), layerParameters::expansionRatio(), layerParameters::featureAngle(), layerParameters::finalLayerThickness(), Foam::findIndices(), forAll, h, Foam::identity(), Foam::Info, layerParameters::layerTerminationCos(), meshRefinement::makeDisplacementField(), polyTopoChange::makeMesh(), meshRefinement::makePatch(), Foam::max(), layerParameters::maxFaceThicknessRatio(), layerParameters::maxThicknessToMedialRatio(), mesh, layerParameters::minMedianAxisAngleCos(), layerParameters::minThickness(), fvMesh::movePoints(), fvMesh::name(), IOobject::name(), layerParameters::nBufferCellsNoExtrude(), primitiveMesh::nCells(), MeshObject< polyMesh, pointMesh >::New(), layerParameters::nGrow(), layerParameters::nLayerIter(), IOobject::NO_READ, IOobject::NO_WRITE, nPoints, layerParameters::nRelaxedIter(), layerParameters::nSmoothNormals(), layerParameters::nSmoothSurfaceNormals(), layerParameters::nSmoothThickness(), layerParameters::nSnap(), layerParameters::numLayers(), Vector< Cmpt >::one, Pstream::parRun(), Time::path(), Foam::mathematicalConstant::pi(), primitiveMesh::pointEdges(), polyMesh::points(), Foam::pow(), layerParameters::relativeSizes(), Foam::returnReduce(), Foam::setf(), polyMesh::setInstance(), Foam::setprecision(), addPatchCellLayer::setRefinement(), Foam::setw(), HashTable< T, Key, Hash >::size(), PtrList< T >::size(), List< T >::size(), dictionary::subDict(), fvMesh::time(), addPatchCellLayer::updateMesh(), fvMesh::updateMesh(), regIOobject::write(), fvMesh::write(), and Vector< Cmpt >::zero.
void doLayers | ( | const dictionary & | shrinkDict, |
const dictionary & | motionDict, | ||
const layerParameters & | layerParams, | ||
const bool | preBalance, | ||
decompositionMethod & | decomposer, | ||
fvMeshDistribute & | distributor | ||
) |
Add layers according to the dictionary settings.
Definition at line 3232 of file autoLayerDriver.C.
References List< T >::append(), polyMesh::boundaryMesh(), motionSmoother::checkMesh(), Foam::endl(), polyPatch::faceCells(), forAll, Foam::Info, primitiveMesh::nCells(), primitiveMesh::nFaces(), layerParameters::numLayers(), Pstream::parRun(), Foam::returnReduce(), PtrList< T >::size(), and List< T >::size().