View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001790 | OpenFOAM | Bug | public | 2015-07-19 16:57 | 2015-08-16 23:25 |
Reporter | petebachant | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0001790: fieldAveragingProperties.totalTime is incorrect when run in post-processing | ||||
Description | When performing field averaging with execFlowFunctionObjects, totalTime is not calculated properly, since it is iterating over written time directories, not time steps in the solver, while still using the run time's deltaT value. A sample written using execFlowFunctionObjects with fieldAverage on the pimpleFoam/pitzDaily case: FoamFile { version 2.0; format ascii; class dictionary; location "0.025/uniform"; object fieldAveragingProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // U { totalIter 26; totalTime 0.00376778; } And using fieldAverage with the solver: FoamFile { version 2.0; format ascii; class dictionary; location "0.025/uniform"; object fieldAveragingProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // U { totalIter 181; totalTime 0.0251; } | ||||
Steps To Reproduce | Use the following function in pimpleFoam/pitzDaily and run with both the solver and execFlowFunctionObjects: functions { fieldAverage1 { type fieldAverage; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; resetOnRestart true; resetOnOutput false; fields ( U { mean on; prime2Mean on; base time; } ); } } | ||||
Tags | No tags attached. | ||||
related to | 0001789 | closed | fieldAverage restarts averaging every time step if run with execFlowFunctionObjects and cyclicAMI |
|
Another possible related bug is that outputControl does not seem to work when using fieldAverage and execFlowFunctionObjects. The mean fields are written in every directory regardless of the outputControl settings. |
|
Field averaging is not currently supported using execFlowFunctionObjects and this would rarely be appropriate anyway. If you need accurate averages you should average during the run. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-19 16:57 | petebachant | New Issue | |
2015-07-19 17:07 | petebachant | Note Added: 0005099 | |
2015-07-19 17:11 | henry | Note Added: 0005100 | |
2015-07-20 21:22 | henry | Status | new => closed |
2015-07-20 21:22 | henry | Assigned To | => henry |
2015-07-20 21:22 | henry | Resolution | open => suspended |
2015-08-16 23:25 | wyldckat | Relationship added | related to 0001789 |