Commit a18d7b94 authored by Mark Olesen's avatar Mark Olesen

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.
parent 4592b576
......@@ -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))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment