View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004212 | OpenFOAM | Bug | public | 2025-02-05 17:26 | 2025-02-05 18:07 |
Reporter | jherb | Assigned To | henry | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | 12 | ||||
Fixed in Version | dev | ||||
Summary | 0004212: scaleFactor is not applied in surfaceFieldValue function objects even though it is read and printed in the log | ||||
Description | The commit https://github.com/OpenFOAM/OpenFOAM-12/commit/74a1c352b240b99885fcb2f8bfa5d27a704fbd61#diff-89c3aa5ea9343eebe2469de7fcf5abb7ba4441da928122a6165b2c7c46007a00L339 removed the application of the scaleFactor in surfaceFieldValue function objects even though it is still read by https://github.com/OpenFOAM/OpenFOAM-12/blob/master/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.C#L542 and specified in the header file: https://github.com/OpenFOAM/OpenFOAM-12/blob/master/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.H#L101 The same applies to OpenFOAM-dev: https://github.com/OpenFOAM/OpenFOAM-dev/blob/master/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValueTemplates.C#L299 | ||||
Steps To Reproduce | Use a surfaceFieldValue based function object before and after the commit specified above, e.g. #includeFunc patchFlowRate ( name=inletMassFlow, patch=inlet, scaleFactor=360 ) The results are different | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-05 17:26 | jherb | New Issue | |
2025-02-05 18:07 | henry | Severity | major => trivial |
2025-02-05 18:07 | henry | Assigned To | => henry |
2025-02-05 18:07 | henry | Status | new => resolved |
2025-02-05 18:07 | henry | Resolution | open => fixed |
2025-02-05 18:07 | henry | Fixed in Version | => dev |
2025-02-05 18:07 | henry | Note Added: 0013524 |