Commit Graph
100 Commits
Author SHA1 Message Date
Tor Harald Sandve dbf7efa6cb fix typo in fip output 2019-05-22 15:39:57 +02:00
Tor Harald Sandve 6887f3bc73 Merge pull request #1821 from andlaus/tickling_the_dragon
flow: provide the correct episode size
2019-05-13 12:40:35 +02:00
Tor Harald Sandve 8afdf2cdb5 add a summary state member in eclBaseVanguard 2019-05-13 12:35:06 +02:00
Tor Harald Sandve 71cd83bb2b Merge pull request #1775 from andlaus/update_ewoms_simulator_in_flow
flow: make sure that the ebosSimulator's episode machinery is up to date
2019-05-07 10:51:52 +02:00
Tor Harald Sandve e19508e599 Merge pull request #1780 from andlaus/ebos_deck_diagnostics
Ebos deck diagnostics
2019-05-03 13:49:02 +02:00
Tor Harald Sandve 34780c456b Merge pull request #1816 from andlaus/ebos_non_MSW_by_default
ebos: use the non-multisegmented well model by default
2019-05-03 13:18:11 +02:00
Tor Harald Sandve 8a4117441c Make sure that the convergece report is stored before throw 2019-04-25 10:33:39 +02:00
Tor Harald Sandve 67015480ea Merge pull request #1778 from hnil/fix_cpr_oil_gas
Fix cpr oil gas
2019-04-03 12:45:23 +02:00
Tor Harald Sandve ae6edf6a06 Merge pull request #1774 from andlaus/support_THPRESFT
Support THPRESFT
2019-04-03 09:20:53 +02:00
Tor Harald Sandve c88806a5bc Merge pull request #1770 from blattms/allow-empty-fipnum-vector
Cater for empty fipnum vectors in output code.
2019-04-02 14:59:34 +02:00
Tor Harald Sandve 2c51bc6219 Merge pull request #1772 from andlaus/ebos_maintainance
ebos: make its core headers self sufficient
2019-03-29 13:49:18 +01:00
Tor Harald Sandve 888050613c Merge pull request #1762 from totto82/refactorBC
Refactor the boundary conditions code
2019-03-27 10:21:58 +01:00
Tor Harald Sandve d1d7d0e0f5 Merge pull request #1769 from andlaus/api_tracking_stub
ebos: add a stub implementation for API tracking
2019-03-26 12:39:32 +01:00
Tor Harald Sandve 17c249fa46 Merge pull request #1765 from andlaus/minor_cleanups
Minor cleanups
2019-03-26 12:38:50 +01:00
Tor Harald Sandve 90168da8af Merge pull request #1747 from andlaus/ebos_variants
add some ebos variants
2019-03-08 11:31:17 +01:00
Tor Harald Sandve 81c709fabd Merge pull request #1746 from andlaus/drift_compensation
ebos: implement partial elimination of systematic mass defects
2019-03-05 15:07:22 +01:00
Tor Harald Sandve d4d518fd35 Merge pull request #1740 from andlaus/use_flow_well_model
ebos: use the same well model, aquifer model and linear solver as flow
2019-03-05 10:57:18 +01:00
Tor Harald Sandve d0bacde369 Merge pull request #1739 from andlaus/misc_fixes
Miscellaneous fixes and improvements
2019-03-04 15:21:04 +01:00
Tor Harald Sandve 40f4a2656f Merge pull request #1741 from andlaus/NewtonRawTolerance_to_NewtonTolerance
EclProblem: Rename NewtonRawTolerance to NewtonTolerance
2019-03-04 13:13:04 +01:00
Tor Harald Sandve 5163131f59 Merge pull request #1735 from andlaus/fix_wells_Schur
well model: fix application of Schur complements
2019-02-25 14:21:17 +01:00
Tor Harald Sandve f540a83542 Merge pull request #1733 from andlaus/hide_ebos_params
do not print the new core-ebos time step tuning parameters in the usage message
2019-02-20 13:53:22 +01:00
Tor Harald Sandve 430e667517 Add option for setting mass boundary rate from deck
Usage
BCRATE
1 1 1 1 1 10 X WATER 1e-7 /

This will inject 1e-7 of water (mass/time/length/length) on the x side of the
boundary cells with cartesian index [1 1 1] to [1 1 10]
2019-02-20 10:56:53 +01:00
Tor Harald Sandve b4382c23e8 Merge pull request #481 from andlaus/add_experimental_mode
introduce an "experimental mode"
2019-02-20 09:39:33 +01:00
Tor Harald Sandve 9de0e54b63 Merge pull request #475 from andlaus/fix_ecl_restart
ebos: Fix restart from ECL files
2019-02-19 10:11:02 +01:00
Tor Harald Sandve a86ee61bf6 Merge pull request #478 from andlaus/ebos_remove_mass_conservative_init
ebos: remove the code to calculate a mass conservative initial condtion if the specified condition is inconsistent
2019-02-18 11:18:12 +01:00
Tor Harald Sandve a5463ed1a0 Add support for using free boundary conditions in Flow
The OPM spesific keywords FREEBC[XYZ[-]] can be used to specify
boundary cells that are open. Default is a closed boundary.
2019-02-07 14:56:55 +01:00
Tor Harald Sandve fb34eb304c Fix generic boundary conditions for blackoil model
Currently it doesn't allow for polymer or solvent influx
on the boundary with the free flow option
2019-01-31 15:41:47 +01:00
Tor Harald Sandve ee7b47e0f9 convert FIP values to LAB scale 2019-01-21 14:55:40 +01:00
Tor Harald Sandve 22097d4c10 Add trivial connection output to silence the output code
In this PR only trivial data is added.
2019-01-18 14:57:25 +01:00
Tor Harald Sandve f971caeae9 Merge pull request #428 from andlaus/EclNewtonMethod
ebos: introduce an EclNewtonMethod
2019-01-11 13:06:20 +01:00
Tor Harald Sandve 2d2d0c4433 Adapt to linear solver api from ewoms 2019-01-10 15:50:09 +01:00
Tor Harald Sandve 227c0eab90 Merge pull request #452 from andlaus/recompute_old_storage
make it possible to explicitly compute the storage term of the previous time step
2019-01-04 13:11:40 +01:00
Tor Harald Sandve 625a4cd303 Merge pull request #433 from andlaus/conditional_temperature
ebos: only write out temperature in thermal runs
2018-12-21 12:48:54 +01:00
Tor Harald Sandve 4e65234acb Add support for the Multz option ALL in PINCH 2018-12-20 12:56:10 +01:00
Tor Harald Sandve af45c893cf Merge pull request #445 from totto82/remove_nnc
Remove only nnc trans
2018-12-13 12:27:10 +01:00
Tor Harald Sandve a5499ce576 remove only small nnc trans 2018-12-13 11:00:27 +01:00
Tor Harald Sandve 704fbb7b60 Add parameter for (dis)enable the tracer model
The tracer model slows down the simulation time and is disabled by
default, until the performance is improved.
2018-12-10 11:13:35 +01:00
Tor Harald Sandve bec18a5d91 Merge pull request #1647 from andlaus/thermal_determination
flow: use eclipseState.simulatorConfig().isThermal() to determine whether energy ought to be conserved
2018-12-07 12:51:19 +01:00
Tor Harald Sandve 3d866812a6 Merge pull request #1671 from atgeirr/fix-infinite-loop
Fix potential infinite loop
2018-12-07 12:41:37 +01:00
Tor Harald Sandve 77869606f3 Remove repetitive logging info 2018-12-07 09:28:27 +01:00
Tor Harald Sandve f9af2c5084 remove transmissibilities less then 1e-6 in the given unit system 2018-11-30 10:28:17 +01:00
Tor Harald Sandve b661791a63 Remove usage of BlackoilState class
This allows (re)moving of the following files
opm/autodiff/RateConverter.hpp
opm/autodiff/Compat.cpp
opm/autodiff/Compat.hpp
opm/core/props/BlackoilPropertiesInterface.hpp
opm/core/simulator/BlackoilState.cpp
opm/core/simulator/BlackoilState.hpp
opm/core/simulator/BlackoilStateToFluidState.hpp
opm/core/utility/initHydroCarbonState.hpp
opm/polymer/PolymerBlackoilState.cpp
opm/polymer/PolymerBlackoilState.hpp
tests/test_blackoilstate.cpp
2018-11-27 09:38:38 +01:00
Tor Harald Sandve 9903738690 Avoid copying of SummaryConfig 2018-11-19 09:41:00 +01:00
Tor Harald Sandve 54e33a00d2 Only update intensiveQuantities for perforated cells 2018-11-19 09:41:00 +01:00
Tor Harald Sandve 3a38b9fe53 Move addCellRates to interface and add is_cell_penetrated 2018-11-19 09:41:00 +01:00
Tor Harald Sandve 8dc874dda4 Make the computation of the productivity index only when asked for 2018-11-08 13:28:52 +01:00
Tor Harald Sandve 3bc292d168 Store well potential in well_state and pass it for output if asked for
A zero well potential is passed if the computation fails or
if it is a multisegmented well.
2018-11-08 13:28:24 +01:00
Tor Harald Sandve 7ccce99e1c Do the schur complement after calling the getConvergence method 2018-11-08 10:41:41 +01:00
Tor Harald Sandve 5edd63c554 flow: let the wells be managed by EclProblem 2018-11-08 10:40:28 +01:00
Tor Harald Sandve 19622dab57 start the execution timer when creating the eWoms simulator object
this provides accurate performance timings from within eWoms
code. For example, this is useful for output of TCPU.
2018-11-08 10:26:02 +01:00
Tor Harald Sandve 8fe2be3b7f Compute well productivity index and pass it to the output 2018-11-07 15:36:31 +01:00
Tor Harald Sandve 38dd81ba7e Avoid output of trivial fipnum regions 2018-11-06 09:02:30 +01:00
Tor Harald Sandve 513b0b462f Add support for drsdtr and drvdtr
This PR also adds possibility for schedule dependent drsdt values
2018-11-05 13:50:44 +01:00
Tor Harald Sandve fad7c68446 Add support for region DR[SV]DTR 2018-11-05 13:40:23 +01:00
Tor Harald Sandve eff1c21bb3 Merge pull request #1609 from GitPaean/refactoring_well_test
Refactoring well test to prepare for Physical limit related well test.
2018-11-02 10:40:59 +01:00
Tor Harald Sandve 3185e8662b Merge pull request #408 from andlaus/aquifer_api_v2
extend the aquifer model so that it can initialize itself
2018-10-31 12:47:54 +01:00
Tor Harald Sandve 52475eeea6 use specialized fluidstate in the aquifer model 2018-10-29 13:03:53 +01:00
Tor Harald Sandve 08c4a4857b Adapt to changes in schedule interface 2018-10-29 10:39:14 +01:00
Tor Harald Sandve 656f055992 Blackoil: Prepare for 2p conditional storage of fluidstate
Also fix pseudo 2p case for ebos
2018-10-18 12:55:49 +02:00
Tor Harald Sandve df4db9dfbc Add support for MINPVV
The test and code for pinchprocessor is removed since it is no
longer used.
2018-10-15 13:39:47 +02:00
Tor Harald Sandve 3a408619da add support for minpvv 2018-10-15 13:35:45 +02:00
Tor Harald Sandve 7ad5a4d29b Support modifying trans from deck 2018-10-15 12:36:22 +02:00
Tor Harald Sandve dcb1e96606 Output and read PPCW when SWATINIT is enabled 2018-09-11 14:57:32 +02:00
Tor Harald Sandve dbcfb7af24 Return modified ntg's only when minpv mode is OPMFIL 2018-09-07 09:09:03 +02:00
Tor Harald Sandve b0101647a1 Change default ToleranceMB from 1e-5 to 1e-6 2018-08-27 11:54:32 +02:00
Tor Harald Sandve 61b4b34ad6 Merge pull request #1542 from andlaus/use_ewoms_blackoil_update
flow: use the update procedure of the eWoms blackoil model
2018-08-21 09:16:35 +02:00
Tor Harald Sandve 4a2780d161 split close wells from close connection 2018-07-03 15:13:30 +02:00
Tor Harald Sandve a5f5581441 Fix more minor issues based on review 2018-07-03 14:07:53 +02:00
Tor Harald Sandve 95578a5d79 Fix thpress restart
THPRES is read from the restart file
We no longer need to compute it from the initial conditions if
defaulted.
2018-06-29 15:26:08 +02:00
Tor Harald Sandve 8c819e1380 Merge pull request #1527 from OPM/revert-1525-addTestForEhystr
Revert "Add  test for cases with Carlson’s hysteresis model"
2018-06-29 14:08:41 +02:00
Tor Harald Sandve e509d9187a Revert "Add test for cases with Carlson’s hysteresis model" 2018-06-29 14:07:39 +02:00
Tor Harald Sandve 6606bb75b2 Minor fix based on code review 2018-06-29 13:33:56 +02:00
Tor Harald Sandve 22d144c3cd rename completion to connection 2018-06-28 15:49:45 +02:00
Tor Harald Sandve d769e7649a Name completion and connection consistently 2018-06-28 13:47:10 +02:00
Tor Harald Sandve 834f680587 Add support for COMPLUMP in WECON and WTEST 2018-06-28 13:28:30 +02:00
Tor Harald Sandve 0f4038342d add update data for wecon_wtest
and fix filename inconsistency
2018-06-28 10:16:29 +02:00
Tor Harald Sandve 22755cc257 Add support for combination of multi-segmented wells and WTEST 2018-06-28 10:16:29 +02:00
Tor Harald Sandve 3e53ed6386 implement WTEST support 2018-06-28 10:16:29 +02:00
Tor Harald Sandve b1e03d5196 Merge pull request #1523 from atgeirr/fix-currentDateTime
Cast argument for milliseconds() call to an integer.
2018-06-28 07:51:53 +02:00
Tor Harald Sandve f2ba643bc9 Add test case with Carlson’s hysteresis model where drainage curve (=0) or imbibition curve (=1) is used for the wetting phase 2018-06-27 15:28:25 +02:00
Tor Harald Sandve a255f8cc6f Merge pull request #1497 from andlaus/pass_async_output_param
Pass the async_output parameter to core ebos
2018-06-20 10:38:14 +02:00
Tor Harald Sandve e128dc7e87 Merge pull request #1478 from GitPaean/adding_control_equations
Adding well control equations
2018-06-04 15:12:31 +02:00
Tor Harald Sandve 2534cc46db WIP fix vfp in flow 2018-05-15 10:24:50 +02:00
Tor Harald Sandve 98c2b03667 change ecl output name from SSOL to SSOLVENT 2018-05-09 14:52:43 +02:00
Tor Harald Sandve 54c8a48481 code clean-up based on review 2018-05-08 10:22:47 +02:00
Tor Harald Sandve f00ad22d98 Fix thermal debug run 2018-05-02 09:15:52 +02:00
Tor Harald Sandve 936220f85c Add test case for thermal simulator in flow 2018-04-30 13:56:15 +02:00
Tor Harald Sandve ee88790dea Add a flow specialization for blackoil with energy conservation
The energy conservation is enabled by specifying either TEMP or
THERMAL in the deck. The deck also needs to contatin relevant fluid and rock
heat properties.

The blackoil + energy equations are solved fully implicit.
2018-04-30 13:45:18 +02:00
Tor Harald Sandve dee7d97b8f Merge pull request #1464 from totto82/fixilu
keep using the block inversion algorithm in OPM
2018-04-24 15:18:17 +02:00
Tor Harald Sandve f66fb298db keep using the block inversion algorithm in OPM 2018-04-24 11:25:33 +02:00
Tor Harald Sandve 91139efa27 Merge pull request #311 from andlaus/fixes
ebos fix and compiler workaround
2018-04-13 13:53:43 +02:00
Tor Harald Sandve a697b523a3 Merge pull request #310 from andlaus/update_changelog
Update changelog
2018-04-13 10:46:26 +02:00
Tor Harald Sandve 6a3b869331 Merge pull request #1452 from andlaus/dissolve_aux
adapt to the removal of the `ewoms/aux` directory
2018-04-11 12:50:12 +02:00
Tor Harald Sandve 4e9403b8f8 Correct the RESV calculation for unsaturated cases
Make sure that the reservoar volumes always stays positive. i.e. we can
not remove more dissolved gas from the rate than the total volume amout
of gas.
2018-03-23 15:23:47 +01:00
Tor Harald Sandve 975a9a6766 Fix intial fluid distribution in the well
Solve the well equation in order to determine the initial fluid content
of the well used for the hydrostatic pressure calculation in the well.
2018-03-23 12:56:19 +01:00
Tor Harald Sandve 7c9dab1a64 Add reportStep method in SimulatorReport and use it 2018-03-12 14:48:34 +01:00
Tor Harald Sandve 15aeac3f90 Add option for relaxed CNV tolerance
Use a relaxed tolerance for individual cells (CNV) when iter >
max_strict_iter.

tolerance_cnv_relaxed_ is defauled to 1.0e9
This assure the same behaviour as current master, where CNV criterion is
ignored when iter > max_strict_iter

TODO: Test this with a stricter default ( <= 1.0)
2018-03-12 08:23:57 +01:00
Tor Harald Sandve 0c4ae5991f Use advanceTimeLevel() and updatedFailed() methods from model 2018-03-06 13:18:03 +01:00
Tor Harald Sandve 6a1f7c8006 BUGfix enableEclOutput false 2018-03-05 14:56:48 +01:00
Tor Harald Sandve 5f33a1a1bc Bugfix. enableStorageTerm=false
Shift intensiveQuantities each timestep
2018-03-05 14:53:59 +01:00