View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004041 | OpenFOAM | Feature | public | 2023-12-15 09:08 | 2023-12-15 11:31 |
Reporter | blttkgl | Assigned To | will | ||
Priority | low | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Unix | OS | Other | OS Version | (please specify) |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004041: Histogram function object headers are duplicate names | ||||
Description | The histogram function object writes the column headers of both bin ranges and the histogram values as the name of the field that is being used in the histogram function object. While there is nothing wrong with the function object itself, this may create issues if the user is using e.g. python for data post-processing, which causes duplicate header issue. I propose changing the header of the log from: # <fieldName> <fieldName> to # bin_value <fieldName> for easier post-processing and clearer description of the histogram data | ||||
Tags | No tags attached. | ||||
|
The first column are actually values of the field in question. It's the second column that is the proportion of the volume of the mesh occupied by that value. So, I think the most accurate header would be "# <fieldName> v/vTotal", or similar. I have made this change here: https://github.com/OpenFOAM/OpenFOAM-dev/commit/5cf2109eff5da10150fe3416a281ef389c060f54 |