mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: autoHexMesh: rewrite of zone allocation
This commit is contained in:
@ -507,7 +507,6 @@ private:
|
|||||||
void getIntersections
|
void getIntersections
|
||||||
(
|
(
|
||||||
const labelList& surfacesToTest,
|
const labelList& surfacesToTest,
|
||||||
const labelList& neiLevel,
|
|
||||||
const pointField& neiCc,
|
const pointField& neiCc,
|
||||||
const labelList& testFaces,
|
const labelList& testFaces,
|
||||||
|
|
||||||
@ -515,6 +514,18 @@ private:
|
|||||||
labelList& globalRegion2
|
labelList& globalRegion2
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
//- Calculate intersections on zoned faces. Return per face -1
|
||||||
|
// or the index of the surface and the orientation w.r.t. surface
|
||||||
|
void getIntersections
|
||||||
|
(
|
||||||
|
const labelList& surfacesToTest,
|
||||||
|
const pointField& neiCc,
|
||||||
|
const labelList& testFaces,
|
||||||
|
|
||||||
|
labelList& namedSurfaceIndex,
|
||||||
|
PackedBoolList& posOrientation
|
||||||
|
) const;
|
||||||
|
|
||||||
//- Determine patches for baffles
|
//- Determine patches for baffles
|
||||||
void getBafflePatches
|
void getBafflePatches
|
||||||
(
|
(
|
||||||
@ -635,13 +646,13 @@ private:
|
|||||||
labelList& cellToZone
|
labelList& cellToZone
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
//- Finds zone per cell for cells inside named surfaces that have
|
//- Finds zone per cell for cells inside region for which name
|
||||||
// an inside point specified.
|
// is specified.
|
||||||
void findCellZoneInsideWalk
|
void findCellZoneInsideWalk
|
||||||
(
|
(
|
||||||
const labelList& locationSurfaces,
|
const pointField& locationsInMesh,
|
||||||
const labelList& namedSurfaceIndex,
|
const labelList& zonesInMesh,
|
||||||
const labelList& surfaceToCellZone,
|
const labelList& blockedFace, // per face -1 or some index >= 0
|
||||||
labelList& cellToZone
|
labelList& cellToZone
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
@ -650,8 +661,8 @@ private:
|
|||||||
void findCellZoneInsideWalk
|
void findCellZoneInsideWalk
|
||||||
(
|
(
|
||||||
const pointField& locationsInMesh,
|
const pointField& locationsInMesh,
|
||||||
const wordList& regionsInMesh,
|
const wordList& zoneNamesInMesh,
|
||||||
const labelList& blockedFace, // per face -1 or some index >= 0
|
const labelList& faceToZone, // per face -1 or some index >= 0
|
||||||
labelList& cellToZone
|
labelList& cellToZone
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
@ -670,6 +681,7 @@ private:
|
|||||||
void findCellZoneTopo
|
void findCellZoneTopo
|
||||||
(
|
(
|
||||||
const pointField& locationsInMesh,
|
const pointField& locationsInMesh,
|
||||||
|
const labelList& allSurfaceIndex,
|
||||||
const labelList& namedSurfaceIndex,
|
const labelList& namedSurfaceIndex,
|
||||||
const labelList& surfaceToCellZone,
|
const labelList& surfaceToCellZone,
|
||||||
labelList& cellToZone
|
labelList& cellToZone
|
||||||
@ -677,10 +689,23 @@ private:
|
|||||||
|
|
||||||
void makeConsistentFaceIndex
|
void makeConsistentFaceIndex
|
||||||
(
|
(
|
||||||
|
const labelList& zoneToNamedSurface,
|
||||||
const labelList& cellToZone,
|
const labelList& cellToZone,
|
||||||
labelList& namedSurfaceIndex
|
labelList& namedSurfaceIndex
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
//- Calculate cellZone allocation
|
||||||
|
void zonify
|
||||||
|
(
|
||||||
|
const bool allowFreeStandingZoneFaces,
|
||||||
|
const pointField& locationsInMesh,
|
||||||
|
const wordList& zonesInMesh,
|
||||||
|
|
||||||
|
labelList& cellToZone,
|
||||||
|
labelList& namedSurfaceIndex,
|
||||||
|
PackedBoolList& posOrientation
|
||||||
|
) const;
|
||||||
|
|
||||||
//- Put cells into cellZone, faces into faceZone
|
//- Put cells into cellZone, faces into faceZone
|
||||||
void zonify
|
void zonify
|
||||||
(
|
(
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user