View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003882 | OpenFOAM | Bug | public | 2022-09-13 10:22 | 2022-09-13 12:57 |
Reporter | Muerio | Assigned To | will | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 10 | ||||
Fixed in Version | 10 | ||||
Summary | 0003882: externalWallHeatFluxTemperature Q handled incorrectly | ||||
Description | In OF10 the parameter Q for the boundary condition externalWallHeatFluxTemperature is handeled incorrectly: Parameters q and Q are summed up, but power Q is not transformed to a heat flux before adding it to the sum. Q should be divided by the area of the patch before adding it to the sum. See line in github: https://github.com/OpenFOAM/OpenFOAM-10/blob/8d73542293f9f15151181b5ba0c7696e03bb2ad5/src/ThermophysicalTransportModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.C#L307 | ||||
Steps To Reproduce | Use any case with a externalWallHeatFluxTemperature patch. Set parameter Q to any value, don't set q. Evaluating heat flux one the patch during simulation shows Q is used as heat flux, not power. | ||||
Tags | No tags attached. | ||||
|
Thanks for the report. Resolved in dev and in version 10 by the following commits: https://github.com/OpenFOAM/OpenFOAM-dev/commit/e84f3d110c026a3cd6b012fddcc1387a7bef573c https://github.com/OpenFOAM/OpenFOAM-10/commit/0d8947e2a1b2e5028595cbc057004f3f504e07b7 |