Commit Graph
100 Commits
Author SHA1 Message Date
hnil 528921ee6f - added flexiblegmres 2023-03-31 11:01:49 +02:00
hnil aeb11beda0 -- changed function to protected 2023-03-29 14:05:20 +02:00
hnil 389d011385 -- corrected spelling 2023-03-29 12:24:17 +02:00
hnil 2e4d5ee57b - Remove wrong output if already converged 2023-03-29 09:47:02 +02:00
hnil 445e4f10fe fixed spelling 2023-03-29 08:55:31 +02:00
hnil 6b4082a1fe better messages 2023-03-28 13:54:09 +02:00
hnil 992edc1fec - added a reduced tolerance for linear for the nonlinear solver to accept the result 2023-03-28 11:43:00 +02:00
hnil f0b5e6a670 - changed pointer to refernace for IQ for possibility of using rvalues 2023-03-28 09:37:00 +02:00
hnil 2769cc5c3d minimal change to not called cachedIntensive 2023-03-24 20:01:47 +01:00
hnil aa40d2f0f3 -- prepared for possibliy of not using cached intentensive quantities 2023-03-24 19:57:31 +01:00
hnil 398077d772 removed unused variable 2023-03-24 13:11:18 +01:00
hnil 7e63dc3096 fixed issue with use of cachedVariables in initialization fase 2023-03-23 22:37:44 +01:00
hnil bacb4e04d6 fixed for review 2023-03-23 21:26:06 +01:00
hnil a81f80f4fb fixed error 2023-03-23 13:53:14 +01:00
hnil 9450fc0596 -- removed element context from the update fib loop
-- separated out put in different functions
2023-03-23 13:44:46 +01:00
hnil 8250a815cc - faster updateProperty
- refactored for making local updating in inhereted classes
2023-03-23 10:12:02 +01:00
hnil dedda84a2b fixed review comments 2023-03-22 19:17:22 +01:00
hnil e1c4a73c43 -- removed double evaluation of processLocalData
-- separated fluid in place work from other cell based data
-- added some timing macros for better preformance overview
2023-03-22 11:55:37 +01:00
hnil 122a478341 added more timing macros 2023-03-21 22:44:14 +01:00
hnil 3e1fe57e60 Refactoring to be able to use template class/methods even if they are not initiated 2023-03-15 16:46:42 +01:00
hnil e2df9fa4f9 - fixed wrong timing block 2023-03-02 09:20:07 +01:00
hnil 5fb41ad231 - small change to corret ebos use of the original interfaces 2023-02-28 21:59:04 +01:00
hnil 79d7698dd8 added timeblocks in linear solver 2023-02-15 15:07:58 +01:00
hnil 2037e862b4 More timings 2023-02-15 11:05:45 +01:00
hnil fd98d8ea27 added timing blocks to most important parts 2023-02-15 09:41:37 +01:00
hnil 9c76c96f21 moved debug code into #if section 2022-11-14 11:36:48 +01:00
hnil 85bfa13c46 change std:cout to OPM::debug 2022-11-04 16:26:12 +01:00
hnil a86bd1c585 removed assert in cprw for strictly positive diagonal well coupling 2022-11-01 21:39:55 +01:00
hnil 8ede0e67b2 - made heuristic scaling of trueimpes 2022-10-21 12:51:05 +02:00
hnil 32e21c0e25 - fix compilation of amgcl bindings in bda by not doing anything for blocksize 1 2022-10-21 11:08:59 +02:00
hnil f751279841 fixed true impes for new code 2022-08-09 11:09:48 +02:00
hnil 4f6755025c -prototype on trueimpes in new system
-probably better threading
2022-08-09 11:09:48 +02:00
hnil 6d3b0a7c1f tried to make openmp work 2022-08-09 11:09:48 +02:00
hnil 0c03e72782 fixing compilation warning 2022-08-09 11:09:48 +02:00
hnil 5a39724606 added functions for direct setting of well rates contribution to reservoir 2022-08-09 11:09:48 +02:00
hnil c5d547efff modification for global assembly 2022-08-09 11:09:48 +02:00
hnil d9c59efcf1 moved transCompFactor to intensive quantities 2022-08-09 11:09:48 +02:00
hnil 07a7070dc0 revert eclproblem.hh back to original 2022-08-09 11:09:48 +02:00
hnil 409f60642e new eclproblemtpfa 2022-08-09 11:09:48 +02:00
hnil 8f5e0940fe restructuring to be able to call without local indices 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 060877a08b runs first steps of norne 2022-08-09 11:09:48 +02:00
hnil 0a178daaf1 added extra function for easier use in tracer,aquifer, threshold pressure 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 95308d7d02 ensure intensive quantities is updated 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
hnil abee2f9f81 added fluxmodule refactured 2022-08-09 11:09:48 +02:00
hnil 98acda0977 - change FieldMatrix to MatrixBlock in Tracer model to not need extra initializations in linear solver 2022-06-08 17:03:27 +02:00
hnil 06a8b0ee3d fixed bug after changing duneD to invDuneD 2022-06-08 17:03:27 +02:00
hnil 4ead854b69 - taking pullrequest information into account
- Moving transfere level to be template of OwningTwolevelPrecontitioner
2022-06-08 17:03:27 +02:00
hnil 8f4cf8a952 removed compiler warnings 2022-06-08 17:03:27 +02:00
hnil 66c4a8c862 made resue interval separate paramter 2022-06-08 17:03:27 +02:00
hnil 3bed1ebbdb fixed bug in default options for cprw 2022-06-08 17:03:27 +02:00
hnil 541edeaf67 - add default for CPRW
- cleanded code
2022-06-08 17:03:27 +02:00
hnil 8a757a4935 removed comments 2022-06-08 17:03:27 +02:00
hnil 6c407506a9 cleaning code 2022-06-08 17:03:27 +02:00
hnil 5a917dd11e changed diagonal elements for cprw on multiscale wells 2022-06-08 17:03:27 +02:00
hnil a8acd40f4a Changes to make ms wells work with cprw 2022-06-08 17:03:27 +02:00
hnil 141a816e5d new restart options 2022-06-08 17:03:25 +02:00
hnil 12fba38d99 Added maximum sparsity pattern which made full reuse possible. May degrade som of the performance fore not full reuse(not tested). 2022-06-08 17:02:02 +02:00
hnil aba1d5047d working with no resue on norne 2022-06-08 17:02:02 +02:00
hnil c697e70a69 changed definition of extra equations. made norne go to step 27. HACK 2022-06-08 17:02:02 +02:00
hnil 4975d5d9e7 - fixed extended communicator
- fixed scaling of well cpr
2022-06-08 17:02:02 +02:00
hnil da572d1f60 -Fixed buges related to cpr with wells.
- change interfaces to have access to pressureVarIndex
- added option in cmake files to propagate checking in dune-istl
2022-06-08 17:02:02 +02:00
hnil f3acfcde0b Adding functions for pressure system manipulation to well models.
Also add well-aware operator and transfer policy.
This will be used for CPR with custom operators.
2022-06-08 17:01:33 +02:00
hnil 16cd1f0ef3 Removed use of explicit regular falsi.
Use the standard solver from opm-common instead.
2020-09-26 13:07:01 +02:00
hnil 16edd5ecc5 fixed commented code 2020-05-26 22:04:42 +02:00
hnil 95ead78a0d made all vtk paramters allways be hidden 2020-05-26 21:56:51 +02:00
hnil 81714806c2 hide all vtk related if not vtk enabled 2020-05-26 16:16:42 +02:00
hnil 94a27afdd0 made constuctor consistent with updateTuning 2020-05-14 21:31:18 +02:00
hnil e309d86012 Fixed unitialized value for ILU when using flexible solvers.
If the user requested ILU0, the uninitialized valued caused an
arbritrary (quite high) fill-in level to be used which stalled the
computation and exhausted memory when running parallel.
2020-05-13 13:13:54 +02:00
hnil 0f33835e67 added writing of detailed performance report 2020-05-07 11:37:24 +02:00
hnil d275242b01 Add a writeSystem() helper and use it to write system matrices.
Triggered only when using the flexible solver and a solver verbosity > 10.
2020-05-06 16:56:30 +02:00
hnil fce9f5e57c Manual cherrypicked improvements from f2ed2b6dc3 and 8aad027
These were a bit hidden, but found. They add a few more customization
options and kamg as a sequential solver. The latter will be broken if
we use update, though.
2020-03-31 16:49:37 +02:00
hnil 2388a9b551 Added simple defaults for flexible solver: current options added ilu0, cpr_quasiimpes, cpr_trueimpes, file (genneal configuration)
This commit 0c62c8442 cherry-picked and slightly cleaned up and
adapted to recent changes.
2020-03-31 16:49:37 +02:00
hnil 90b22d8713 changed interface to only have minimal overhead using true impes.
It gives overhead in constructor when linear system is created. No overhead if reuse is used.

This commit 141903a26 cherry-picked, cleaned and made compilable with
recent changes
2020-03-31 16:49:37 +02:00
hnil bfa859c099 changes to make true impes work with flexible solver
Cherry-picked commit 7da5ce4fec33. Which got cleaned up
(deleted trailing whitespace, tabs) and made compilable with recent changes.
2020-03-31 16:49:37 +02:00
Halvor M. Nilsen d873ae165d Enable single-phase runs. 2019-10-11 08:19:18 +02:00
Halvor Møll Nilsen ec498086a6 Add flexible solver and preconditioner infrastructure.
Also use it in flow_blackoil_dunecpr.cpp. Adds new command-line parameter,
--linear-solver-configuration-json-file, to read linear solver config from
JSON-format file at runtime.
2019-06-03 11:42:30 +02:00
hnil 526187325b changed verbosity of the cpr solver 2019-04-12 11:02:50 +02:00
hnil 4f1603407d Added timing of prepare call for linear solvers 2019-04-10 14:40:46 +02:00
hnil ed24b3fcad changed code to use direct solver on coarses scale for amg. This should runtime stettings for this.. 2019-04-10 14:40:46 +02:00
hnil f05a9fdb25 Version of cpr amg which can reuse setup and also change smoothers of fine and coarse system by changing tags 2019-04-10 14:40:46 +02:00
hnil 3a0db3adff fixed indentation 2019-04-03 09:09:57 +02:00
hnil 30368ca7c5 Merge branch 'master' of https://github.com/OPM/opm-simulators into fix_cpr_oil_gas 2019-04-01 12:57:18 +02:00
hnil 88beff7a9d Fixed pressure equation for case where water is not pressent, often used for co2 simulations 2019-04-01 12:55:06 +02:00
hnil 41acbcf861 change verbosity level setting for cpr to be more finegrained 2019-03-19 14:38:40 +01:00
hnil b27e56e386 fixed bug in scaling of rhs for cpr 2019-03-19 14:32:32 +01:00
hnil 31f4c01938 Changes to make CPR able to use general indexing. 2019-03-15 11:27:38 +01:00
hnil 3bcc80cc5b changes to make test compile, however the tests tests matrixes functionality not used in flow 2019-03-12 15:13:38 +01:00
hnil 40537f1999 Changes to make cpr work 2019-03-12 13:55:11 +01:00
Halvor Møll Nilsen 772aae6a62 Corrected include statements after renaming files. 2012-11-16 16:24:54 +01:00
Halvor Møll Nilsen 1be0bd4a20 Corrected include statements after renaming files. 2012-11-16 16:24:54 +01:00
Halvor Møll Nilsen 4a6e10bb08 Continued renaming of transpormodels to transportsolver*reorder 2012-11-16 16:06:01 +01:00
Halvor Møll Nilsen 6b73114430 Changed name of all TransportModels which was reorder solvers 2012-11-16 16:00:56 +01:00
Halvor Møll Nilsen 523ca56ef1 Changes needed to for makeing a simulator using ImplicitTransport. Several changes in names to highlight what is reorder simulator classes 2012-11-16 13:38:03 +01:00
Halvor Møll Nilsen 74cddb0b01 Changes needed to for makeing a simulator using ImplicitTransport. Several changes in names to highlight what is reorder simulator classes 2012-11-16 13:38:03 +01:00
Halvor Møll Nilsen c090eb618b Added wrapper in code in separate file. Continued to change ../simulator/SimulatorIncompTwophase.cpp 2012-11-15 15:01:12 +01:00
Halvor Møll Nilsen cfae3edcaf Changes to try to make naming and classes more consistent. This is a start to make devide models and tranport solvers so that VE models is more easely handled 2012-11-15 13:20:49 +01:00