Skip to content

fix: reporting invalid input of mechanical properties#3717

Open
jhuang2601 wants to merge 15 commits intodevelopfrom
bugfix/jhuang/mechanical_range
Open

fix: reporting invalid input of mechanical properties#3717
jhuang2601 wants to merge 15 commits intodevelopfrom
bugfix/jhuang/mechanical_range

Conversation

@jhuang2601
Copy link
Contributor

The Biot coefficient should be in the range of [0,1]; therefore, the condition 0<K<=Ks should be enforced.

Following #3050, PR adds necessary checks and error reporting for any values that fall outside this range.

Copy link
Contributor

@castelletto1 castelletto1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be a more stringent lower bound on Biot's coefficient based on porosity. Regardless, the check introduced here is needed. Thanks @jhuang2601 !

@paveltomin
Copy link
Collaborator

@jhuang2601 is this ready to go?

@jhuang2601 jhuang2601 marked this pull request as ready for review August 13, 2025 15:19
@jhuang2601 jhuang2601 added ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI ci: run code coverage enables running of the code coverage CI jobs and removed flag: no rebaseline Does not require rebaseline labels Aug 13, 2025
@castelletto1 castelletto1 added the flag: no rebaseline Does not require rebaseline label Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: run code coverage enables running of the code coverage CI jobs ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: no rebaseline Does not require rebaseline type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants