Skip to content

docs: update tutorial example for thermoporoelastic consolidation - #4110

Merged
jhuang2601 merged 11 commits into
fix/frankfei/thermoPorousSolidTotalStressfrom
docs/npillardou/ThermoPoromechanics-tutorial
Aug 11, 2026
Merged

docs: update tutorial example for thermoporoelastic consolidation#4110
jhuang2601 merged 11 commits into
fix/frankfei/thermoPorousSolidTotalStressfrom
docs/npillardou/ThermoPoromechanics-tutorial

Conversation

@npillardou

@npillardou npillardou commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR updates the script to generate documentation figures by computing directly the analytical solutions without need of csv files.

This branch is based on Frank Feifan's branch which includes the thermal stress contribution directly in the effective stress calculation.

A stress figure has been added to see the difference between Frank Feifan's branch and develop :

  • develop ( without adding the thermal stress in post-processing script)
Verification_tutorial_with_develop_branch
  • current
Verification_tutorial

MelReyCG and others added 9 commits July 7, 2026 14:46
Allow to query statistics computation for solver (for reservoir reference pressure for wells), without needing an output statistics component. Statistics are no longer recomputed for each convergence step but only at iteration start.
- `RegionStatistics` classes for resulting data storages at different levels:
    - sub-regions mpi-local kernel compute read-backs,
    - (cell element) regions,
    - solver discretisation `MeshLevel`,
- `StatsAggregator` classes to compute & reduce the statistics to rank 0,
- `StatsTask` `Group`, the user component to schedule flow statistics computation & output to log & CSV.
)

* update publications

* fix error for doc build

* fix the failure for the button-ref directive

* switch to button-link

* add path

* fix links for reference

* Fixed hyperlinks

* address review comment

---------

Co-authored-by: DENEL Bertrand <bertrand.denel@total.com>
This wommit introduces:

- An improved well schema layout and code refactor better suited for well modeling. The previous implementation primarily targeted Jacobian generation requirements for the coupled reservoir and well system.

- The well estimator is used to select the active well constraint by solving the well system assuming fixed reservoir conditions and selecting the constraint with the highest or lowest well flowing pressure.

the estimator is applied at beginning of Jacobian assembly of the coupled system frequency determined via input setting estimator is a data member of WellControl and a tailed version of PhysicsSolver for wells logic underpins future capability to replace the segmented well model with other formulations.
This is a breaking change, detailed migration instructions and migration script are posted at #4081
some changes that were needed to succesfully compile and pass unit tests in our environment (AOCC Compiler, AOCL).
1. Variable shadowing solved,
2. testSinglePhaseMFDPolyhedral failed intermittently during mesh initialization, crash solved by disabled FPE trapping.
Solved a bug where a shut well following a non-converged open well reset the max well residual to zero, letting the simulation falsely converge. Affected compositional models only (well segment flow residuals).
Fix a bug breaking determinism in numerical Jacobian tests, where iterate-dependent constitutive state persisted across Newton attempts.
Update CompositionalMultiphaseBase::resetStateToBeginningOfStep to explicitly discard warm-started state held by the fluid model by calling fluid.initializeState(). This guarantees that rolled-back steps start clean and do not inherit iterate-dependent state from failed Newton attempts.
@npillardou npillardou added the ci: run CUDA builds Allows to triggers (costly) CUDA jobs label Aug 10, 2026
@npillardou npillardou added 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 Aug 10, 2026
@jhuang2601 jhuang2601 changed the title Docs/npillardou/thermo poromechanics tutorial docs: update tutorial example for thermoporoelastic consolidation Aug 11, 2026

@frankfeifan frankfeifan 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.

Looks great. Thank you!

@jhuang2601
jhuang2601 merged commit be786c8 into fix/frankfei/thermoPorousSolidTotalStress Aug 11, 2026
19 of 22 checks passed
@jhuang2601
jhuang2601 deleted the docs/npillardou/ThermoPoromechanics-tutorial branch August 11, 2026 20:06
victorapm pushed a commit that referenced this pull request Aug 17, 2026
…#3884)

* fix effective stress for thermoporomechancis
* avoid hiding overloaded function
* added an integrated test
* move temperature derivative to DiscretizationOps
* remove thermal strain part from the avgPlasticStrain calculation
* added sequential version
* fixed the names and commas
* docs: update tutorial example for thermoporoelastic consolidation (#4110)
* update script for readthedocs CI error
* fix the NameError issue for readthedoc build
* rebaseline

---------

Co-authored-by: Nicolas Pillardou <71120126+npillardou@users.noreply.github.com>
Co-authored-by: Jian Huang <53012159+jhuang2601@users.noreply.github.com>
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 type: docs type: documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants