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:
parent
8ab09daad0
commit
f79f79421c
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user