View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003078 | OpenFOAM | Bug | public | 2018-09-27 20:44 | 2018-09-29 14:57 |
Reporter | Shorty | Assigned To | henry | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 18.04 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0003078: Bug in Time class | ||||
Description | Hi all, I found a bug - which is in my case a critical one. My openComfort library has something like that: // Copy AoA of 0 folder to corresponding one const word newPath = mesh_.time().path() + mesh_.time().timeName(); cp ( mesh_.time().path() + "/0/AoA", mesh_.time().path() + "/" + mesh_.time().timeName() + "/AoA" ); I just copy the file AoA which is in the time folder 0 to new time folders. That works perfectly as far as we do not have a time folder named 0.orig or 0.[a-z]. A simple analysis of runTime.times() tells us that we get an additional time entry if there is a folder named 0.[a-z]. However, to demonstrate the problem, we can just use the postProcess utility. I would expect that the time folder 0.[a-z] is not accounted for reading. Additionally, the folder is renamed to be 0 instead of 0.orig. Please see below. | ||||
Steps To Reproduce | Adding Info<< runTime.times() << endl; std::terminate(); into the postProcess.C file after #include "createTime.H" Now if we run, e.g., the pitzDaily case and do some postProcess stuff: postProcess -func average we get: 4 ( 0 constant 0 0 100 100 200 200 ) If we add the folder 0.orig, we increase the time folders by one (adding the time folder 0 again): 5 ( 0 constant 0 0 0 0 100 100 200 200 ) I can investigate into that problem if it is a problem. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-09-27 20:44 | Shorty | New Issue | |
2018-09-28 16:35 | henry | Note Added: 0010077 | |
2018-09-28 21:04 | Shorty | Note Added: 0010078 | |
2018-09-29 14:57 | henry | Assigned To | => henry |
2018-09-29 14:57 | henry | Status | new => resolved |
2018-09-29 14:57 | henry | Resolution | open => fixed |
2018-09-29 14:57 | henry | Fixed in Version | => dev |