Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make nonlinear system possible to change #6046

Merged
merged 2 commits into from
Mar 5, 2025
Merged

make nonlinear system possible to change #6046

merged 2 commits into from
Mar 5, 2025

Conversation

hnil
Copy link
Member

@hnil hnil commented Mar 4, 2025

Currently nonlinear system is named BlackoilModel form BlackoilModel.hpp. This make it possible to use other nonlinear systems and or modify the behavoir of BlackoilModel in separate executables. Uses maybe:

  • adding of mechanics and or fractures
  • other method to solve system including the linear/nonlinear system.

@hnil hnil requested review from bska and GitPaean March 4, 2025 13:18
@GitPaean
Copy link
Member

GitPaean commented Mar 4, 2025

jenkins build this please

@GitPaean
Copy link
Member

GitPaean commented Mar 4, 2025

flowexp_blackoil and test_glift1 do not compile with the PR. There might be more while I am not sure.

@GitPaean
Copy link
Member

GitPaean commented Mar 4, 2025

jenkins build this please

@@ -25,7 +25,6 @@
#define OPM_BLACKOILMODEL_PROPERTIES_HEADER_INCLUDED

#include <opm/simulators/flow/FlowProblemBlackoilProperties.hpp>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you update, you can avoid deleting this line. It is not related to this PR.

@GitPaean
Copy link
Member

GitPaean commented Mar 5, 2025

It looks generally fine to me. But I am not sure about the naming,

The Property name is NonLinearSystem, and we assign BlackoilModel to it, and use it as Model.

Should we name NonLinearSystem to be PhysicalModel or something related?

@bska @akva2 @atgeirr

@GitPaean
Copy link
Member

GitPaean commented Mar 5, 2025

It does not look like an interesting discussion. I am getting the PR in now since it is easy to adjust if needed later.

@GitPaean GitPaean merged commit c7c0aeb into OPM:master Mar 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants