createSingleCellMesh.H File Reference

Go to the source code of this file.

Functions

Info<< "Constructing single cell mesh"<< nl<< endl;labelList owner(6, label(0));labelList neighbour(0);pointField points(8);points[0]=vector(0, 0, 0);points[1]=vector(1, 0, 0);points[2]=vector(1, 1, 0);points[3]=vector(0, 1, 0);points[4]=vector(0, 0, 1);points[5]=vector(1, 0, 1);points[6]=vector(1, 1, 1);points[7]=vector(0, 1, 1);const cellModel &hexa=*(cellModeller::lookup("hex"));faceList faces=hexa.modelFaces();fvMesh mesh(IOobject(fvMesh::defaultRegion, runTime.timeName(), runTime, IOobject::READ_IF_PRESENT), move(points), move(faces), move(owner), move(neighbour));List< polyPatch * > patches (1)
 
mesh addFvPatches (patches)
 

Variables

 patches [0]
 

Function Documentation

◆ patches()

Info<< "Constructing single cell mesh" << nl << endl;labelList owner(6, label(0));labelList neighbour(0);pointField points(8);points[0] = vector(0, 0, 0);points[1] = vector(1, 0, 0);points[2] = vector(1, 1, 0);points[3] = vector(0, 1, 0);points[4] = vector(0, 0, 1);points[5] = vector(1, 0, 1);points[6] = vector(1, 1, 1);points[7] = vector(0, 1, 1);const cellModel& hexa = *(cellModeller::lookup("hex"));faceList faces = hexa.modelFaces();fvMesh mesh( IOobject ( fvMesh::defaultRegion, runTime.timeName(), runTime, IOobject::READ_IF_PRESENT ), move(points), move(faces), move(owner), move(neighbour));List<polyPatch*> patches ( )

◆ addFvPatches()

mesh addFvPatches ( patches  )

Variable Documentation

◆ patches

patches[0]
Initial value:
= new emptyPolyPatch
(
"boundary",
6,
0,
0,
mesh.boundaryMesh(),
emptyPolyPatch::typeName
)
dynamicFvMesh & mesh

Definition at line 36 of file createSingleCellMesh.H.

Referenced by fvMeshAdder::add(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), decompositionMethod::calcCellCells(), cellToFaceStencil::calcFaceStencil(), Foam::polyMeshCheck::checkFaceDotProduct(), Foam::polyMeshCheck::checkFaceSkewness(), Foam::polyMeshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::polyMeshCheck::checkFaceTwist(), Foam::polyMeshCheck::checkFaceWeights(), hexRef8::checkMesh(), edgeCollapser::checkMeshQuality(), Foam::polyMeshCheck::checkVolRatio(), SSG< BasicMomentumTransportModel >::correct(), LRR< BasicMomentumTransportModel >::correct(), advectionDiffusion::correct(), ReynoldsStress< LESModel< BasicMomentumTransportModel > >::correctWallShearStress(), meshRefinement::createZoneBaffles(), decompositionMethod::decompose(), fvMeshDistribute::distribute(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), localPointRegion::findDuplicateFacePairs(), polyMeshTetDecomposition::findFaceBasePts(), fvBoundaryMesh::findPatchID(), polyBoundaryMesh::findPatchID(), forAll(), FreeStream< CloudType >::FreeStream(), fvBoundaryMeshMapper::fvBoundaryMeshMapper(), removeCells::getExposedFaces(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), SpalartAllmarasDES< BasicMomentumTransportModel >::k(), localPointRegion::localPointRegion(), meshRefinement::makePatch(), meshToMesh::mapAndOpTgtToSrc(), meshRefinement::mergeBaffles(), meshRefinement::meshedPatches(), fvMesh::movePoints(), NamedEnum< compressibleField, 8 >::names(), polyBoundaryMesh::names(), ensightMesh::nFacePrimitives::nFacePrimitives(), patchMeanVelocityForce::patchMeanVelocityForce(), polyBoundaryMesh::physicalTypes(), pointBoundaryMeshMapper::pointBoundaryMeshMapper(), polyBoundaryMesh::polyBoundaryMesh(), Foam::polyMeshUnMergeCyclics(), fvMeshDistribute::printCoupleInfo(), fvMeshDistribute::printMeshInfo(), polyBoundaryMesh::renamePatches(), polyBoundaryMesh::reorderPatches(), patchProbes::sample(), motionSmootherAlgo::scaleMesh(), meshRefinement::selectSeparatedCoupledFaces(), polyBoundaryMesh::setGroup(), duplicatePoints::setRefinement(), removeCells::setRefinement(), perfectInterface::setRefinement(), fvBoundaryMesh::shuffle(), surfacePatchIOList::surfacePatchIOList(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), meshRefinement::testSyncBoundaryFaceList(), polyBoundaryMesh::types(), motionSmootherAlgo::updateMesh(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), wallHeatFlux::write(), wallShearStress::write(), wallHeatTransferCoeff::write(), polyBoundaryMesh::writeData(), meshRefinement::zonify(), repatchPolyTopoChanger::~repatchPolyTopoChanger(), and wallHeatTransferCoeffModel::~wallHeatTransferCoeffModel().