View Issue Details

IDProjectCategoryView StatusLast Update
0004258OpenFOAMPatchpublic2025-07-24 14:32
ReporterBenedictSmith Assigned Towill  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Version13 
Fixed in Version13 
Summary0004258: linearTsub diameter model incorrectly calculated
DescriptionI 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.
TagsNo tags attached.

Issue History

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