Skip to content

feat: correct solid mechanics bc#3986

Merged
castelletto1 merged 8 commits intodevelopfrom
feature/oduran/correct_solid_mechanics_bc
Feb 27, 2026
Merged

feat: correct solid mechanics bc#3986
castelletto1 merged 8 commits intodevelopfrom
feature/oduran/correct_solid_mechanics_bc

Conversation

@OmarDuran
Copy link
Contributor

@OmarDuran OmarDuran commented Feb 27, 2026

This PR introduces exact integration of traction terms on 2D boundaries with highly distorted cells.

The setup employed for verification defines a unit cube domain, $\Omega = [0,1]^3$, subjected to the following boundary conditions:

  • The “negative” faces ($x=0$, $y=0$, $z=0$) are assigned zero normal displacement, $u \cdot n = 0$.

  • The “positive” faces ($x=1$, $y=1$, $z=1$) are subjected to a uniform normal compressive stress, $\sigma \cdot n = -10 \text{MPa}$

The resulting configuration is in a state of pure hydrostatic stress throughout the body (no shear stress components).

Before (note the nonplanar displacement contours and the unphysical shear components):
state_before

After (note the planar displacement contours and the numerically zero shear components):
state_after

The ideas of this implementation and its coverage are provided in testFEMConsistency.cpp from PR-3957.

Credits to @castelletto1 for providing the test mesh.

@OmarDuran OmarDuran requested a review from bd713 February 27, 2026 03:41
@OmarDuran OmarDuran self-assigned this Feb 27, 2026
@OmarDuran OmarDuran 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 labels Feb 27, 2026
@OmarDuran OmarDuran changed the title Feature/oduran/correct solid mechanics bc feat: correct solid mechanics bc Feb 27, 2026
@castelletto1 castelletto1 added flag: requires rebaseline Requires rebaseline branch in integratedTests and removed ci: run code coverage enables running of the code coverage CI jobs labels Feb 27, 2026
OmarDuran and others added 4 commits February 27, 2026 07:56
…sLagrangianFEM.cpp

Co-authored-by: Nicola Castelletto <38361926+castelletto1@users.noreply.github.com>
…sLagrangianFEM.cpp

Co-authored-by: Nicola Castelletto <38361926+castelletto1@users.noreply.github.com>
…n.cpp

Co-authored-by: Nicola Castelletto <38361926+castelletto1@users.noreply.github.com>
@OmarDuran
Copy link
Contributor Author

The following are the justifications for a update the baseline ID:

  • ContactMechanics_TFrac_smoke.xml (ok): Corrected face scaling; quadrilateral faces are now properly defined and scaled.
  • ContactMechanics_PEBICrack_smoke (ok): Crack faces corrected to two quadrilaterals exactly aligned with the top boundary.
  • ExponentialDecayPermeability_edfm_smoke (ok): Fixed face scaling; quadrilateral faces are now correctly defined.
  • ALM_singlephasePoromechanics_curvedFrac_smoke (ok): Corrected boundary integration for deformed quadrilateral faces.
  • DeviatedElasticWellbore_smoke (ok): Corrected boundary integration for deformed quadrilateral faces.

@OmarDuran OmarDuran added the ci: run code coverage enables running of the code coverage CI jobs label Feb 27, 2026
@castelletto1 castelletto1 merged commit b66c8db into develop Feb 27, 2026
21 of 22 checks passed
@castelletto1 castelletto1 deleted the feature/oduran/correct_solid_mechanics_bc branch February 27, 2026 21:58
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: requires rebaseline Requires rebaseline branch in integratedTests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants