mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Disabled writing zero-sized faceZones since upset tecio library
This commit is contained in:
@ -1077,6 +1077,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
const faceZone& pp = zones[zoneI];
|
const faceZone& pp = zones[zoneI];
|
||||||
|
|
||||||
|
if (pp.size() > 0)
|
||||||
|
{
|
||||||
const indirectPrimitivePatch ipp
|
const indirectPrimitivePatch ipp
|
||||||
(
|
(
|
||||||
IndirectList<face>(mesh.faces(), pp),
|
IndirectList<face>(mesh.faces(), pp),
|
||||||
@ -1155,6 +1157,13 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
writer.writeConnectivity(ipp);
|
writer.writeConnectivity(ipp);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Info<< " Skipping zero sized faceZone " << zoneI
|
||||||
|
<< "\t" << pp.name()
|
||||||
|
<< nl << endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user