Skip to content

Duplicate R3bar accumulation line doubles bubble perturbation #1206

Description

@sbryngelson

Bug

In `src/pre_process/m_assign_variables.fpp`, the R3bar moment accumulation line is duplicated, causing the bubble radius cubed moment to be accumulated twice per iteration.

File: `src/pre_process/m_assign_variables.fpp`, lines 235-236

Impact: R3bar is double-counted, producing incorrect bubble volume fraction perturbations during pre-processing initialization with polydisperse bubbles.

Severity: High — bubble perturbation initialization computes wrong moment values.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working or doesn't seem right

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions