Better comments and debug
This commit is contained in:
parent
87294064da
commit
972482204a
1 changed files with 10 additions and 10 deletions
|
@ -26,11 +26,11 @@ Description
|
||||||
Add pointZones/faceZones/cellZones to the mesh from similar named
|
Add pointZones/faceZones/cellZones to the mesh from similar named
|
||||||
pointSets/faceSets/cellSets.
|
pointSets/faceSets/cellSets.
|
||||||
|
|
||||||
There is one catch: for faceZones you also need to specify a flip
|
For faceZones the user needs to specify a flip
|
||||||
condition which basically denotes the side of the face. In this application
|
condition which denotes the side of the face. This application
|
||||||
it reads a cellSet (xxxCells if 'xxx' is the name of the faceSet) which
|
reads a cellSet (xxxMasterCells if 'xxx' is the name of the faceSet) which
|
||||||
is the masterCells of the zone. Master cell is the one IN FRONT of the
|
is the masterCells of the zone. Master cell is the one IN FRONT of the
|
||||||
face, ie. the one into which the face normal points. If master cells are
|
face, ie. the one INTO which the face normal points. If master cells are
|
||||||
not found, take faces without a flip
|
not found, take faces without a flip
|
||||||
|
|
||||||
If one is not interested in sidedness specify the -noFlipMap
|
If one is not interested in sidedness specify the -noFlipMap
|
||||||
|
@ -163,7 +163,8 @@ int main(int argc, char *argv[])
|
||||||
word setName(set.name() + "MasterCells");
|
word setName(set.name() + "MasterCells");
|
||||||
|
|
||||||
Info<< "Using cellSet " << setName
|
Info<< "Using cellSet " << setName
|
||||||
<< " to determine the master side of the zone." << nl
|
<< " to determine the master side of the face zone "
|
||||||
|
<< set.name() << nl
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
// Load corresponding cells
|
// Load corresponding cells
|
||||||
|
@ -331,10 +332,10 @@ int main(int argc, char *argv[])
|
||||||
sz,
|
sz,
|
||||||
new cellZone
|
new cellZone
|
||||||
(
|
(
|
||||||
set.name(), //name
|
set.name(), // name
|
||||||
cellLabels, //addressing
|
cellLabels, // addressing
|
||||||
sz, //index
|
sz, // index
|
||||||
mesh.cellZones() //pointZoneMesh
|
mesh.cellZones() // pointZoneMesh
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
mesh.cellZones().writeOpt() = IOobject::AUTO_WRITE;
|
mesh.cellZones().writeOpt() = IOobject::AUTO_WRITE;
|
||||||
|
@ -352,7 +353,6 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Info<< "Writing mesh." << endl;
|
Info<< "Writing mesh." << endl;
|
||||||
|
|
||||||
if (!mesh.write())
|
if (!mesh.write())
|
||||||
|
|
Reference in a new issue