View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002148 | OpenFOAM | Bug | public | 2016-07-12 18:31 | 2016-07-19 11:59 |
Reporter | MattijsJ | Assigned To | henry | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 13.2 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002148: postprocess option does not execute functionObject::end | ||||
Description | The -postProcess option does not seem to be executing the functionObject::end(). I was using a coded functionObject (like in potentialFoam/cylinder/system/controlDict) which defines codeEnd. Is this a design decision? | ||||
Tags | No tags attached. | ||||
|
In the case of -postProcess option what does "end" mean? After all of the times? After all the selected times? Or after each time? |
|
end: when the application finishes (so after doing whatever times you've selected) In the postProcess mode the only difference is that it is obtaining fields by reading instead of calculating (?) so the behaviour should be consistent. |
|
Running and post-processing are not the same, particularly with respect to averaging. The last time of a simulation is also not the same as the last dump-time selected during post-processing. Calling the 'end' function for the last dump-time selected during post-processing may or may not be appropriate depending on the particular functionObject. However, this issue could be handled within the functionObject 'end' function because a flag is provided to indicate the mode of operation, run or post-process. |
|
Resolved by commit edca9a4a1a9bf4b4f0a3e11020fe43ef5dbe06ff |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-12 18:31 | MattijsJ | New Issue | |
2016-07-12 19:07 | henry | Note Added: 0006522 | |
2016-07-14 11:08 | MattijsJ | Note Added: 0006525 | |
2016-07-14 11:57 | henry | Note Added: 0006526 | |
2016-07-19 11:58 | henry | Note Added: 0006538 | |
2016-07-19 11:58 | henry | Status | new => resolved |
2016-07-19 11:58 | henry | Fixed in Version | => dev |
2016-07-19 11:58 | henry | Resolution | open => fixed |
2016-07-19 11:58 | henry | Assigned To | => henry |