Repository navigation
Conversation
GitPaean
force-pushed
the
flowcomp-tpfa
branch
from
November 23, 2026 12:41
76a7eba to
686103b
Compare
Member
Author
|
jenkins build this please https://ci.opm-project.org/job/opm-simulators-PR-builder/11266/ |
This was referenced Nov 23, 2026
A new local residual for the PT-flash model computes the same transmissibility-based flux as the element-context assembly. The TPFA linearizer assembles total rates rather than rates per unit volume, so flow_comp no longer uses a volumetric residual, and the convergence check divides by the cell volume to keep its tolerances. Compositional runs never read boundary conditions, so a deck with BCCON used to run with no-flow boundaries. Such decks are now rejected.
GitPaean
force-pushed
the
flowcomp-tpfa
branch
from
November 23, 2026 14:03
686103b to
c42d4b5
Compare
GitPaean
marked this pull request as ready for review
November 23, 2026 14:32
Member
Author
|
jenkins build this please |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switch
flow_compfrom the element-context linearizer to the TPFA linearizer, as part of moving away from element-context assembly.A new local residual for the PT-flash model computes the same transmissibility-based flux as the element-context assembly, so serial results are unchanged on the compositional test decks. The TPFA linearizer assembles total rates rather than rates per unit volume, so
flow_compno longer uses a volumetric residual. The well coupling already follows that setting, and the convergence check now divides by the cell volume so its tolerances keep their meaning. Because the linear solver now sees unscaled rows, results can move within the linear solver tolerance. On the test decks this shows up only in parallel runs, and stays within the test tolerances.Also:
--separate-sparse-source-terms, which the TPFA linearizer provides;CompositionalFluidStatehas nopvtRegionIndex();flow_comprejects decks withBCCONinstead of running them with no-flow boundaries.