View Issue Details

IDProjectCategoryView StatusLast Update
0001336OpenFOAMBugpublic2016-02-03 20:54
Reportermatthias Assigned Tohenry  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOtherOS Version(please specify)
Summary0001336: usage of multiple fieldAverage function objects
DescriptionHi,

sometimes during postprocessing multiple instances of the fieldAverage function object are needed. However, in the fieldAverage.C file, the name of the dictionary propsDictHeader is fixed to "fieldAveragingProperties". I suggest to change this to the unique name of the fieldAverage object given by user in the system/control dictionary. This would be beneficial when using multiple function objects.
Each instance of the fieldAverage function object overwrites the fieldAveragingProperties dictionary every time it is called which breaks the averaging of the previous fieldAverage function object.

Best regards

Matthias
Additional InformationSometimes the postprocessing pipeline needs to average a quantity like Uprime2Mean first, then do some calculations using the averaged field and finally average the calculated field again.
TagsNo tags attached.

Activities

henry

2016-02-03 20:54

manager   ~0005903

Resolved in OpenFOAM-dev by commit 6bd588914f8befef33a6075afe8e36de0b70d653

Issue History

Date Modified Username Field Change
2014-07-03 12:43 matthias New Issue
2016-02-03 20:54 henry Note Added: 0005903
2016-02-03 20:54 henry Status new => resolved
2016-02-03 20:54 henry Resolution open => fixed
2016-02-03 20:54 henry Assigned To => henry