mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user