Corrected comments: inbetween -> in between
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -35,7 +35,7 @@ Description
|
||||
- if extruding boundary faces:
|
||||
- convert boundary faces to mappedWall patches
|
||||
- extrude edges of faceZone as a \<zone\>_sidePatch
|
||||
- extrude edges inbetween different faceZones as a
|
||||
- extrude edges in between different faceZones as a
|
||||
(nonuniformTransform)cyclic \<zoneA\>_\<zoneB\>
|
||||
- extrudes into master direction (i.e. away from the owner cell
|
||||
if flipMap is false)
|
||||
@ -107,10 +107,10 @@ becomes
|
||||
|
||||
|
||||
Notes:
|
||||
- when extruding cyclics with only one cell inbetween it does not
|
||||
- when extruding cyclics with only one cell in between it does not
|
||||
detect this as a cyclic since the face is the same face. It will
|
||||
only work if the coupled edge extrudes a different face so if there
|
||||
are more than 1 cell inbetween.
|
||||
are more than 1 cell in between.
|
||||
|
||||
\endverbatim
|
||||
|
||||
@ -641,7 +641,7 @@ void calcEdgeMinMaxZone
|
||||
|
||||
// Count the number of faces in patches that need to be created. Calculates:
|
||||
// zoneSidePatch[zoneI] : the number of side faces to be created
|
||||
// zoneZonePatch[zoneA,zoneB] : the number of faces inbetween zoneA and B
|
||||
// zoneZonePatch[zoneA,zoneB] : the number of faces in between zoneA and B
|
||||
// Since this only counts we're not taking the processor patches into
|
||||
// account.
|
||||
void countExtrudePatches
|
||||
@ -671,7 +671,7 @@ void countExtrudePatches
|
||||
|
||||
if (eFaces.size() == 2)
|
||||
{
|
||||
// Internal edge - check if inbetween different zones.
|
||||
// Internal edge - check if in between different zones.
|
||||
if (minZoneID[edgeI] != maxZoneID[edgeI])
|
||||
{
|
||||
zoneZonePatch[minZoneID[edgeI]*nZones+maxZoneID[edgeI]]++;
|
||||
@ -683,7 +683,7 @@ void countExtrudePatches
|
||||
&& extrudeEdgeGlobalFaces[edgeI].size() == 2
|
||||
)
|
||||
{
|
||||
// Coupled edge - check if inbetween different zones.
|
||||
// Coupled edge - check if in between different zones.
|
||||
if (minZoneID[edgeI] != maxZoneID[edgeI])
|
||||
{
|
||||
const edge& e = extrudePatch.edges()[edgeI];
|
||||
@ -691,7 +691,7 @@ void countExtrudePatches
|
||||
WarningInFunction
|
||||
<< "Edge " << edgeI
|
||||
<< "at " << pts[e[0]] << pts[e[1]]
|
||||
<< " is a coupled edge and inbetween two different zones "
|
||||
<< " is a coupled edge and in between two different zones "
|
||||
<< minZoneID[edgeI] << " and " << maxZoneID[edgeI] << endl
|
||||
<< " This is currently not supported." << endl;
|
||||
|
||||
@ -2082,7 +2082,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Now we'll have:
|
||||
// zoneSidePatch[zoneA] : number of faces needed on the side of zoneA
|
||||
// zoneZonePatch_min[zoneA,zoneB] : number of faces needed inbetween A,B
|
||||
// zoneZonePatch_min[zoneA,zoneB] : number of faces needed in between A,B
|
||||
|
||||
|
||||
// Add the zone-side patches.
|
||||
@ -2097,7 +2097,7 @@ int main(int argc, char *argv[])
|
||||
);
|
||||
|
||||
|
||||
// Add the patches inbetween zones
|
||||
// Add the patches in between zones
|
||||
addInterZonePatches
|
||||
(
|
||||
mesh,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -725,7 +725,7 @@ void Foam::meshDualiser::createFacesAroundBoundaryPoint
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Different dual cells but no feature edge"
|
||||
<< " inbetween point:" << pointi
|
||||
<< " in between point:" << pointi
|
||||
<< " coord:" << mesh_.points()[pointi]
|
||||
<< abort(FatalError);
|
||||
}
|
||||
@ -1331,7 +1331,7 @@ void Foam::meshDualiser::setRefinement
|
||||
// - single cells on either side: triangulate
|
||||
// - multiple cells: create single face between unique cell pair. Only
|
||||
// create face where cells differ on either side.
|
||||
// - non-feature face : inbetween cell zones.
|
||||
// - non-feature face : in between cell zones.
|
||||
forAll(faceToDualPoint_, facei)
|
||||
{
|
||||
if (faceToDualPoint_[facei] != -1 && mesh_.isInternalFace(facei))
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -34,7 +34,7 @@ Description
|
||||
|
||||
Usually to preserve boundaries:
|
||||
- all boundary faces are featureFaces
|
||||
- all edges and points inbetween different patches are
|
||||
- all edges and points in between different patches are
|
||||
featureEdges/points.
|
||||
|
||||
In same way you can also preserve internal faces (e.g. faceZones)
|
||||
|
||||
@ -44,8 +44,8 @@ Usage
|
||||
Normally only constructs a single face between two cells. This single
|
||||
face might be too distorted. splitAllFaces will create a single face for
|
||||
every original cell the face passes through. The mesh will thus have
|
||||
multiple faces inbetween two cells! (so is not strictly upper-triangular
|
||||
anymore - checkMesh will complain)
|
||||
multiple faces in between two cells! (so is not strictly
|
||||
upper-triangular anymore - checkMesh will complain)
|
||||
|
||||
- \par -doNotPreserveFaceZones:
|
||||
By default all faceZones are preserved by marking all faces, edges and
|
||||
@ -362,7 +362,7 @@ int main(int argc, char *argv[])
|
||||
argList::addBoolOption
|
||||
(
|
||||
"splitAllFaces",
|
||||
"have multiple faces inbetween cells"
|
||||
"have multiple faces in between cells"
|
||||
);
|
||||
argList::addBoolOption
|
||||
(
|
||||
@ -373,7 +373,7 @@ int main(int argc, char *argv[])
|
||||
(
|
||||
"doNotPreserveFaceZones",
|
||||
"disable the default behaviour of preserving faceZones by having"
|
||||
" multiple faces inbetween cells"
|
||||
" multiple faces in between cells"
|
||||
);
|
||||
|
||||
#include "setRootCase.H"
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -255,7 +255,7 @@ labelList getFaceOrder
|
||||
|
||||
|
||||
// Determine face order such that inside region faces are sorted
|
||||
// upper-triangular but inbetween region faces are handled like boundary faces.
|
||||
// upper-triangular but in between region faces are handled like boundary faces.
|
||||
labelList getRegionFaceOrder
|
||||
(
|
||||
const primitiveMesh& mesh,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -31,7 +31,7 @@ Description
|
||||
cell-face-cell walking without crossing
|
||||
- boundary faces
|
||||
- additional faces from faceset (-blockedFaces faceSet).
|
||||
- any face inbetween differing cellZones (-cellZones)
|
||||
- any face in between differing cellZones (-cellZones)
|
||||
|
||||
Output is:
|
||||
- volScalarField with regions as different scalars (-detectOnly)
|
||||
|
||||
@ -462,9 +462,9 @@ static label markRegions
|
||||
|
||||
|
||||
// Type of region.
|
||||
// -1 : edge inbetween uncollapsed faces.
|
||||
// -2 : edge inbetween collapsed faces
|
||||
// >=0 : edge inbetween uncollapsed and collapsed region. Returns region.
|
||||
// -1 : edge in between uncollapsed faces.
|
||||
// -2 : edge in between collapsed faces
|
||||
// >=0 : edge in between uncollapsed and collapsed region. Returns region.
|
||||
static label edgeType
|
||||
(
|
||||
const triSurface& surf,
|
||||
@ -474,7 +474,7 @@ static label edgeType
|
||||
{
|
||||
const labelList& eFaces = surf.edgeFaces()[edgeI];
|
||||
|
||||
// Detect if edge is inbetween collapseRegion and non-collapse face
|
||||
// Detect if edge is in between collapseRegion and non-collapse face
|
||||
bool usesUncollapsed = false;
|
||||
label usesRegion = -1;
|
||||
|
||||
@ -545,7 +545,7 @@ static labelListList getOutsideVerts
|
||||
|
||||
forAll(edgeFaces, edgeI)
|
||||
{
|
||||
// Detect if edge is inbetween collapseRegion and non-collapse face
|
||||
// Detect if edge is in between collapseRegion and non-collapse face
|
||||
label regionI = edgeType(surf, collapseRegion, edgeI);
|
||||
|
||||
if (regionI >= 0)
|
||||
@ -870,16 +870,16 @@ label collapseBase
|
||||
{
|
||||
const edge& e = edges[edgeI];
|
||||
|
||||
// Detect if edge is inbetween collapseRegion and non-collapse face
|
||||
// Detect if edge is in between collapseRegion and non-collapse face
|
||||
label regionI = edgeType(surf, collapseRegion, edgeI);
|
||||
|
||||
if (regionI == -2)
|
||||
{
|
||||
// inbetween collapsed faces. nothing needs to be done.
|
||||
// in between collapsed faces. nothing needs to be done.
|
||||
}
|
||||
else if (regionI == -1)
|
||||
{
|
||||
// edge inbetween uncollapsed faces. Handle these later on.
|
||||
// edge in between uncollapsed faces. Handle these later on.
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user