Commit Graph

213 Commits

Author SHA1 Message Date
hnil
8afbd49322 add tpfa as lineariser for gasoil_energy (with diffusion) and gasoildiffusion 2023-08-31 15:26:31 +02:00
hnil
13308ed2af tpfa linearizer for thermal used for co2store and blackoil
-- add new function need for tpfa linearizer in thermal
-- set tpfa linearizer for blackoil with energy
-- set tpfa linearizer for gasoil and energy which include co2store
-- NB diffusion is disabled for this simulators
2023-08-29 16:03:44 +02:00
hnil
e55008b336 fixes no mpi compilation 2023-08-09 09:03:59 +02:00
hnil
3442a549cd moved cd to xxx_impl.hh to avoid
this way we do not have to add explicit initiation of all
variants of grids and gridView iterators in the library
2023-08-08 15:36:08 +02:00
hnil
030c06afb2 rearranged to make other grids easier to integrate with or without fem 2023-08-08 15:30:05 +02:00
hnil
66ff026008 remove use of hidden private defines for poly and alugrid
- fixed polygrid
- renamed executables to include blackoil in name
2023-08-08 15:30:05 +02:00
Markus Blatt
859e00254e [bugfix] Make sure MPI_FInalize is called before the return in main.
A correct MPI program should do that.

As MPI_Finalize is part of the destructor of MainObject we need to
make sure that it's destructor is called before the return statement.
We do that manually  by resetting the unique_ptr that we now use to
store the MainObject,
2023-07-19 13:44:12 +02:00
Tor Harald Sandve
7cf3f69cf9 Add gaswater solvent
Fix some places that assumed 3p + solvent
2023-05-26 16:24:38 +02:00
Tor Harald Sandve
1592ef8bd2 solvent + foam simulator 2023-05-24 16:03:09 +02:00
Tor Harald Sandve
6b9b0e3f0f enable disgasw and vapwat for thermal model 2023-05-22 15:33:58 +02:00
Tor Harald Sandve
ee39117771 Add energy + precsalt simulator 2023-05-12 10:49:17 +02:00
Tor Harald Sandve
b78498af03 Add disgasw to gas water saltprec vapwat simulator 2023-05-03 15:13:15 +02:00
Tor Harald Sandve
b8032c12bb add vapwat to gaswater simulators and output molfractions YMFWAT 2023-03-21 10:34:54 +01:00
Tor Harald Sandve
5028e0fbf1 Add gaswater energy simulator 2023-02-23 09:25:50 +01:00
Tor Harald Sandve
5854b8a7a1 Support gas dissolution in water (Rsw)
- adapt to interface change in waterPvt()
- add gas + water + disgasw simulator

Note
- MSW is not supported
- EQUIL initialization is not supported
2022-12-21 13:13:52 +01:00
Atgeirr Flø Rasmussen
a7a5a7a98d Make the Python interface use the TpfaLinearizer. 2022-10-04 11:44:35 +02:00
Atgeirr Flø Rasmussen
d7ba860bf1 Rename so that flow_blackoil_tpfa becomes flow_blackoil. 2022-10-03 14:14:15 +02:00
Atgeirr Flø Rasmussen
f6033702c9 Ensure DIFFUSE is supported.
This is only instantiated for two-phase gas/oil and for 3-phase blackoil.
Runtime safeguards have been added to avoid the mistake of running with
a simulator combination that silently ignores DIFFUSE.
2022-09-30 15:28:58 +02:00
Atgeirr Flø Rasmussen
616b145469 Make one- and two-phase sims also use fast assembly. 2022-09-30 09:21:34 +02:00
Elyes Ahmed
3832fd5eb7 fixing AquiferModel in AlugridModel 2022-09-26 10:43:42 +02:00
Elyes Ahmed
c4c4c7ac88 back to EclBaseAquiferModel 2022-09-23 14:01:40 +02:00
Elyes Ahmed
709a90b67d some fixes for flow_alugrid 2022-09-23 11:59:01 +02:00
Atgeirr Flø Rasmussen
923b1c555c Make flow_blackoil_tpfa.cpp an OPM Flow variant in the build system. 2022-08-09 14:53:58 +02:00
Atgeirr Flø Rasmussen
254330463e Disable diffusion for flow_blackoil_tpfa. 2022-08-09 11:11:36 +02:00
Atgeirr Flø Rasmussen
5fba14373b Modification to reduce PR to minimal changes. 2022-08-09 11:11:36 +02:00
Atgeirr Flø Rasmussen
9de8d12276 [WIP] not using the SmallElementContext or BlackOilIntensiveQuantitiesSimple. 2022-08-09 11:11:36 +02:00
Atgeirr Flø Rasmussen
cd729e5bd3 Simplify formatting. 2022-08-09 11:11:36 +02:00
Atgeirr Flø Rasmussen
750e7ac5dd Clean up and remove unnecessary parts from flow_blackoil_tpfa.cpp. 2022-08-09 11:11:36 +02:00
Atgeirr Flø Rasmussen
c48770dc5f Remove EclProblemTpfa, folding all methods into EclProblem. 2022-08-09 11:11:36 +02:00
Atgeirr Flø Rasmussen
64474c0267 Remove unused code. 2022-08-09 11:09:48 +02:00
Atgeirr Flø Rasmussen
657f4f5b8e Use separate TpfaLinearizer (again). 2022-08-09 11:09:48 +02:00
Atgeirr Flø Rasmussen
4d0fc84b1f No need for specific base local residual class. 2022-08-09 11:09:48 +02:00
Atgeirr Flø Rasmussen
9dba7865e9 No need for specific variant of base ad local linearizer. 2022-08-09 11:09:48 +02:00
Atgeirr Flø Rasmussen
743eff9cf6 Set prop for using tpfa linearizer to true. 2022-08-09 11:09:48 +02:00
Atgeirr Flø Rasmussen
6e46d332de Do not use the separate LinearizerTpfa class. 2022-08-09 11:09:48 +02:00
hnil
c5d547efff modification for global assembly 2022-08-09 11:09:48 +02:00
hnil
409f60642e new eclproblemtpfa 2022-08-09 11:09:48 +02:00
hnil
d53b6ad9fa added spesialisation for using simple property updating 2022-08-09 11:09:48 +02:00
hnil
b1f1981f16 changed flow_blackoil_tpfa with small intensive quantities 2022-08-09 11:09:48 +02:00
hnil
ad66808158 better test 2022-08-09 11:09:48 +02:00
hnil
18b03f3546 working refactoring 2022-08-09 11:09:48 +02:00
Elyes Ahmed
5c2b60bcd0 rebasing 2022-07-28 20:40:34 +02:00
Arne Morten Kvarving
a4d254b749 changed: introduce EclGenericVanguard::setParams
this is used transferring ownership of setup structures to the
simulator. drop all the flowEbosXXX set deck methods and use the
generic vanguard. also means various structs that were only passed
in the blackoil simulator are now passed in all simulators.
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
00c374be5c changed: remove support for internal summaryconfig handling in simulators 2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
4510f40b6d changed: remove support for internal schedule handling in simulators 2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
1a35c5ac47 changed: remove support for internal eclstate handling in simulators 2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
371c8058bc changed: remove support for internal deck handling in simulators 2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
c793aff5d1 changed: rename externalSetupTime
external is (or will be) implied
2022-06-24 15:06:13 +02:00
Paul Egberts
a255613452
Merge branch 'master' into vapoilwat 2022-05-11 11:55:54 +02:00
Markus Blatt
c66fb8a93d Added support for water-only and water-only + thermal to flow.
Also run the onephase tests with flow now.
2022-04-26 17:07:09 +02:00