Skip to content

FEAT: Add offset to hydrostatic and lithostatics BCs#1705

Open
jwboth wants to merge 4 commits into
developfrom
offset-bcs
Open

FEAT: Add offset to hydrostatic and lithostatics BCs#1705
jwboth wants to merge 4 commits into
developfrom
offset-bcs

Conversation

@jwboth

@jwboth jwboth commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Addresses #1698. Introduces the possibility to add offset to hydrostatic pressure and lithostatic stress BCs. When using lithostatic multipliers unequal 1, the offset is typically different for each dimension such that the lithostatic stress offset needs to be a vector.

Types of changes

What types of changes does this PR introduce to PorePy?
Put an x in the boxes that apply.

  • Minor change (e.g., dependency bumps, broken links).
  • Bugfix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Testing (contribution related to testing of existing or new functionality).
  • Documentation (contribution related to adding, improving, or fixing documentation).
  • Maintenance (e.g., improve logic and performance, remove obsolete code).
  • Other:

Checklist

Put an x in the boxes that apply or explain briefly why the box is not relevant.

  • The documentation is up-to-date.
  • Static typing is included in the update.
  • This PR does not duplicate existing functionality.
  • The update is covered by the test suite (including tests added in the PR).
  • If new skipped tests have been introduced in this PR, pytest was run with the --run-skipped flag.

@IvarStefansson IvarStefansson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some minor comments on documentation.

Comment thread src/porepy/applications/boundary_conditions/model_boundary_conditions.py Outdated
Comment thread src/porepy/applications/boundary_conditions/model_boundary_conditions.py Outdated
Comment thread src/porepy/applications/boundary_conditions/model_boundary_conditions.py Outdated
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.

3 participants