Skip to content

[wip] refact: Fit ALM as LM in the Poromechanics hierarchy#4101

Draft
jafranc wants to merge 3 commits into
feature/jhuang/thermalSinglePhaseALMfrom
jafranc/feat/proposal-01-thermalALM
Draft

[wip] refact: Fit ALM as LM in the Poromechanics hierarchy#4101
jafranc wants to merge 3 commits into
feature/jhuang/thermalSinglePhaseALMfrom
jafranc/feat/proposal-01-thermalALM

Conversation

@jafranc

@jafranc jafranc commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR is proposal to refacttor ALM as a Contact policy for Poromechanics classs to restrict code duplicaiton

Make MGR/Sequential support clear and loud:

  • GEOS_MGR_STRATEGY_NOT_SUPPORTED() MACRO to avoid code duplication while being temporary (until proper recipe is implemented and tested) [left aside SinglePhaseReservoirAndWells, CoupledReservoirAndWellsBase to focus on ALM]
  • forceSequential() to be explicit about this (also temporary) traits of this class [could be extended to PhaseField Models]

Fit ALM in PM hierarchy:

  • normalizing ALMSinglePhase to be a PoromechanicsConformingFractures and not a SinglePhasePoromechanics anymore (as done for LM)
  • moving up faceNodalArea and faceIntegral to ContactSolverBase
  • moving up constexpr maxNumNodes
  • temp patching hasStabilization/getStabilizationName while waiting for bubble to reframe as Stabilization

Make Bubble a stabilization in ALM Contact

Warning

WIP - Proposal - DO NOT MERGE

jafranc added 3 commits July 21, 2026 07:11
- normalizing ALMSinglePhase to be a PoromechanicsConformingFractures and not a SinglePhasePoromechanics anymore (as done for LM)
- moving up `faceNodalArea` and `faceIntegral` to ContactSolverBase
- moving up constexpr maxNumNodes
- temp patching `hasStabilization/getStabilizationName` while waiting for bubble to reframe as Stabilization
@jafranc jafranc changed the title Jafranc/feat/proposal 01 thermalALM [wip] refact: Fit ALM as LM in the Poromechanics hierarchy Jul 23, 2026
@jafranc jafranc self-assigned this Jul 23, 2026
@jafranc
jafranc marked this pull request as draft July 23, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant