BUG: ensight writer using incorrect first mesh time (fixes #1273)

- used fallback of 0 instead of the results time.
  This discrepancy caused the case file to have two timesets that
  only differed by the first (incorrect) entry.
This commit is contained in:
Mark Olesen 2019-04-08 16:58:47 +02:00
parent 8ab09daad0
commit f79f79421c

View File

@ -193,7 +193,7 @@ Foam::fileName Foam::ensightSurfaceWriter::writeCollated
scalar timeValue = 0.0;
readScalar(timeDir, timeValue);
scalar meshValue = 0;
scalar meshValue = timeValue;
if (!isDir(baseDir))
{