View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003586 | OpenFOAM | Bug | public | 2020-11-02 10:07 | 2020-11-04 08:44 |
Reporter | michael.mueller-wrd | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | GNU/Linux | OS | centOS | OS Version | (please specify) |
Fixed in Version | dev | ||||
Summary | 0003586: chtMultiRegionFoam: output of wallHeatFlux function object deviates during runtime and as postProcess | ||||
Description | In a chtMultiRegionFoam case, I noticed deviations in the output wallHeatFlux function object when (a) executed during runtime as entry in controlDict and when (b) executing the postprocessing command after the run finished. While the difference for the fluid region is rather small, the differences for solid regions is rather large. I would assume, there should be no difference at all. This behaviour may also be reproduced with tutorial cases. | ||||
Steps To Reproduce | For "heatedDuct" tutorial: 1. add function object to controlDict: ... functions { wallHeatFlux_heater { type wallHeatFlux; libs ( "libfieldFunctionObjects.so" ); writeControl writeTime; region heater; } wallHeatFlux_metal { type wallHeatFlux; libs ( "libfieldFunctionObjects.so" ); writeControl writeTime; region metal; } wallHeatFlux_fluid { type wallHeatFlux; libs ( "libfieldFunctionObjects.so" ); writeControl writeTime; region fluid; } } 2. run case 3. postprocess data after run is finished: $> chtMultiRegionFoam -postProcess -region fluid -func wallHeatFlux -latestTime $> chtMultiRegionFoam -postProcess -region metal -func wallHeatFlux -latestTime $> chtMultiRegionFoam -postProcess -region heater -func wallHeatFlux -latestTime 4. compare output: $> diff postProcessing/fluid/wallHeatFlux/0/wallHeatFlux.dat postProcessing/fluid/wallHeatFlux_fluid/0/wallHeatFlux.dat $> diff postProcessing/heater/wallHeatFlux/0/wallHeatFlux.dat postProcessing/heater/wallHeatFlux_heater/0/wallHeatFlux.dat $> diff postProcessing/metal/wallHeatFlux/0/wallHeatFlux.dat postProcessing/metal/wallHeatFlux_metal/0/wallHeatFlux.dat | ||||
Additional Information | You have been working on this function object recently, in the dev version. Unfortunately, I could not yet find the time to check this issue with the latest dev version -- maybe it's already fixed with recent changes!? | ||||
Tags | No tags attached. | ||||
|
> Unfortunately, I could not yet find the time to check this issue with the latest dev version -- maybe it's already fixed with recent changes!? Yes it is likely that the changes in OpenFOAM-dev have resolved this issue, let us know when you have tested it. |
|
Yes, I can confirm that it is already resolved in the latest dev version. And the refined header of the output is very helpful, too. Thanks. |
|
Already fixed in OpenFOAM-dev |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-02 10:07 | michael.mueller-wrd | New Issue | |
2020-11-02 10:16 | henry | Note Added: 0011652 | |
2020-11-02 10:17 | henry | Note Edited: 0011652 | |
2020-11-04 08:37 | michael.mueller-wrd | Note Added: 0011659 | |
2020-11-04 08:44 | henry | Assigned To | => henry |
2020-11-04 08:44 | henry | Status | new => resolved |
2020-11-04 08:44 | henry | Resolution | open => no change required |
2020-11-04 08:44 | henry | Fixed in Version | => dev |
2020-11-04 08:44 | henry | Note Added: 0011660 |