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
committed by Andrew Heather
parent 7cd40afa3a
commit d8d95a6c95

View File

@ -98,7 +98,7 @@ Foam::fileName Foam::surfaceWriters::ensightWriter::writeCollated
mkDir(outputFile.path());
}
scalar meshValue = 0;
scalar meshValue = timeValue;
label meshIndex = 0;
label timeIndex = 0;