Markus Blatt
0650f9b42e
Deactivate gather code when MPI is not available.
...
In this case some of the used classes do not exist.
2017-03-16 14:52:59 +01:00
Markus Blatt
35ff439ee1
Make ParallelDebugOutput constructable with global or distributed grid view.
...
That makes coding a little more me/fool proof.
2017-03-16 14:52:59 +01:00
Markus Blatt
03cb9f4afa
ParalleDebugOutput needs the distributed grid.
...
Because for the global grid the communicator sees just one process.
Unfortunately this is not documented.
2017-03-16 14:52:59 +01:00
Markus Blatt
2f95e33d59
Do not use the equilGrid in Ebos as it is deleted after the constructor.
...
Instead we create our own global grid representation.
2017-03-16 14:52:59 +01:00
Markus Blatt
fd3e3596a9
Setup output writer and write initial values in parallel correctly.
...
Before this commit only the solution of process 0 was written.
To fix this we make the equilGrid of Ebos available. It is used
for the output writer. The properties written initially are gathered from
all processes first using the new gather/scatter utility.
2017-03-16 14:52:59 +01:00
Markus Blatt
45cee3d9f4
Added missing header include.
2017-03-16 14:52:59 +01:00
Atgeirr Flø Rasmussen
711e9bacb7
Allow restarting without OPMEXTRA field in restart file.
2017-03-16 13:34:24 +01:00
Atgeirr Flø Rasmussen
5517b8a3f3
Merge pull request #963 from blattms/allow-amg-with-matrix-block
...
Specialize direct solver for Dune::MatrixBlock.
2017-03-16 11:43:16 +01:00
Tor Harald Sandve
6c859836f3
Hack to make the intial output of rs and rv Ecl compatible.
...
For cells with swat == 1 Ecl outputs; rs = rsSat and rv=rvSat, in all
but the initial step where it outputs rs and rv values calculated by the
initialization. To be compatible we overwrite rs and rv with the values
passed by the localState. Volume factors and densities needs to be
recalculated with the updated rs and rv values.
2017-03-16 10:22:27 +01:00
Tor Harald Sandve
d640a16e5a
Update rs and rv value for free oil and gas case
...
The rs and rv values are not used by the simulator for the case with
free oil and gas (or water only case), but they must be updated for
output.
2017-03-16 10:20:09 +01:00
Atgeirr Flø Rasmussen
b8adfbb52f
Merge pull request #1101 from joakim-hove/allow-undefined-wells
...
Policy change: warn when missing well/group.
2017-03-15 20:50:27 +01:00
Joakim Hove
bdc9ffb578
Policy change: warn when missing well/group.
2017-03-15 15:41:25 +01:00
Atgeirr Flø Rasmussen
76df693ede
Merge pull request #1098 from akva2/add_extra_plot
...
added: generate a plot without ecl reference for norne runs
2017-03-15 13:23:30 +01:00
Arne Morten Kvarving
33042a6f75
added: generate a plot without ecl reference for norne runs
...
sometimes it is easier to compare without the extra data in the graphs
2017-03-15 11:25:44 +01:00
Atgeirr Flø Rasmussen
5c7804935d
Merge pull request #1078 from totto82/eventOve
...
Set timesteps after events
2017-03-15 11:20:20 +01:00
Atgeirr Flø Rasmussen
2283fc8258
Merge pull request #1083 from GitPaean/using_well_cell_rsrv
...
[Discussion] using rs rv from grid cells when calculating the volume ratio
2017-03-15 11:18:25 +01:00
Atgeirr Flø Rasmussen
345f10bc18
Merge pull request #1095 from andlaus/improve_FIP
...
Fixes for the fluid in place code
2017-03-15 11:14:33 +01:00
Andreas Lauser
aa9966d7b8
flow_ebos FIP: fix the field totals code
...
this unifies the code paths of the code that calculates the FIP field
totals for the parallel and the sequential cases and makes the code
more robust because it does not hard-code the presence of an intensive
quantities cache anymore. also, rock compressibility is now also
included in the field totals instead of just the FIP regions. this was
forgotten in the last FIP PR because the region values are calculated
in a different class using completely different code. (i.e., regions
are done by the model, field totals by the simulator. that design
should win an award, IMO.)
with this patch, the field totals for Norne and SPE1 seem to match
those produced by E100 _very_ closely and also parallel and sequential
runs for Norne and SPE1 of flow_ebos produce exactly the same
numbers. (This is probably the case for all decks, but I haven't
tested anything else.)
2017-03-15 11:07:45 +01:00
Andreas Lauser
5194cc5122
BlackoilModelEbos: clean up and fix the FIP code
...
mainly this should now work properly in parallel, because non-interior
cells are not counted multiple times anymore. also, the number of
loops over the global arrays has been reduced, some variables have
been renamed and some comments were added.
finally this fixes the average pressure for regions that do not
contain hydrocarbons (or at least it unifies it with the approach for
regions that contain hydrocarbons).
2017-03-15 11:07:45 +01:00
Andreas Lauser
3e1758f5c8
the first time FIP needs to be reported is before the simulation starts
2017-03-15 11:07:45 +01:00
Andreas Lauser
384fcc5114
BlackoilModelEbos: minor stylistic improvements
...
mainly indentation fixes and removal of duplicate blank lines.
2017-03-15 11:06:28 +01:00
Atgeirr Flø Rasmussen
78995a7f61
Merge pull request #949 from akva2/move_msw_test
...
convert MSW_2D_H__ into a regression test
2017-03-15 09:56:33 +01:00
Kai Bao
2f3d142b38
a little more generalized implementation of BHP determination
...
for well potentials calculation, not caring much about how many THP/BHP constraints exist.
2017-03-14 15:07:10 +01:00
Kai Bao
18a75dcabc
more careful determination of the most restrictive bhp value
...
when computing the well potentials
2017-03-14 14:58:21 +01:00
Atgeirr Flø Rasmussen
d4ce1eddc9
Merge pull request #1097 from nairr/add_timestamp_fip_output
...
Add timestamp fip output
2017-03-14 14:17:09 +01:00
dr-robertk
029bc6daa7
Merge pull request #1010 from blattms/ebos-parallel-convergence
...
Switch off non-owner entries during accumulation in getConvergence
2017-03-14 14:13:19 +01:00
nairr
71e2d63a6e
Adds information regarding report step, elapsed time, simulation date,
...
simulator name, version, field title etc to the fip output
2017-03-13 16:48:19 +00:00
Atgeirr Flø Rasmussen
d973d07bc9
Merge pull request #1094 from akva2/print_banners
...
changed: print some banners during test comparisons
2017-03-13 16:07:25 +01:00
Atgeirr Flø Rasmussen
840c15bb63
Merge pull request #1092 from joakim-hove/opmextra-optional
...
Mark OPMEXTRA as not required restart data.
2017-03-10 23:04:56 +01:00
Arne Morten Kvarving
42ef0655ee
changed: print some banners during test comparisons to make output more readable
2017-03-10 14:46:09 +01:00
Atgeirr Flø Rasmussen
81ebba2df8
Merge pull request #1064 from GitPaean/fixing_thp_initialization
...
when no THP control/limit, thp value will be set to zero.
2017-03-10 10:23:15 +01:00
Joakim Hove
b4f9e88403
Mark OPMEXTRA as not required restart data.
2017-03-10 09:58:16 +01:00
Tor Harald Sandve
19a16ceeca
Set timesteps after events
...
The time step after an event can either be set using
timestep_in_days_after_event or using the TUNING keyword in the deck.
2017-03-09 08:54:44 +01:00
Kai Bao
3a89f07f3c
not using comp_frac for producers in getQs
2017-03-08 11:02:47 +01:00
Kai Bao
f48de7f146
using wellSurfaceVolumeFraction() in a few places
...
instead of using wellVolumeFraction() to give more correct physical
meaning.
2017-03-08 11:01:46 +01:00
Kai Bao
9c62d6d26c
adding support of three phase suraface rate in getQs()
...
and a few comments.
2017-03-07 15:49:45 +01:00
Kai Bao
01d8813f53
A function to calulate the surface volume fraction of the rates
...
for StandardWellsDense.
2017-03-07 13:31:40 +01:00
Arne Morten Kvarving
f2e1f4bef1
changed: move multisegment well test to proper regression test
2017-03-03 15:27:35 +01:00
Atgeirr Flø Rasmussen
aaa4af6c49
Merge pull request #1085 from akva2/enable_ebos_tests
...
Enable ebos tests
2017-03-03 15:03:27 +01:00
Arne Morten Kvarving
51a536ed90
enable norne init test for flow_ebos
2017-03-03 14:34:11 +01:00
Arne Morten Kvarving
90c7e0eaf6
enable restart tests for flow_ebos
2017-03-03 14:34:00 +01:00
Atgeirr Flø Rasmussen
4bb064b329
Merge pull request #1081 from atgeirr/restart-no-convert-call
...
Improve restarting
2017-03-03 14:09:58 +01:00
Atgeirr Flø Rasmussen
e8bddf6de2
Add FIP features to multisegment sim.
2017-03-03 13:47:09 +01:00
Kai Bao
b5e2c5262f
using rs rv from grid cells when calculating the volume ratio
...
during computeWellFlux for StandardWellsDense.
2017-03-02 14:21:00 +01:00
Atgeirr Flø Rasmussen
429baf082c
Update to match revised extra data interface from opm-output.
2017-03-01 09:50:32 +01:00
Atgeirr Flø Rasmussen
1175c389b0
Add SI/double preserving feature to restart I/O.
...
The parameter "restart_double_si" (defaults to false) will when true
cause the RESTART_SOLUTION data (only) to be read/written with measure
equal to measure::identity, thereby suppressing unit conversions. Also,
the output layer will be told to output all (not just RESTART_SOLUTION
but also RESTART_AUXILIARY) restart data as doubles.
2017-03-01 08:45:49 +01:00
Atgeirr Flø Rasmussen
378addd000
Update legacy sim to also read time step from restart.
2017-03-01 08:45:42 +01:00
Atgeirr Flø Rasmussen
ffaa48295a
Add restart I/O of suggested timestep length.
2017-03-01 08:45:34 +01:00
Atgeirr Flø Rasmussen
650f863785
Merge pull request #1080 from babrodtk/bugfix_output
...
Fixed apparent bug in outputting PDPB
2017-02-27 13:38:36 +01:00
babrodtk
ba2973dbbe
Fixed apparent bug in outputting PDPB
2017-02-27 10:28:31 +01:00