View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004258 | OpenFOAM | Patch | public | 2025-07-23 09:54 | 2025-07-24 14:32 |
Reporter | BenedictSmith | Assigned To | will | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | 13 | ||||
Fixed in Version | 13 | ||||
Summary | 0004258: linearTsub diameter model incorrectly calculated | ||||
Description | I believe that the linearTsubDiameter model (applications/modules/multiphaseEuler/phaseSystem/diameterModels/linearTsubDiameter) incorrectly calculates the diameter of bubbles in multiphase flow. d_ = max ( d1_, min ( d2_, (d1_*(Tsub - Tsub2_) + d2_*(Tsub - Tsub1_))/(Tsub2_ - Tsub1_) ) ); (Lines 117 - 125) The calculation does not give a diameter that varies linearly between d1 and d2; instead, for some values of subcooling it produces a negative diameter. I believe that (Tsub - Tsub2_) should be (Tsub2_ - Tsub). Please see attached spreadsheet. | ||||
Tags | No tags attached. | ||||
|
|
|
Agreed. Thanks for the report. Fixed in dev and in v13: https://github.com/OpenFOAM/OpenFOAM-dev/commit/5df3a0d4a037e738d1efdbfae7228e02ec3e28c7 https://github.com/OpenFOAM/OpenFOAM-13/commit/ba0607fcb30ad88fdd576480d08441a40c5d3754 |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-07-23 09:54 | BenedictSmith | New Issue | |
2025-07-23 09:54 | BenedictSmith | File Added: Bubble diameter models.xlsx | |
2025-07-24 14:32 | will | Assigned To | => will |
2025-07-24 14:32 | will | Status | new => resolved |
2025-07-24 14:32 | will | Resolution | open => fixed |
2025-07-24 14:32 | will | Fixed in Version | => 13 |
2025-07-24 14:32 | will | Note Added: 0013632 |