View Issue Details

IDProjectCategoryView StatusLast Update
0000426OpenFOAMBugpublic2012-02-23 15:04
Reporteruser331Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.4
Summary0000426: Restarting solvers that use engineTime gives uneccesary error messages
DescriptionIn sprayEngineFoam and coldEngineFoam (any solver built to use engineTime) the time file in the uniform directory for any given time directory has the time recorded in real time seconds as opposed to engine time crank angle. When restarting from this timestep, the solver complains that there is a mismatch between the start time and the time recorded in the uniform/time file, and if this doesn't matter then the time file should be deleted.

The solver runs and there appear to be no issues with the solution itself, but this error is distracting. It might be a good idea to check out the compatibility of engineTime to ensure there aren't any hidden problems.
Steps To Reproduce1. Start any engine case
2. Wait for at least a single time directory to be written
3. Stop the run
4. Start the run again from the last timestep (both of latestTime and startTime produce the same behaviour)
TagsNo tags attached.

Activities

user4

2012-02-23 15:04

  ~0001049

Fixed in b35b2c4d23de4c83aaf05a3ee84908d7025a6200.

As you already mentioned it is purely a check giving a warning. We now additionally write the time name so if this is the same as the time directory name there is no value comparison done.

Thanks for reporting.

Issue History

Date Modified Username Field Change
2012-02-20 17:58 user331 New Issue
2012-02-23 15:04 user4 Note Added: 0001049
2012-02-23 15:04 user4 Status new => resolved
2012-02-23 15:04 user4 Fixed in Version => 2.1.x
2012-02-23 15:04 user4 Resolution open => fixed
2012-02-23 15:04 user4 Assigned To => user4