mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- most notably the '%' which is used as a separator in places caused problems. EHN: only use valid ensight file/variable names for writers - fixed: foamToEnsightParts, ensightSurfaceWriter - pending: foamToEnsight BUG: no geometry written for foamToEnsightParts with moving mesh (fixes #142) - an incorrect path was causing the issue
20 lines
479 B
C
20 lines
479 B
C
// check for "points" in all of the result directories
|
|
// - could restrict to the selected times
|
|
|
|
bool hasMovingMesh = false;
|
|
if (timeDirs.size() > 1)
|
|
{
|
|
hasMovingMesh = true;
|
|
for (label i=0; i < timeDirs.size() && hasMovingMesh; ++i)
|
|
{
|
|
hasMovingMesh = IOobject
|
|
(
|
|
"points",
|
|
timeDirs[i].name(),
|
|
polyMesh::meshSubDir,
|
|
mesh,
|
|
IOobject::NO_READ
|
|
).typeHeaderOk<pointIOField>(true);
|
|
}
|
|
}
|