View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001010 | OpenFOAM | Bug | public | 2013-09-13 05:38 | 2013-12-16 09:04 |
Reporter | gucong | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Linux (Arch Linux) | OS Version | (please specify) |
Summary | 0001010: reconstructPar only copy the "uniform" folder in the last time directory specified | ||||
Description | For example, when execute the following command reconstructPar -time 10:20 the "uniform" folder is copied only for time 20. None other time directories in the reconstructed case will have the "uniform" folder. | ||||
Steps To Reproduce | run reconstructPar on a case with "uniform" folders. (eg. case with adjustable time step) | ||||
Additional Information | See the ending part of "reconstructPar.C". It do not use the index "timeI" in the body. ---------------------------------------------------------- // If there are any "uniform" directories copy them from // the master processor forAll(timeDirs, timeI) { fileName uniformDir0 = databases[0].timePath()/"uniform"; if (isDir(uniformDir0)) { cp(uniformDir0, runTime.timePath()); } } | ||||
Tags | No tags attached. | ||||
|
copy-uniform.patch (868 bytes)
--- reconstructPar.C.orig 2013-11-21 17:32:04.943788901 -0600 +++ reconstructPar.C 2013-11-21 17:29:12.303792014 -0600 @@ -670,17 +670,14 @@ Info<< "No lagrangian fields" << nl << endl; } } - } - } - // If there are any "uniform" directories copy them from - // the master processor - forAll(timeDirs, timeI) - { - fileName uniformDir0 = databases[0].timePath()/"uniform"; - if (isDir(uniformDir0)) - { - cp(uniformDir0, runTime.timePath()); + // If there are any "uniform" directories copy them from + // the master processor + fileName uniformDir0 = databases[0].timePath()/"uniform"; + if (isDir(uniformDir0)) + { + cp(uniformDir0, runTime.timePath()); + } } } |
|
fixed in bug #1107 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-13 05:38 | gucong | New Issue | |
2013-11-21 23:35 | gucong | File Added: copy-uniform.patch | |
2013-12-15 21:58 | gucong | Note Added: 0002689 | |
2013-12-16 09:04 |
|
Status | new => resolved |
2013-12-16 09:04 |
|
Fixed in Version | => 2.2.x |
2013-12-16 09:04 |
|
Resolution | open => fixed |
2013-12-16 09:04 |
|
Assigned To | => user4 |