OpenFOAM
v2506
The open source CFD toolbox
pointMeshTools.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2024 OpenCFD Ltd.
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
Class
27
Foam::polyMeshTools
28
29
Description
30
Collection of static functions operating on pointMesh.
31
32
SourceFiles
33
pointMeshTools.C
34
35
\*---------------------------------------------------------------------------*/
36
37
#ifndef Foam_pointMeshTools_H
38
#define Foam_pointMeshTools_H
39
40
#include "
pointMesh.H
"
41
#include "
pointConstraint.H
"
42
#include "
uindirectPrimitivePatch.H
"
43
44
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46
namespace
Foam
47
{
48
49
/*---------------------------------------------------------------------------*\
50
Class pointMeshTools Declaration
51
\*---------------------------------------------------------------------------*/
52
53
class
pointMeshTools
54
{
55
public
:
56
57
//- Analyse patch for feature edges, feature points. Handles points
58
//- not being on a face of patch but coupled to it.
59
static
void
featurePointsEdges
60
(
61
const
polyMesh
&
mesh
,
62
63
const
uindirectPrimitivePatch
&
boundary
,
64
// Per boundary face to zone
65
const
labelUList
& faceToZone,
66
// Number of zones
67
const
label nZones,
68
69
const
scalar edgeFeatureAngle,
70
//const scalar pointFeatureAngle, //not yet done
71
72
// Feature edge(points) internal to a zone
73
labelListList
& zoneToMeshPoints,
74
List<pointConstraintList>
& zoneToConstraints,
75
76
// Feature edge(points) in between zones
77
labelList
& twoZoneMeshPoints,
78
pointConstraintList
& twoZoneConstraints,
79
80
// Feature points on > 2 zones
81
labelList
& multiZoneMeshPoints,
82
pointConstraintList
& multiZoneConstraints
83
);
84
};
85
86
87
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
88
89
}
// End namespace Foam
90
91
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
92
93
#endif
94
95
// ************************************************************************* //
boundary
faceListList boundary
Definition:
createBlockMesh.H:2
Foam::pointMeshTools::featurePointsEdges
static void featurePointsEdges(const polyMesh &mesh, const uindirectPrimitivePatch &boundary, const labelUList &faceToZone, const label nZones, const scalar edgeFeatureAngle, labelListList &zoneToMeshPoints, List< pointConstraintList > &zoneToConstraints, labelList &twoZoneMeshPoints, pointConstraintList &twoZoneConstraints, labelList &multiZoneMeshPoints, pointConstraintList &multiZoneConstraints)
Analyse patch for feature edges, feature points. Handles points not being on a face of patch but coup...
Definition:
pointMeshTools.C:31
Foam::List< labelList >
pointMesh.H
Foam::PrimitivePatch
A list of faces which address into the list of points.
Definition:
PrimitivePatch.H:70
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
Foam::UList< label >
Foam::pointMeshTools
Definition:
pointMeshTools.H:48
pointConstraint.H
Foam::polyMesh
Mesh consisting of general polyhedral cells.
Definition:
polyMesh.H:75
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:26
uindirectPrimitivePatch.H
src
OpenFOAM
meshes
pointMesh
pointMeshTools
pointMeshTools.H
Generated by
1.8.14