Output and assigning well rates for opm-geochemistry module#6893
Open
svenn-t wants to merge 2 commits intoOPM:masterfrom
Open
Output and assigning well rates for opm-geochemistry module#6893svenn-t wants to merge 2 commits intoOPM:masterfrom
svenn-t wants to merge 2 commits intoOPM:masterfrom
Conversation
Introduces a compile-time variable to enable geochemistry module. Species well rates are assigened for standard and multisegmented wells.
akva2
reviewed
Mar 5, 2026
| assignSpeciesConcentrations(const unsigned globalDofIdx, | ||
| const AssignFunction& concentration) | ||
| { | ||
| std::for_each( |
| assignMineralConcentrations(const unsigned globalDofIdx, | ||
| const AssignFunction& concentration) | ||
| { | ||
| std::for_each( |
|
|
||
| // Output species concentrations | ||
| std::for_each( | ||
| species.begin(), species.end(), |
| } | ||
| ); | ||
| // Output mineral concentrations | ||
| std::for_each( |
| auto solutionVectors = std::array { | ||
| DataEntry{"PH", UnitSystem::measure::identity, pH_} | ||
| }; | ||
| std::for_each( |
|
|
||
| } // namespace Opm | ||
|
|
||
| #endif No newline at end of file |
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.
This PR introduces output and well rate assignment for the new OPM geochemistry module, opm-geochemistry. Additionally, a new geochemistry property is introduced for activating the geochemistry module.
Depends on OPM/opm-common#5036