Public Member Functions | |
meshSurfaceEdgeExtractorFUN (polyMeshGen &mesh, const meshOctree &octree, const bool createWrapperSheet=true) | |
Construct from mesh data. More... | |
~meshSurfaceEdgeExtractorFUN () | |
Private Member Functions | |
meshSurfaceEngine & | surfaceEngine () |
return reference to surface engine More... | |
void | clearOut () |
clear mesh suirface engine More... | |
void | distributeBoundaryFaces () |
distribute boundary faces into patches More... | |
void | reviseCorners () |
void | reviseEdges () |
void | findCornersAndCorrectPatches () |
find corner vertices and correct patches More... | |
void | createBasicFundamentalSheets () |
create fundamental sheets More... | |
void | smoothMeshSurface () |
smooth the surface More... | |
void | improveQualityOfFundamentalSheets () |
modify fundamental sheets More... | |
void | remapBoundaryPoints () |
re-map points after edges have been extracted More... | |
meshSurfaceEdgeExtractorFUN () | |
Disallow default construct. More... | |
meshSurfaceEdgeExtractorFUN (const meshSurfaceEdgeExtractorFUN &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const meshSurfaceEdgeExtractorFUN &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
polyMeshGen & | mesh_ |
mesh More... | |
const meshOctree & | meshOctree_ |
octree More... | |
meshSurfaceEngine * | surfaceEnginePtr_ |
mesh surface pointer More... | |
const bool | createWrapperSheet_ |
shall the procedure generate an initial wrapper sheet More... | |
Definition at line 54 of file meshSurfaceEdgeExtractorFUN.H.
|
private |
Disallow default construct.
|
private |
Disallow default bitwise copy construct.
meshSurfaceEdgeExtractorFUN | ( | polyMeshGen & | mesh, |
const meshOctree & | octree, | ||
const bool | createWrapperSheet = true |
||
) |
Construct from mesh data.
Definition at line 71 of file meshSurfaceEdgeExtractorFUN.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and UPstream::parRun().
Definition at line 98 of file meshSurfaceEdgeExtractorFUN.C.
References Foam::deleteDemandDrivenData(), and meshSurfaceEdgeExtractorFUN::surfaceEnginePtr_.
|
private |
return reference to surface engine
Definition at line 45 of file meshSurfaceEdgeExtractorFUN.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, meshSurfaceEdgeExtractorFUN::mesh_, and meshSurfaceEdgeExtractorFUN::surfaceEnginePtr_.
Referenced by meshSurfaceEdgeExtractorFUN::improveQualityOfFundamentalSheets(), meshSurfaceEdgeExtractorFUN::remapBoundaryPoints(), and meshSurfaceEdgeExtractorFUN::smoothMeshSurface().
|
private |
clear mesh suirface engine
Definition at line 62 of file meshSurfaceEdgeExtractorFUN.C.
References Foam::deleteDemandDrivenData(), and meshSurfaceEdgeExtractorFUN::surfaceEnginePtr_.
Referenced by meshSurfaceEdgeExtractorFUN::createBasicFundamentalSheets().
|
private |
distribute boundary faces into patches
set size of patchNames, newBoundaryFaces_ and newBoundaryOwners_
set patchNames
append boundary faces
find the region for face by finding the patch nearest to the face centre
Definition at line 53 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
References VRWGraph::appendList(), meshSurfaceEngine::boundaryFaces(), Foam::constant::universal::c, Foam::exit(), meshSurfaceEngine::faceOwners(), Foam::FatalError, FatalErrorIn, meshOctree::findNearestSurfacePoint(), forAll, meshSurfaceEdgeExtractorFUN::mesh_, meshSurfaceEdgeExtractorFUN::meshOctree_, geometryBase::name(), nPatches, p, patchNames(), points, meshSurfaceEngine::points(), polyMeshGenModifier::replaceBoundary(), UList::size(), and meshOctree::surface().
|
private |
check whether all corners in the surface mesh are present in the volume mesh
Definition at line 120 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
|
private |
check whether all edges in the surface mesh are present in the volume mesh
Definition at line 125 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
|
private |
find corner vertices and correct patches
|
private |
create fundamental sheets
Definition at line 138 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
References meshSurfaceEdgeExtractorFUN::clearOut(), meshSurfaceEdgeExtractorFUN::createWrapperSheet_, and meshSurfaceEdgeExtractorFUN::mesh_.
|
private |
smooth the surface
Definition at line 145 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
References meshSurfaceEdgeExtractorFUN::meshOctree_, meshSurfaceOptimizer::optimizeSurface(), and meshSurfaceEdgeExtractorFUN::surfaceEngine().
|
private |
modify fundamental sheets
Definition at line 153 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
References polyMeshGenPoints::addPointSubset(), polyMeshGenPoints::addPointToSubset(), meshSurfaceCheckEdgeTypes::concaveEdges(), meshSurfaceCheckEdgeTypes::convexEdges(), meshSurfaceEngine::edges(), forAll, meshSurfaceEdgeExtractorFUN::mesh_, and meshSurfaceEdgeExtractorFUN::surfaceEngine().
|
private |
re-map points after edges have been extracted
Definition at line 130 of file meshSurfaceEdgeExtractorFUNDistributeFaces.C.
References meshSurfaceMapper::mapVerticesOntoSurfacePatches(), meshSurfaceEdgeExtractorFUN::meshOctree_, and meshSurfaceEdgeExtractorFUN::surfaceEngine().
|
private |
Disallow default bitwise assignment.
|
private |
mesh
Definition at line 58 of file meshSurfaceEdgeExtractorFUN.H.
Referenced by meshSurfaceEdgeExtractorFUN::createBasicFundamentalSheets(), meshSurfaceEdgeExtractorFUN::distributeBoundaryFaces(), meshSurfaceEdgeExtractorFUN::improveQualityOfFundamentalSheets(), and meshSurfaceEdgeExtractorFUN::surfaceEngine().
|
private |
octree
Definition at line 61 of file meshSurfaceEdgeExtractorFUN.H.
Referenced by meshSurfaceEdgeExtractorFUN::distributeBoundaryFaces(), meshSurfaceEdgeExtractorFUN::remapBoundaryPoints(), and meshSurfaceEdgeExtractorFUN::smoothMeshSurface().
|
private |
mesh surface pointer
Definition at line 64 of file meshSurfaceEdgeExtractorFUN.H.
Referenced by meshSurfaceEdgeExtractorFUN::clearOut(), meshSurfaceEdgeExtractorFUN::surfaceEngine(), and meshSurfaceEdgeExtractorFUN::~meshSurfaceEdgeExtractorFUN().
|
private |
shall the procedure generate an initial wrapper sheet
Definition at line 67 of file meshSurfaceEdgeExtractorFUN.H.
Referenced by meshSurfaceEdgeExtractorFUN::createBasicFundamentalSheets().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.