Skip to content

[com1] Add additional input options for rheological models#1254

Merged
fso42 merged 2 commits intomasterfrom
JL_AdditionalInputOptionsForRheologicalModels
Mar 26, 2026
Merged

[com1] Add additional input options for rheological models#1254
fso42 merged 2 commits intomasterfrom
JL_AdditionalInputOptionsForRheologicalModels

Conversation

@JuLa96
Copy link
Copy Markdown
Contributor

@JuLa96 JuLa96 commented Mar 18, 2026

An additional parameter input option has been introduced for the Bingham, Herschel and Bulkley and O'Brien and Julien rheological models, making it possible to define the yield shear stress tauy and the dynamic viscosity eta directly in the configuration file.

By default, tauy and eta are used directly from the configuration file. If either of these two parameters is set to 0, the quantities are computed using alpha, beta and cv.

See issue: OpenNHM/DebrisFrame#61

@JuLa96 JuLa96 added enhancement New feature or request DebrisFrame labels Mar 18, 2026
@JuLa96 JuLa96 requested review from PaulaSp3 and fso42 March 18, 2026 13:06
@qltysh
Copy link
Copy Markdown
Contributor

qltysh bot commented Mar 18, 2026

All good ✅

@qltysh
Copy link
Copy Markdown
Contributor

qltysh bot commented Mar 18, 2026

Qlty

Coverage Impact

⬇️ Merging this pull request will decrease total coverage on master by 0.17%.

Modified Components (1)

RatingComponent% Diff
Coverage rating: C Coverage rating: C
com1DFA0.0%

Modified Files with Diff Coverage (1)

RatingFile% DiffUncovered Line #s
Coverage rating: C Coverage rating: F
avaframe/com1DFA/checkCfg.py0.0%190-288
Total0.0%
🤖 Increase coverage with AI coding...

In the `JL_AdditionalInputOptionsForRheologicalModels` branch, add test coverage for this new code:

- `avaframe/com1DFA/checkCfg.py` -- Line 190-288

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@JuLa96 JuLa96 requested review from PaulaSp3 and fso42 March 19, 2026 13:17
@JuLa96 JuLa96 force-pushed the JL_AdditionalInputOptionsForRheologicalModels branch from 24d9546 to 51a32ed Compare March 20, 2026 08:14
@JuLa96 JuLa96 requested a review from PaulaSp3 March 20, 2026 08:15
Update DFAfunctionsCython.pyx

Additional input options for rheological models

Add additional input option for Herschel-Bulkley

Update theoryCom1DFA.rst

Update theoryCom1DFA.rst due to changes in input options for the rheological models

Update com1DFACfg.ini due to changes in input options for the rheological models

Update test_DFAfunctionsCython.py due to changes in input options for the rheological models

Update checkCfg.py due to changes in input options for rheological models

qlty fmt
@fso42 fso42 force-pushed the JL_AdditionalInputOptionsForRheologicalModels branch from 7f08295 to 36b2ba5 Compare March 26, 2026 10:09
@fso42
Copy link
Copy Markdown
Contributor

fso42 commented Mar 26, 2026

Standardtests ok

@fso42 fso42 merged commit c3fb94b into master Mar 26, 2026
3 of 4 checks passed
@fso42 fso42 deleted the JL_AdditionalInputOptionsForRheologicalModels branch March 26, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DebrisFrame enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants