Commit Graph
100 Commits
Author SHA1 Message Date
Atgeirr Flø Rasmussen 8699cec954 Avoid call to FaceDir::FromIntersectionIndex() in hot path.
Call is expensive, might also be good to improve the function in opm-common. (FaceDir.cpp)
2024-04-26 16:43:50 +02:00
Atgeirr Flø Rasmussen cdc86b46df Merge pull request #874 from totto82/fixNNCFlows
Fix Flows/Flores for NNCs
2024-02-12 20:45:37 +01:00
Atgeirr Flø Rasmussen edbe1a113a Merge pull request #873 from blattms/nnc-fix-flows-flores
[bugfix] Do not try to save FLOWS or FLOWRES values for NNCs.
2024-02-07 11:50:40 +01:00
Atgeirr Flø Rasmussen ec8f84429e Merge pull request #859 from totto82/nodispgas
ignore dispersion in gas phase
2024-01-23 09:25:33 +01:00
Atgeirr Flø Rasmussen 2ca9dc5526 Merge pull request #786 from hnil/scaled_blackoil_new
- based on earlier pullrequest which is outdated reintroduced pressur…
2024-01-19 10:43:53 +01:00
Atgeirr Flø Rasmussen 073fe7594a Fix compile errors for non-blackoil models.
Also fix minor nitpicks.
2024-01-19 09:08:17 +01:00
Atgeirr Flø Rasmussen e623ae6701 Merge pull request #847 from daavid00/dispersivity
Support for mechanical dispersion
2023-11-17 08:49:54 +01:00
Atgeirr Flø Rasmussen 6cece6bc49 Merge pull request #841 from totto82/fixBCFree
Fix BC Free for 2p problems
2023-10-17 14:16:48 +02:00
Atgeirr Flø Rasmussen 42c399d6ff Merge pull request #826 from akva2/janitoring
anonymize unused parameters
2023-09-05 08:54:19 +02:00
Atgeirr Flø Rasmussen 9b55bd57e7 Avoid collective operations in single-domain calls. 2023-08-25 12:25:30 +02:00
Atgeirr Flø Rasmussen 67baba967e Merge pull request #821 from akva2/move_dunefem_adaptation_to_separate_class
move the dynamic refinement part related to dune fem to separate class
2023-08-11 09:31:19 +02:00
Atgeirr Flø Rasmussen ecfb186c38 Merge pull request #799 from hnil/geomech
added enableMech
2023-07-26 19:26:17 +02:00
Atgeirr Flø Rasmussen 8c79af321a Fix OPENMP ifdefs. 2023-06-16 08:46:18 +02:00
Atgeirr Flø Rasmussen 630f620b18 Merge pull request #811 from blattms/allow-omp-settings-from-simulators
ThreadManager: Allow querying number of threads from OpenMP in init.
2023-06-14 13:57:57 +02:00
Atgeirr Flø Rasmussen e7f3a7cdea Add linearization support for local solves.
This is intended to be used for nonlinear domain decomposition methods.
2023-06-08 09:24:01 +02:00
Atgeirr Flø Rasmussen e43cb70e2c Bugfix: use soMax consistent with BlackoilIntensiveQuantities::update(). 2023-05-26 13:20:37 +02:00
Atgeirr Flø Rasmussen 65739e15d6 Account for the recycleFirstIteration() false possibility. 2023-05-23 21:34:16 +02:00
Atgeirr Flø Rasmussen 2628472f7a Bugfix: honor timeIdx argument of invalidateAndUpdateIntensiveQuantities(). 2023-05-23 21:34:16 +02:00
Atgeirr Flø Rasmussen 4131572a7b Remove unnecessary copy of GridView. 2023-05-10 13:48:22 +02:00
Atgeirr Flø Rasmussen 2ba830ebca Remove some unneeded members to speed up stencil building. 2023-05-10 13:48:22 +02:00
Atgeirr Flø Rasmussen b1c5e06609 Make existing behaviour default. 2023-03-08 16:42:36 +01:00
Atgeirr Flø Rasmussen 26c953a1f9 Use diagonal block pointers for well source contributions. 2023-03-07 14:30:55 +01:00
Atgeirr Flø Rasmussen cb85fcf217 Merge pull request #791 from hnil/ebos_changes
- changes to be able to override methods in blacoilmodel
2023-03-02 13:16:06 +01:00
Atgeirr Flø Rasmussen 6a3715e01b Merge pull request #789 from atgeirr/add_timing_block
Add timing block
2023-02-28 15:24:07 +01:00
Atgeirr Flø Rasmussen cda0a9daa3 Include missing header and minor adjustments. 2023-02-28 14:09:40 +01:00
Atgeirr Flø Rasmussen 4bc0869ebd Ensure serialization of the solution object also with dune-fem. 2023-02-17 11:26:39 +01:00
Atgeirr Flø Rasmussen 29ff1c75f7 Merge pull request #770 from hnil/matrix_direct_access
Matrix direct access
2022-12-19 13:19:20 +01:00
Atgeirr Flø Rasmussen 9fabd9b49d Merge pull request #761 from atgeirr/fix-multflt-early-bug
Allow updateStoredTransmissibilities() before createMatrix_().
2022-12-01 08:14:05 +01:00
Atgeirr Flø Rasmussen 684332bb3f Allow updateStoredTransmissibilities() before createMatrix_().
A bug was triggered by a case placing MULTFLT at the start of the SCHEDULE.
Then the required structures would be empty and the simulator bombed. With
the change, we increase robustness and address this.
2022-11-30 11:53:17 +01:00
Atgeirr Flø Rasmussen 9b6c493da4 Merge pull request #746 from totto82/fixThB
fix bug in boundary conditions for energy by adding the scaling factor
2022-11-03 08:54:23 +01:00
Atgeirr Flø Rasmussen 477acf0c6c Add interface for updating stored parameters in linearizers.
Implement for the TpfaLinearizer to update transmissibilities.
2022-10-27 09:56:01 +02:00
Atgeirr Flø Rasmussen 7dde54c21a Merge pull request #730 from blattms/dune-2.9-compiles
Fixes compilation with DUNE 2.9 and 2.6
2022-10-17 15:22:03 +02:00
Atgeirr Flø Rasmussen 64f7895c76 Register all (not just some) of the vtk parameters unconditionally. 2022-10-14 10:42:46 +02:00
Atgeirr Flø Rasmussen 83e17fd44d Merge pull request #712 from totto82/changeDefaultMaxMinTemp
change default max/min temp in newton clamping
2022-10-13 21:52:04 +02:00
Atgeirr Flø Rasmussen 44628a902d Use current dir for output by default.
For OPM Flow, this only affects VTK output.
2022-10-13 16:00:58 +02:00
Atgeirr Flø Rasmussen 521b057035 Remove unneeded timeIdx argument. 2022-09-29 14:13:23 +02:00
Atgeirr Flø Rasmussen 66e5da9709 Address review comments. 2022-09-29 09:26:43 +02:00
Atgeirr Flø Rasmussen 7981fb92e0 Use std::array instead of C arrays. 2022-09-28 10:11:30 +02:00
Atgeirr Flø Rasmussen 7551517401 Finalize boundary treatment for TpfaLinearizer. 2022-09-28 10:11:30 +02:00
Atgeirr Flø Rasmussen 64cbf7e035 Add ScalarFluidSystem (for other classes' use). 2022-09-28 08:45:45 +02:00
Atgeirr Flø Rasmussen a050c1e945 Improve doc of dirId() method. 2022-09-28 08:45:13 +02:00
Atgeirr Flø Rasmussen 6526f9a29a Add boundary condition treatment to TpfaLinearizer. 2022-09-28 08:39:27 +02:00
Atgeirr Flø Rasmussen bc6e4ffa26 Merge pull request #717 from hnil/cpr_analytic
made definition of model fluid,indices and primaryvariables public
2022-09-21 09:12:03 +02:00
Atgeirr Flø Rasmussen d034fc3b58 Merge pull request #713 from atgeirr/fix-fast-assembly-twophase
Bugfix: make TPFA version of local linearizer work for two-phase runs.
2022-09-01 16:50:55 +02:00
Atgeirr Flø Rasmussen 92e9bd5c37 Bugfix: make TPFA version of local linearizer work for two-phase runs. 2022-09-01 13:52:58 +02:00
Atgeirr Flø Rasmussen 23b9e36331 Merge pull request #703 from atgeirr/faster_assembly_minimal
Faster assembly minimal
2022-08-10 11:20:51 +02:00
Atgeirr Flø Rasmussen 0d4c19b723 Remove unneeded timeIdx function parameters. 2022-08-10 10:00:12 +02:00
Atgeirr Flø Rasmussen 3e8c024cdb Ensure test suite compiles.
Adding new methods to problem class, and using the Context API for the
BlackoilIntensiveQuantities' porosity update.
2022-08-09 16:24:54 +02:00
Atgeirr Flø Rasmussen c0f3b0072b Remove Unused.hpp inclusion. 2022-08-09 16:14:27 +02:00
Atgeirr Flø Rasmussen 3b0c492b52 Add static asserts to prevent bugs from incompatible combinations. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen aa4e0d4d58 Ensure cache is updated, not only invalidated, when Newton update fails. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen dd01af1f3b More safeguarding that the intensive quantities cache is updated. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen f4e98c6d32 Cleanup in new classes. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 75a5a3d135 Remove changes not needed for a minimal PR. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 4001fcffcf Replace assert() with exception. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 733b6e6b11 Settle for handling wells the current way for now. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen d3f01b003d Turn on specific well processing (thereby disabling drift comp f. ex.). 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen efd6214643 Follow function renaming. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen ec944ff5e3 Order operations in the same way as existing code. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 9ff81d2a42 Do fluxes before storage, as for the existing linearizer. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen b6986a24f7 Make the flux actually a velocity, also for the new callpath. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 6c0d5ea8c5 Refactoring in BlackOilLocalResidualTpfa. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 1b2c18f089 Remove unused code block, refactor addStorage(). 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 658b366ee1 Fix: update rockCompTransMultiplier_. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen ad83a9531c Refactor and unify the BlackoilIntensiveQuantities[Simple] classes. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen eb8d3a0b2d Use simpler APIs. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 0013c49aa2 Use existing formula for compressibility effect. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 8543e677c1 Reduce differences. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 1d3fbb54c8 Make the blackoil intensive quantities classes more similar. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 7f05fcd7b7 Minor update to match change in eclproblem API. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 75c8f34e3e Make extrusion factors work properly. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 73d609f7b5 Comment out unused items in SmallElementContext. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen d756c36cd7 Undoing minor changes not required anymore. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 552e38bf1d Remove unused parts of TpfaLinearizer. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen bd6b42b859 Undo changes to fvbaselinearizer.hh. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen d424262a54 Make TpfaLinearizer separate class (again). 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen f21ca0c63e Remove unneeded class. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 8a15e2da08 Remove unused file. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 4aa4788740 Remove unused file.
Content was added to fvbaselinearizer.hh.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 4764d174b2 Add TPFA-specific linearizer variant. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen 323cfbd5f6 Comment out OpenMP code. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen cf208af541 Minor compile fix with HAVE_DUNE_FEM. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen d57c47ff32 Merge pull request #693 from akva2/micro_optims
Small micro optimizations
2022-05-05 15:55:52 +02:00
Atgeirr Flø Rasmussen 22cabb6855 Merge pull request #677 from akva2/remove_gcc7_compat
use std::filesystem directly
2021-11-01 15:29:57 +01:00
Atgeirr Flø Rasmussen dda940686c Merge pull request #670 from ElyesAhmed/communicators2
Communicators2
2021-09-21 14:11:45 +02:00
Atgeirr Flø Rasmussen 056364bb35 Merge pull request #658 from akva2/add_cc_quell_warning
Remove explicit assignment-operator from class
2021-05-19 14:23:55 +02:00
Atgeirr Flø Rasmussen 732931d952 Merge pull request #637 from goncalvesmachadoc/patch-1
Remove water saturation as primary variable of flow_onephase
2020-12-01 08:35:16 +01:00
Atgeirr Flø Rasmussen e04f5844ca Disable property macros.
Still available by manually overriding OPM_ENABLE_OLD_PROPERTY_MACROS,
but not by default. This change has been communicated for a long time.
2020-10-19 09:54:31 +02:00
Atgeirr Flø Rasmussen aa6d11c472 Merge pull request #629 from atgeirr/add-help-all
Add --help-all option that also prints hidden options.
2020-10-16 15:47:33 +02:00
Atgeirr Flø Rasmussen 3c83f5df0f Add --help-all option that also prints hidden options. 2020-10-16 13:55:45 +02:00
Atgeirr Flø Rasmussen 0c4749b2d4 Merge pull request #626 from totto82/updateIntensive
Make a method that invalidate and updates the intensive quantities
2020-09-28 09:02:30 +02:00
Atgeirr Flø Rasmussen a0be8f8ed4 Merge pull request #619 from atgeirr/sequential-squashed
Add LinearizationType, which will be used for sequential methods.
2020-06-20 11:24:29 +02:00
Atgeirr Flø Rasmussen 378b293918 Merge pull request #618 from akva2/janitoring
reorganize to avoid unused warnings without MPI
2020-06-19 16:55:35 +02:00
Atgeirr Flø Rasmussen 4e189a28df Merge pull request #617 from OPM/replace-property-macro-calls
Replace property macro calls
2020-06-19 11:51:10 +02:00
Atgeirr Flø Rasmussen c0464ea383 Merge pull request #616 from akva2/quell_unused_warning
anonoymize unused parameter
2020-06-08 12:52:32 +02:00
Atgeirr Flø Rasmussen a8a8d8a072 Make gas-oil related outputs conditional.
This includes such things as saturation pressures, rs, rv etc.
2020-06-02 11:31:02 +02:00
Atgeirr Flø Rasmussen c743d0a8c0 Use correct relative path names in pvd file. 2020-05-29 13:58:14 +02:00
Atgeirr Flø Rasmussen b31f33f567 Avoid segfault for two-phase case. 2020-05-29 10:20:58 +02:00
Atgeirr Flø Rasmussen 61eb74b1d6 Merge pull request #591 from OPM/feature/replace-propertysystem
Replace property system
2020-05-28 12:05:11 +02:00
Atgeirr Flø Rasmussen 4ae340b953 Merge pull request #608 from dr-robertk/PR/fixedsize-bug
[bugfix][GridCommHandle] fix incorrect signature of overloaded interface method.
2020-04-24 15:27:44 +02:00