ENH: foamToVTK attempt finite-area write if -with-ids is specified

- previously filtered on the existence of area fields, but with
  faMesh::TryNew this is not required anymore.

STYLE: enable -verbose for various parallel utilities (consistency)
This commit is contained in:
Mark Olesen
2022-05-11 11:26:28 +02:00
parent 9c727abb84
commit efe057897f
5 changed files with 7 additions and 5 deletions

View File

@ -44,7 +44,7 @@ if (doFiniteArea)
const label nAreaFields =
objects.count(stringListOps::foundOp<word>(fieldTypes::area));
if (nAreaFields)
if (nAreaFields || withMeshIds)
{
faMeshPtr = faMesh::TryNew(meshProxy.baseMesh());
}
@ -67,6 +67,8 @@ if (doFiniteArea)
),
Pstream::parRun()
);
Info<< " Area : "
<< args.relativePath(writer.output()) << nl;
writer.beginFile(areaMesh.name());