snappyHexMesh: Renamed locationInMesh -> insidePoint
for consistency with the regionToCell topo set source and splitMeshRegions and provides more logical extension to the multiple and outside point variants insidePoints, outsidePoint and outsidePoints.
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -59,7 +59,7 @@ void Foam::conformationSurfaces::hasBoundedVolume
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pointField pts(1, locationInMesh_);
|
pointField pts(1, insidePoint_);
|
||||||
|
|
||||||
List<volumeType> vTypes
|
List<volumeType> vTypes
|
||||||
(
|
(
|
||||||
@ -271,7 +271,7 @@ Foam::conformationSurfaces::conformationSurfaces
|
|||||||
runTime_(runTime),
|
runTime_(runTime),
|
||||||
allGeometry_(allGeometry),
|
allGeometry_(allGeometry),
|
||||||
features_(),
|
features_(),
|
||||||
locationInMesh_(surfaceConformationDict.lookup("locationInMesh")),
|
insidePoint_(surfaceConformationDict.lookup("insidePoint")),
|
||||||
surfaces_(),
|
surfaces_(),
|
||||||
allGeometryToSurfaces_(),
|
allGeometryToSurfaces_(),
|
||||||
normalVolumeTypes_(),
|
normalVolumeTypes_(),
|
||||||
@ -561,7 +561,7 @@ Foam::conformationSurfaces::conformationSurfaces
|
|||||||
globalBounds_.min() -= newSpan;
|
globalBounds_.min() -= newSpan;
|
||||||
globalBounds_.max() += newSpan;
|
globalBounds_.max() += newSpan;
|
||||||
|
|
||||||
// Look at all surfaces at determine whether the locationInMesh point is
|
// Look at all surfaces at determine whether the insidePoint point is
|
||||||
// inside or outside each, to establish a signature for the domain to be
|
// inside or outside each, to establish a signature for the domain to be
|
||||||
// meshed.
|
// meshed.
|
||||||
|
|
||||||
@ -572,7 +572,7 @@ Foam::conformationSurfaces::conformationSurfaces
|
|||||||
);
|
);
|
||||||
|
|
||||||
Info<< endl
|
Info<< endl
|
||||||
<< "Testing for locationInMesh " << locationInMesh_ << endl;
|
<< "Testing for insidePoint " << insidePoint_ << endl;
|
||||||
|
|
||||||
hasBoundedVolume(referenceVolumeTypes_);
|
hasBoundedVolume(referenceVolumeTypes_);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -67,7 +67,7 @@ class conformationSurfaces
|
|||||||
|
|
||||||
//- The location in the mesh that specifies which portion of surfaces is
|
//- The location in the mesh that specifies which portion of surfaces is
|
||||||
// to be meshed.
|
// to be meshed.
|
||||||
point locationInMesh_;
|
point insidePoint_;
|
||||||
|
|
||||||
//- Indices of surfaces in allGeometry that are to be conformed to
|
//- Indices of surfaces in allGeometry that are to be conformed to
|
||||||
labelList surfaces_;
|
labelList surfaces_;
|
||||||
@ -162,7 +162,7 @@ public:
|
|||||||
inline const PtrList<extendedFeatureEdgeMesh>& features() const;
|
inline const PtrList<extendedFeatureEdgeMesh>& features() const;
|
||||||
|
|
||||||
//- Return the location to mesh
|
//- Return the location to mesh
|
||||||
inline const point& locationInMesh() const;
|
inline const point& insidePoint() const;
|
||||||
|
|
||||||
//- Return the surface indices
|
//- Return the surface indices
|
||||||
inline const labelList& surfaces() const;
|
inline const labelList& surfaces() const;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,9 +38,9 @@ Foam::conformationSurfaces::features() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const Foam::point& Foam::conformationSurfaces::locationInMesh() const
|
const Foam::point& Foam::conformationSurfaces::insidePoint() const
|
||||||
{
|
{
|
||||||
return locationInMesh_;
|
return insidePoint_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -152,7 +152,7 @@ Foam::CV2D::CV2D
|
|||||||
(
|
(
|
||||||
point
|
point
|
||||||
(
|
(
|
||||||
cvMeshDict.subDict("surfaceConformation").lookup("locationInMesh")
|
cvMeshDict.subDict("surfaceConformation").lookup("insidePoint")
|
||||||
).z()
|
).z()
|
||||||
),
|
),
|
||||||
startOfInternalPoints_(0),
|
startOfInternalPoints_(0),
|
||||||
|
|||||||
@ -85,7 +85,7 @@ geometry
|
|||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
// A point inside surfaces that is inside mesh.
|
// A point inside surfaces that is inside mesh.
|
||||||
locationInMesh (0 0 0);
|
insidePoint (0 0 0);
|
||||||
|
|
||||||
// How far apart are point-duplets generated. Balance this between
|
// How far apart are point-duplets generated. Balance this between
|
||||||
// - very low distance: little chance of interference from other
|
// - very low distance: little chance of interference from other
|
||||||
|
|||||||
@ -26,7 +26,7 @@ geometry
|
|||||||
|
|
||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
locationInMesh (-2.8 0.7 0.5);
|
insidePoint (-2.8 0.7 0.5);
|
||||||
|
|
||||||
pointPairDistanceCoeff 0.005;
|
pointPairDistanceCoeff 0.005;
|
||||||
|
|
||||||
|
|||||||
@ -254,10 +254,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (5 0.28 0.43);
|
insidePoint (5 0.28 0.43);
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
// are only on the boundary of corresponding cellZones or also allow
|
// are only on the boundary of corresponding cellZones or also allow
|
||||||
|
|||||||
@ -81,7 +81,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,7 +53,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -80,7 +80,7 @@ castellatedMeshControls
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,7 +81,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,7 +81,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -109,7 +109,7 @@ castellatedMeshControls
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -100,7 +100,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
nCellsBetweenLevels 3;
|
nCellsBetweenLevels 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -138,7 +138,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (0 0 0);
|
insidePoint (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
|
|||||||
@ -203,7 +203,7 @@ castellatedMeshControls
|
|||||||
|
|
||||||
resolveFeatureAngle 30;
|
resolveFeatureAngle 30;
|
||||||
|
|
||||||
locationInMesh (0.035 0.043 0.017);
|
insidePoint (0.035 0.043 0.017);
|
||||||
|
|
||||||
allowFreeStandingZoneFaces true;
|
allowFreeStandingZoneFaces true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -193,10 +193,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (3 0.28 0.43);
|
insidePoint (3 0.28 0.43);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -94,7 +94,7 @@ castellatedMeshControls
|
|||||||
|
|
||||||
nCellsBetweenLevels 1;
|
nCellsBetweenLevels 1;
|
||||||
|
|
||||||
locationInMesh (0.025 0.025 0.075);
|
insidePoint (0.025 0.025 0.075);
|
||||||
}
|
}
|
||||||
|
|
||||||
addLayersControls
|
addLayersControls
|
||||||
|
|||||||
@ -116,7 +116,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (0 0.008 0.015);
|
insidePoint (0 0.008 0.015);
|
||||||
|
|
||||||
nCellsBetweenLevels 2;
|
nCellsBetweenLevels 2;
|
||||||
|
|
||||||
|
|||||||
@ -244,10 +244,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0.01 -0.5 0.01);
|
insidePoint (0.01 -0.5 0.01);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -134,10 +134,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-0.5 0 0);
|
insidePoint (-0.5 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -148,10 +148,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (3 3 0.43);
|
insidePoint (3 3 0.43);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -22,7 +22,7 @@ geometry
|
|||||||
|
|
||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
locationInMesh (-0.078 0.02 0.0);
|
insidePoint (-0.078 0.02 0.0);
|
||||||
|
|
||||||
featurePointControls
|
featurePointControls
|
||||||
{
|
{
|
||||||
|
|||||||
@ -108,7 +108,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (0 0 3);
|
insidePoint (0 0 3);
|
||||||
nCellsBetweenLevels 5;
|
nCellsBetweenLevels 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -155,10 +155,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (3.0001 3.0001 0.43);
|
insidePoint (3.0001 3.0001 0.43);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -100,7 +100,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
insidePoint (1e-5 1e-5 1e-5); // Offset from (0 0 0) to avoid
|
||||||
// coinciding with face or edge
|
// coinciding with face or edge
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -191,10 +191,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (581770 4.78580e+06 1050);
|
insidePoint (581770 4.78580e+06 1050);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -60,7 +60,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1 1 1);
|
insidePoint (1 1 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
|
|||||||
@ -112,10 +112,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0.001 0.001 0.001);
|
insidePoint (0.001 0.001 0.001);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -61,7 +61,7 @@ initialPoints
|
|||||||
|
|
||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
locationInMesh (0.1 0.1 0.2);
|
insidePoint (0.1 0.1 0.2);
|
||||||
|
|
||||||
featurePointControls
|
featurePointControls
|
||||||
{
|
{
|
||||||
|
|||||||
@ -132,10 +132,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-1 0 0);
|
insidePoint (-1 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -39,7 +39,7 @@ initialPoints
|
|||||||
|
|
||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
locationInMesh (0 0 0);
|
insidePoint (0 0 0);
|
||||||
|
|
||||||
geometryToConformTo
|
geometryToConformTo
|
||||||
{
|
{
|
||||||
|
|||||||
@ -136,10 +136,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh ${:foamyHexMesh.surfaceConformation.locationInMesh};
|
insidePoint ${:foamyHexMesh.surfaceConformation.insidePoint};
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -42,7 +42,7 @@ geometry
|
|||||||
|
|
||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
locationInMesh (0 -0.5 0);
|
insidePoint (0 -0.5 0);
|
||||||
|
|
||||||
featurePointControls
|
featurePointControls
|
||||||
{
|
{
|
||||||
|
|||||||
@ -26,7 +26,7 @@ geometry
|
|||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
// The z-coordinate of the plane is taken from here.
|
// The z-coordinate of the plane is taken from here.
|
||||||
locationInMesh (-0.6 0.3 0.0);
|
insidePoint (-0.6 0.3 0.0);
|
||||||
|
|
||||||
pointPairDistanceCoeff 0.001;
|
pointPairDistanceCoeff 0.001;
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@ geometry
|
|||||||
surfaceConformation
|
surfaceConformation
|
||||||
{
|
{
|
||||||
// The z-coordinate of the plane is taken from here.
|
// The z-coordinate of the plane is taken from here.
|
||||||
locationInMesh (0 0 0);
|
insidePoint (0 0 0);
|
||||||
|
|
||||||
pointPairDistanceCoeff 0.005;
|
pointPairDistanceCoeff 0.005;
|
||||||
|
|
||||||
|
|||||||
@ -141,11 +141,11 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
// This is an outside point locationInMesh (-0.033 -0.033 0.0033);
|
// This is an outside point insidePoint (-0.033 -0.033 0.0033);
|
||||||
locationInMesh (-9.23149e-05 -0.0025 -0.0025); // Inside point
|
insidePoint (-9.23149e-05 -0.0025 -0.0025); // Inside point
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
// are only on the boundary of corresponding cellZones or also allow
|
// are only on the boundary of corresponding cellZones or also allow
|
||||||
|
|||||||
@ -66,7 +66,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5);
|
insidePoint (1e-5 1e-5 1e-5);
|
||||||
}
|
}
|
||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
|
|||||||
@ -115,10 +115,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-0.7 0 0);
|
insidePoint (-0.7 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -115,10 +115,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-0.7 0 0);
|
insidePoint (-0.7 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -115,10 +115,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-0.7 0 0);
|
insidePoint (-0.7 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -334,10 +334,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0 0.1 1.0);
|
insidePoint (0 0.1 1.0);
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
// are only on the boundary of corresponding cellZones or also allow
|
// are only on the boundary of corresponding cellZones or also allow
|
||||||
|
|||||||
@ -115,10 +115,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-0.7 0 0);
|
insidePoint (-0.7 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -150,10 +150,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (-0.7 0 0);
|
insidePoint (-0.7 0 0);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -244,10 +244,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0.01 -0.5 0.01);
|
insidePoint (0.01 -0.5 0.01);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -162,10 +162,10 @@ castellatedMeshControls
|
|||||||
|
|
||||||
// After refinement patches get added for all refinementSurfaces and
|
// After refinement patches get added for all refinementSurfaces and
|
||||||
// all cells intersecting the surfaces get put into these patches. The
|
// all cells intersecting the surfaces get put into these patches. The
|
||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the insidePoint is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0 0 -10e-3);
|
insidePoint (0 0 -10e-3);
|
||||||
|
|
||||||
allowFreeStandingZoneFaces false;
|
allowFreeStandingZoneFaces false;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -48,7 +48,7 @@ castellatedMeshControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationInMesh (1e-5 1e-5 1e-5);
|
insidePoint (1e-5 1e-5 1e-5);
|
||||||
}
|
}
|
||||||
|
|
||||||
snapControls
|
snapControls
|
||||||
|
|||||||
Reference in New Issue
Block a user