Skip to content

High: 'ratio' supersaturation disables dissolution and changes growth driving force #32

@bernalde

Description

@bernalde

Part of the model-correctness audit — see #17.

Severity: high | Category: logic | Location: Kinetics.py lines 838-839, 850-858, 884-885

What's wrong

For sup_sat_type='ratio', sup_sat = (c-csat)/csat + 1 = c/csat, which is >0 even under undersaturation (0<S<1). The dissolution/growth switch keys off the sign of this same sup_sat (line 853 if sup_sat >= 0), so dissolution can never trigger under 'ratio', and the growth driving force differs from the 'relative' case.


Verification: 2/2 adversarial reviewers confirmed (refuted: 0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcorrectnessModel/numerical correctness defect

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions