Atgeirr Flø Rasmussen
5559fbd233
Add isRankZero() utility.
2016-10-20 22:40:24 +02:00
Atgeirr Flø Rasmussen
9e1ba49554
Bugfix: missing return.
2016-10-20 22:40:24 +02:00
Jørgen Kvalsvik
1c6a4b34da
Update to shared_ptr-less parser interface.
2016-10-20 14:08:04 +02:00
Atgeirr Flø Rasmussen
93ffb318cd
Merge pull request #855 from andlaus/opm-parser_units
...
adapt to the removal of the unit system of opm-core
2016-10-18 15:25:42 +02:00
Joakim Hove
f90e608bfc
Merge pull request #851 from joakim-hove/use-celldata-container
...
data::Solution for opm-output communication.
2016-10-17 11:46:45 +02:00
Atgeirr Flø Rasmussen
79de15e21d
Merge pull request #861 from blattms/fix-parallel-step_timings.txt-writing
...
Let only one rank write to step_timing.txt
2016-10-14 13:42:33 +02:00
Markus Blatt
a7cc4962e2
Let only one rank write to step_timing.txt
...
All ranks were still writing to step_timing.txt at the same time.
This made it unusable for parallel runs. With this commit only
one processes writes to this file.
2016-10-14 11:14:54 +02:00
Atgeirr Flø Rasmussen
580e76cf05
Remove unused variable.
2016-10-13 17:09:43 +02:00
Andreas Lauser
d76bf11902
adapt to the removal of the unit system of opm-core
...
the one which is in opm-parser is now a drop-in replacement.
2016-10-10 17:00:09 +02:00
Joakim Hove
39be053aef
Using data::Solution for transfer of 3D data.
2016-10-10 10:52:51 +02:00
Atgeirr Flø Rasmussen
7e0cb99bad
Merge pull request #839 from babrodtk/summary_data
...
Summary data output
2016-10-10 10:00:17 +02:00
babrodtk
68f1cff930
Bugfix parallel computation of weighted pressure etc.
2016-10-07 15:11:59 +02:00
babrodtk
4f696809b3
Removed superfluous std::move
2016-10-07 15:11:59 +02:00
babrodtk
2d8e612d01
Refactoring
2016-10-07 15:11:59 +02:00
babrodtk
b774982878
Initial version of summary data
2016-10-07 15:06:53 +02:00
Atgeirr Flø Rasmussen
f3ac93a8c8
Merge pull request #853 from blattms/fix-PR-842
...
Make WellSwitchingLogger work with DUNE 2.3
2016-10-07 14:50:18 +02:00
Markus Blatt
828f118801
Do not store collective communication in the wells object.
...
Instead of this we rely on the default constructor of
WellSwitchingLogger. This finally fixes the compile
issues with DUNE 2.3.
2016-10-07 10:46:54 +02:00
Markus Blatt
3e6b1949ea
Make sure that updateWellControls is called on each process.
...
The new WellSwitchingLogger within updateWellControls uses
collective communication with all processes. Therefore all
of them need to enter the function as other flow_mpi will deadlock.
Therefore this commit calls the method even with non local wells
active.
2016-10-05 23:53:43 +02:00
Jørgen Kvalsvik
13a4364d55
Schedule::getGroup returns reference, not pointer
2016-10-05 15:32:24 +02:00
Markus Blatt
80fb5b66d7
Use speaking name for bool in getCellData
2016-10-05 11:45:59 +02:00
Markus Blatt
ab05cb66d9
Whitespace and other formatting changes
2016-10-05 11:45:51 +02:00
Markus Blatt
bfb7ccfa8b
Moved ParallelFileMerger to its own file.
2016-10-05 11:39:06 +02:00
Markus Blatt
c0ca9afe5a
Prevent loss of log messages in parallel by merging multiple files.
...
This completes f94459d5ed
Each process with rank >0 will use .<deckname>.<rank>.DEBUG, and
<deckname>-<rank>.PRT for logging (instead of <file>.<rank>as before.
After the simulator has finished running we will append the content
of those files to the usual log files. If these files have a non-zero
size we will omit a warning as this should not happen if logging is
done right.
2016-10-05 10:33:15 +02:00
Markus Blatt
07318edfa1
Added a parallel aware logger for switching wells.
...
It will collect all the switches. Afterwards they are collect on
the root process and logged there.
This commit includes a small test program.
2016-10-05 10:33:15 +02:00
Markus Blatt
02e8211067
Use <FILE>.<rank for nonzero ranks to capture fallout.
...
These files will be empty unless we fail to to log messages
only on the root process. Currently that is the case for
the messages about switching the well controls.
2016-10-05 10:33:15 +02:00
Markus Blatt
fd52d0e223
Print "Reading parameters" only once in parallel.
2016-10-05 10:33:15 +02:00
Markus Blatt
12b3456f3b
Fixup 46e22f515
2016-10-05 10:33:15 +02:00
Markus Blatt
c5fd95affe
Stop creating file outside output_dir for parallel runs.
...
Only the root process did set the output_dir correctly. Others
used the default. Therefore all messages logged by non-root
processes did end up in the current directory even if an
output_dir was passed to flow_mpi.
2016-10-05 10:33:15 +02:00
Markus Blatt
61a28cf12f
Disable relperm diagnosis for non-root processes
2016-10-05 10:33:15 +02:00
Markus Blatt
81a617e892
Switch off output in EclipsePRTLog for non-root processes.
2016-10-05 10:33:15 +02:00
Markus Blatt
70d4dedfd2
Omit deck check warnings on non-root processes
2016-10-05 10:33:14 +02:00
Markus Blatt
6d0d063413
Omit "Unhandled keyword" messages on non-root processes
2016-10-05 10:33:14 +02:00
Markus Blatt
d4b818c948
Omit fluid in place messages on non-root process
2016-10-05 10:33:14 +02:00
Markus Blatt
fd24070931
Omit "well converge" on non-root process
2016-10-05 10:33:14 +02:00
Markus Blatt
2a6494cfcd
Only extract parser message on process 0
2016-10-05 10:33:14 +02:00
Atgeirr Flø Rasmussen
4c0b21d2f8
Merge pull request #843 from totto82/start_using_TUNING
...
Add an option for using values from TUNING in the timestepping.
2016-09-30 13:03:07 +02:00
Tor Harald Sandve
bef33ed00c
Add an option for using values from TUNING in the timestepping.
...
if the paramter use_TUNING is set to true, the adaptive timestepper will
initalize with relevant values from the TUNING keywords.
2016-09-30 10:28:34 +02:00
Tor Harald Sandve
09a86747b5
Feed solvent wellrates to data::wells for summary output
2016-09-30 09:49:16 +02:00
Atgeirr Flø Rasmussen
4a82ac386b
Merge pull request #844 from blattms/report-step-iterations-in-step_timing.txt
...
Correct number of (nonlineat) iterations/linearizations in step_timing.txt
2016-09-29 17:44:37 +02:00
Atgeirr Flø Rasmussen
4a6fcde45e
Merge pull request #837 from totto82/output_solvent2
...
Output solvent saturation
2016-09-29 17:32:51 +02:00
Markus Blatt
0bdab6e579
Correct number of (nonlineat) iterations/linearizations in step_timing.txt
...
Previously, for all step zero was reported. With this commit
we set these numbers in the SimulatorReport and now they end
up correctly in step_timings.txt
2016-09-28 12:05:52 +02:00
Tor Harald Sandve
45eae4bbc8
Output solvent saturation
...
-- Compat.hpp is moved to opm-simulators
-- add SSOL if solvent is present
2016-09-27 08:40:04 +02:00
Atgeirr Flø Rasmussen
08c5e31265
Do not move when it would disable copy elision.
2016-09-26 09:33:13 +02:00
Tor Harald Sandve
7f91eade7e
Move Compdat.hpp from opm-core to opm-simulators
2016-09-23 13:03:12 +02:00
Arne Morten Kvarving
78049a174e
fix output of gas phase
...
fixes a regression caused by 65b512e903
2016-09-21 10:46:50 +02:00
Anders Matheson
65b512e903
Use PhaseUsage to determine output phases
2016-09-20 09:44:17 +02:00
Anders Matheson
0ac0c97612
Output rates for present phases
2016-09-19 16:43:41 +02:00
Atgeirr Flø Rasmussen
9d991292be
Merge pull request #832 from totto82/fix_outputRSsat_solvent
...
BUGFIX. Store RsSat and RvSat in simulator container also in the Solvent model
2016-09-19 13:47:03 +02:00
Atgeirr Flø Rasmussen
06e41bdaca
Merge pull request #819 from blattms/use-defunct-wells-from-loadbalancer-for-wellsmanager
...
Use names of defunct wells from loadbalancer for wellsmanager
2016-09-19 13:42:42 +02:00
Tor Harald Sandve
cb5238f5dc
BUGFIX
...
Updated solvent model after #825
Store rsSat and rvSat in simulator container for outut.
2016-09-19 11:10:14 +02:00