|
|
|
meshRefinement Class ReferenceHelper class which maintains intersections of (changing) mesh with (static) surfaces. More...
Collaboration diagram for meshRefinement:
![]()
Detailed DescriptionHelper class which maintains intersections of (changing) mesh with (static) surfaces.
Definition at line 72 of file meshRefinement.H. Member Enumeration Documentation
Enumeration for how the userdata is to be mapped upon refinement.
Definition at line 89 of file meshRefinement.H.
Constructor & Destructor Documentation
Member Function Documentation
Runtime type information.
reference to mesh
Definition at line 521 of file meshRefinement.H. Referenced by autoSnapDriver::repatchToSurface().
Here is the caller graph for this function:
![]()
Definition at line 525 of file meshRefinement.H.
Definition at line 530 of file meshRefinement.H.
Overwrite the mesh?
Definition at line 536 of file meshRefinement.H. Referenced by meshRefinement::mergePatchFaces().
Here is the caller graph for this function:
![]()
(points)instance of mesh upon construction
Definition at line 542 of file meshRefinement.H. Referenced by meshRefinement::mergePatchFaces().
Here is the caller graph for this function:
![]()
reference to surface search engines
Definition at line 548 of file meshRefinement.H. Referenced by autoSnapDriver::repatchToSurface().
Here is the caller graph for this function:
![]()
Definition at line 571 of file meshRefinement.H. Additional face data that is maintained across. topo changes. Every entry is a list over all faces. Bit of a hack. Additional flag to say whether to maintain master only (false) or increase set to account for face-from-face. Definition at line 582 of file meshRefinement.H.
Definition at line 587 of file meshRefinement.H.
Count number of intersections (local).
Definition at line 897 of file meshRefinement.C. References Foam::identity().
Here is the call graph for this function:
![]()
Helper function to get decomposition such that all connected. regions get moved onto one processor. Used to prevent baffles straddling processor boundaries. explicitConnections is to keep pairs of non-coupled boundary faces together (e.g. to keep baffles together) Definition at line 917 of file meshRefinement.C.
Redecompose according to cell count. keepZoneFaces : find all faceZones from zoned surfaces and keep owner and neighbour together keepBaffles : find all baffles and keep them together Definition at line 1049 of file meshRefinement.C.
Get points on surfaces with intersection and boundary faces.
Definition at line 1226 of file meshRefinement.C.
Create patch from set of patches.
Definition at line 1295 of file meshRefinement.C. Referenced by autoSnapDriver::repatchToSurface().
Here is the caller graph for this function:
![]()
Helper function to make a pointVectorField with correct. bcs for mesh movement:
Definition at line 1341 of file meshRefinement.C.
Helper function: check that face zones are synced.
Definition at line 1396 of file meshRefinement.C. Referenced by autoHexMeshDriver::autoHexMeshDriver().
Here is the caller graph for this function:
![]()
Calculate list of cells to refine.
Disable refinement shortcut. nAllowRefine is per processor limit. Definition at line 1039 of file meshRefinementRefine.C. References Foam::endl(), forAll, polyMesh::globalData(), Foam::Info, refinementSurfaces::maxLevel(), refinementSurfaces::minLevel(), primitiveMesh::nCells(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), Pstream::nProcs(), and globalMeshData::nTotalCells().
Here is the call graph for this function:
![]()
Split off (with optional buffer layers) unreachable areas. of mesh. Does not introduce baffles. Definition at line 1680 of file meshRefinementBaffles.C.
Find boundary points that connect to more than one cell. region and split them. Definition at line 1969 of file meshRefinementBaffles.C.
Create baffle for every internal face where ownPatch != -1. External faces get repatched according to ownPatch (neiPatch should be -1 for these) Redo the intersections on the newly create baffle faces. Note that this changes also the cell centre positions. Definition at line 375 of file meshRefinementBaffles.C.
Return a list of coupled face pairs, i.e. faces that. use the same vertices. Definition at line 523 of file meshRefinementBaffles.C.
Put faces/cells into zones according to surface specification. Returns null if no zone surfaces present. Region containing the keepPoint will not be put into a cellZone. Definition at line 2027 of file meshRefinementBaffles.C.
Helper:add patch to mesh. Update all registered fields. Use addMeshedPatch to add patches originating from surfaces. Definition at line 1493 of file meshRefinement.C.
Add patch originating from meshing. Update meshedPatches_.
Definition at line 1664 of file meshRefinement.C.
Update for external change to mesh. changedFaces are in new mesh. face labels. Definition at line 1848 of file meshRefinement.C. Referenced by meshRefinement::mergePatchFaces(), and meshRefinement::storeData().
Here is the caller graph for this function:
![]()
Signal points/face/cells for which to store data.
Definition at line 1860 of file meshRefinement.C. References meshRefinement::updateMesh().
Here is the call graph for this function:
![]()
Update local numbering + undo. Data to restore given as new pointlabel + stored pointlabel (i.e. what was in pointsToStore) Definition at line 1877 of file meshRefinement.C.
Merge faces on the same patch (usually from exposing refinement). Returns global number of faces merged. Definition at line 27 of file meshRefinementMerge.C. References polyMesh::boundaryMesh(), primitiveMesh::cells(), polyTopoChange::changeMesh(), fvMesh::clearOut(), polyPatch::coupled(), Foam::endl(), polyMesh::faceOwner(), forAll, combineFaces::getMergeSets(), Foam::Info, fvMesh::movePoints(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), meshRefinement::oldInstance(), meshRefinement::overwrite(), patches, Foam::returnReduce(), polyMesh::setInstance(), combineFaces::setRefinement(), polyPatch::start(), meshRefinement::updateMesh(), fvMesh::updateMesh(), and combineFaces::updateMesh().
Here is the call graph for this function:
![]()
Remove points not used by any face or points used. by only two faces where the edges are in line Definition at line 135 of file meshRefinementMerge.C.
Debugging: check that all faces still obey start()>end().
Definition at line 242 of file meshRefinement.C. Referenced by autoRefineDriver::doRefine().
Here is the caller graph for this function:
![]()
Replacement for Time::timeName() : return oldInstance (if. Return either time().constant() or oldInstance. overwrite_) Definition at line 2058 of file meshRefinement.C. References Foam::Info.
Write refinement level as volScalarFields for postprocessing.
Definition at line 2071 of file meshRefinement.C.
Debug: Write intersection information to OBJ format.
Definition at line 2126 of file meshRefinement.C. Do any one of above IO functions. flag is combination of. writeFlag values. Definition at line 2206 of file meshRefinement.C.
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||