Skip to content

Remove dormant, dimensionally-incorrect diffusivity line (fixes #182) - #184

Open
MattBrst wants to merge 1 commit into
timflow-org:devfrom
MattBrst:fix/182-diffusivity-dormant-bug
Open

MattBrst wants to merge 1 commit into
timflow-org:devfrom
MattBrst:fix/182-diffusivity-dormant-bug

Conversation

@MattBrst

Copy link
Copy Markdown
Contributor

Fix #182

…ow-org#182)

self.D was never actually computed from this commented-out line -
AquiferData.initialize() already computes it correctly as
self.T / self.Scoefaq (Scoefaq = Saq * Haq), which is what's used
elsewhere (e.g. the eigenvalue computation). The leftover comment in
__init__ used self.T / self.Saq directly, which is dimensionally
wrong (Saq is specific storage [1/L], not the dimensionless/areal
storage coefficient) and would also fail at runtime since self.T
isn't set yet at that point in __init__. Dead code, so removing it
has no functional effect - verified a model still builds, solves,
and reports the same aq.D as before.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant