Arne Morten Kvarving
fe8adb51d8
remove rogue includes
2018-11-14 15:37:44 +01:00
Arne Morten Kvarving
023924d057
changed: use UgGridHelpers directly
...
GridHelpers.hpp will be moved
2018-11-14 15:37:44 +01:00
Atgeirr Flø Rasmussen
44dc9b22bc
Merge pull request #1622 from GitPaean/updating_thp_when_VFPActive
...
Updating thp when valid VFP table is specified
2018-11-14 15:00:14 +01:00
Kai Bao
bf967e50a7
adding hasTable() method to the VFP properties
...
and give a clear message about non-accessible table ID in the function
isVFPActive() in WellInterface.
2018-11-14 14:29:28 +01:00
Kai Bao
cf2eb1c336
remove a useless #if HAVE_OPENMP in BlackoilWellModel
2018-11-14 12:47:49 +01:00
Kai Bao
5a5c1bfcd3
addressing review comments from PR 1622
2018-11-14 12:45:41 +01:00
Kai Bao
afcdbcf202
detecting the NAN and INF values during VFP calculation
...
and give warning messages when they happen, since they can be the
culprits of the termination of simulation later.
For ADB related, I did not find a good way to do the detection, so there
is no warning message given.
2018-11-14 11:35:44 +01:00
Kai Bao
32b00b61f8
updating the thp value if VFP table is valid
...
through function isVFPActive().
2018-11-14 11:27:00 +01:00
Kai Bao
0d1a4b2d13
adding function isVFPActive() for WellInterface
...
Even the well does not have a THP target/constraint, but if it is
specified with a valid VFP table, we are supposed to update the thp
value for output purposes.
2018-11-14 11:27:00 +01:00
Atgeirr Flø Rasmussen
49a7773b30
Merge pull request #1630 from akva2/split_vfp
...
Split VFP classes in ebos and legacy
2018-11-14 11:04:05 +01:00
Arne Morten Kvarving
d3fa23bc2e
changed: split legacy VFP test into own file
2018-11-14 09:54:33 +01:00
Arne Morten Kvarving
c5ae3adbbf
changed: split VFP classes in base (ebos) and legacy
...
to get rid of eigen usage in ebos based classes
2018-11-14 09:54:33 +01:00
Atgeirr Flø Rasmussen
e1e39b4bd9
Merge pull request #1626 from GitPaean/fixing_different_number_of_wells_due_to_wtest
...
fixing different well number between Wells and Well_containers
2018-11-14 09:37:09 +01:00
Atgeirr Flø Rasmussen
54cc52dcaf
Merge pull request #1629 from akva2/remove_rogue_includes
...
remove two rogue includes
2018-11-14 09:06:13 +01:00
Arne Morten Kvarving
e8c2029166
remove two rogue includes
...
motivation: getting rid of BlackoilPropsAdFromDeck in ebos code path
2018-11-14 08:35:21 +01:00
Atgeirr Flø Rasmussen
3de0f25535
Merge pull request #1627 from atgeirr/fix-nompi-build
...
Add missing include for std::vector.
2018-11-13 21:10:40 +01:00
Atgeirr Flø Rasmussen
8d2bc0e449
Add missing include for std::vector.
2018-11-13 20:26:44 +01:00
Kai Bao
8f56634b69
fixing different well number between Wells and Well_containers
...
when the solveWellEq did not get converged.
2018-11-13 20:01:38 +01:00
Atgeirr Flø Rasmussen
58642254e0
Merge pull request #1624 from akva2/split_mpi_func
...
split mpi function from newtoniterationutilities
2018-11-13 19:21:56 +01:00
Arne Morten Kvarving
e0a9e13a97
split mpi function from newtoniterationutilities
2018-11-13 15:26:44 +01:00
Kai Bao
2ed2c20f12
Merge pull request #1623 from atgeirr/use-convergencereport-gather
...
Use gatherConvergenceReport() in BlackoilWellModel.
2018-11-13 15:16:34 +01:00
Atgeirr Flø Rasmussen
d858f2901a
Merge pull request #1614 from totto82/well_ppp
...
Output of well potential when asked for
2018-11-13 14:29:58 +01:00
Atgeirr Flø Rasmussen
446dbdf86d
Use gatherConvergenceReport().
...
This avoids multiple all-reduce blocks, simplifying the code and
enabling us to return the report from getWellConvergence().
2018-11-13 14:02:55 +01:00
Atgeirr Flø Rasmussen
6e7cc756de
Move implementation of gatherConvergenceReport() to cpp file.
...
No templates involved, no reason to keep it in header. This also makes
building more robust by only invoking HAVE_MPI in the cpp file, after
including config.h.
2018-11-13 14:01:01 +01:00
Arne Morten Kvarving
9d432d68b2
Merge pull request #1612 from atgeirr/use-convergence-status
...
Provide parallel gathering of ConvergenceReport
2018-11-13 10:46:54 +01:00
Atgeirr Flø Rasmussen
a9aacb7960
Run the "gatherconvergencereport" test in parallel.
2018-11-13 10:31:23 +01:00
Atgeirr Flø Rasmussen
9fc272fb85
Add runner script for tests needing MPI.
...
The script run-parallel-unitTest.sh takes as its arguments:
- number of processes (to be passed as -np parameter to mpirun)
- directory in which to find the binary to be executed
- remaining arguments form the command line for the test.
2018-11-13 10:31:23 +01:00
Atgeirr Flø Rasmussen
566f6813dd
Created gatherConvergenceReport() function and test.
2018-11-13 10:30:32 +01:00
Atgeirr Flø Rasmussen
48b0024855
Refactor BlackoilModelEbos::getConvergence().
...
The loop over elements to extract data has been moved to a separate
function localConvergenceData().
2018-11-13 10:19:15 +01:00
Atgeirr Flø Rasmussen
576852b299
Remove cell_index from ReservoirFailure struct.
2018-11-13 10:19:15 +01:00
Atgeirr Flø Rasmussen
58eedf0d65
Merge pull request #1615 from GitPaean/using_events_for_well_states_2
...
detecting whether some well control events happens to a well
2018-11-13 07:42:19 +01:00
Kai Bao
eb86404934
addressing review comments of PR #1615
2018-11-12 15:20:23 +01:00
Atgeirr Flø Rasmussen
d562df9d8a
Merge pull request #1597 from GitPaean/avoiding_overshoot_fractions
...
relaxation to avoid overshoot of fractions of StandardWell
2018-11-12 14:20:52 +01:00
Kai Bao
5e736fc4c7
decoupe the rate and fraction relaxation
...
the relaxation for these two have different goals and problems, it is
wise to decuple them.
2018-11-09 14:28:44 +01:00
Kai Bao
179a505b83
addressing the review comments #1597
2018-11-09 14:28:44 +01:00
Kai Bao
7e17a60c58
relaxation to avoid overshoot during Newton update in StandardWell
...
Solvent model is not handled yet.
2018-11-09 14:28:44 +01:00
Kai Bao
73f8ed912e
detecting whether some well control events happens to a well
...
When there is some events happen to a well, we use the control mode
from the DECK, and update the WellState based on the new control model.
Otherwise, we can use the control mode from the previous well state,
and keep the values from the previous well state as an intial guess.
2018-11-09 13:36:49 +01:00
Atgeirr Flø Rasmussen
19e89b470b
Merge pull request #1555 from totto82/use_ewoms_well_api
...
Use ewoms well api for the well model
2018-11-09 08:35:53 +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
Andreas Lauser
11fb836432
Merge pull request #1613 from andlaus/cleanup_schedule_management
...
flow: do not pass the schedule and summaryConfig objects anymore
2018-11-08 13:14:43 +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
Atgeirr Flø Rasmussen
8f62670c1e
Merge pull request #1611 from totto82/productivity_index
...
Compute well productivity index and pass it to the output
2018-11-08 09:30:46 +01:00
Tor Harald Sandve
8fe2be3b7f
Compute well productivity index and pass it to the output
2018-11-07 15:36:31 +01:00
Andreas Lauser
e5fb6cf83c
flow: do not pass the schedule and summaryConfig objects anymore
...
they are now always created internally by the vanguard.
2018-11-07 12:34:54 +01:00
andrthu
a969fd198a
Ignoring overlap cells in parallel ILU factorization ( #1610 )
...
* fixed the issue of including ghost cells in preconditioning, by zeroing out ghost rows and setting the diagonal to a large value.
* move altering of matrix to a function
* blockwise modification of matrix
* add findOverlapRowsAndColumns in BlacoilDetail. Add call to findOverlapRowsAndColumns in constructor of BlacoilModelEbos. Change makeOverlapRowsInvalid, by looping over precalculated inddies instead of grid
* Better formatting
2018-11-06 14:14:50 +01:00
Joakim Hove
6c5b540eaf
Merge pull request #1605 from totto82/drsdtr
...
Adapt to changes in schedule interface
2018-11-06 08:21:03 +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