mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -193,7 +193,7 @@ Foam::fileName Foam::ensightSurfaceWriter::writeCollated
|
|||||||
scalar timeValue = 0.0;
|
scalar timeValue = 0.0;
|
||||||
readScalar(timeDir, timeValue);
|
readScalar(timeDir, timeValue);
|
||||||
|
|
||||||
scalar meshValue = 0;
|
scalar meshValue = timeValue;
|
||||||
|
|
||||||
if (!isDir(baseDir))
|
if (!isDir(baseDir))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user