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(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), hexRef8::checkMesh(), edgeCollapser::checkMeshQuality(), polyMeshGeometry::checkVolRatio(), SSG< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), advectionDiffusion::correct(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::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(), localPointRegion::localPointRegion(), patchMeanVelocityForce::magUbarAve(), meshRefinement::makePatch(), meshToMesh::mapAndOpTgtToSrc(), meshRefinement::mergeBaffles(), meshRefinement::meshedPatches(), fvMesh::movePoints(), NamedEnum< directionType, 3 >::names(), polyBoundaryMesh::names(), ensightMesh::nFacePrimitives::nFacePrimitives(), polyBoundaryMesh::physicalTypes(), pointBoundaryMeshMapper::pointBoundaryMeshMapper(), polyBoundaryMesh::polyBoundaryMesh(), fvMeshDistribute::printCoupleInfo(), fvMeshDistribute::printMeshInfo(), patchProbes::sample(), motionSmootherAlgo::scaleMesh(), meshRefinement::selectSeparatedCoupledFaces(), polyBoundaryMesh::setGroup(), duplicatePoints::setRefinement(), removeCells::setRefinement(), perfectInterface::setRefinement(), fvBoundaryMesh::shuffle(), polyBoundaryMesh::shuffle(), surfacePatchIOList::surfacePatchIOList(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), meshRefinement::testSyncBoundaryFaceList(), polyBoundaryMesh::types(), motionSmootherAlgo::updateMesh(), cellToFaceStencil::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), wallHeatFlux::write(), wallShearStress::write(), wallHeatTransferCoeff::write(), polyBoundaryMesh::writeData(), meshRefinement::zonify(), and repatchPolyTopoChanger::~repatchPolyTopoChanger().