Atgeirr Flø Rasmussen
603b9657a1
Use plural for parameter class names.
2015-05-21 10:43:04 +02:00
Atgeirr Flø Rasmussen
f89297255f
Rename FullyImplicitSolver -> NewtonSolver.
2015-05-21 10:43:04 +02:00
Atgeirr Flø Rasmussen
2e7e6c6344
Split functionality between model and solver.
...
The step() method and everything to do with relaxation and oscillation
detection is now in the FullyImplicitSolver class.
2015-05-21 10:43:03 +02:00
Atgeirr Flø Rasmussen
24ab95122d
Made BlackoilModel contain all of the old solver class, now the
...
idea is to make the FullyImplicitSolver class grow instead.
2015-05-21 10:43:03 +02:00
Atgeirr Flø Rasmussen
7829addb99
Use new solver and model class instead of old solver class.
2015-05-21 10:43:03 +02:00
Markus Blatt
f6e3be5381
Adds space around some binary operators.
2015-05-20 17:54:43 +02:00
Markus Blatt
f0f38d7ac2
Fix seting of parallel_run_ member.
...
We are having a parallel only if there are more than one processes,
and not already with only one.
Kudos to @atgeirr for finding this in the review.
2015-05-20 17:53:54 +02:00
Markus Blatt
9e0b2fed4f
Notify well manager whether this is a parallel run.
...
In a parallel the well handling needs to be slightly
adapted, see PR OPM/opm-core#799 . Therefore, we need to
pass a boolean flag to the well manager indicating whether
this is a parallel run or not.
With this commit we do this.
2015-05-15 15:57:50 +02:00
Atgeirr Flø Rasmussen
f007bf561c
Modify default solver parameters.
...
These should work well for both Norne and the SPE cases.
2015-04-21 12:40:21 +02:00
Robert Kloefkorn
11ef164865
SimFullyImplBO: write simulation state at all report step and in the end when adaptive
...
TS is enabled.
2015-03-10 12:12:31 +01:00
Robert Kloefkorn
b20733eb29
nitpick adjustments.
2015-03-05 11:28:11 +01:00
Robert Kloefkorn
05260e9582
added number of linear and newton iterations to output.
2015-03-05 10:40:20 +01:00
Robert Kloefkorn
e5eec509d2
make terminal output a parameter to avoid output.
2015-03-05 10:40:20 +01:00
Atgeirr Flø Rasmussen
0ce57cb6db
Merge pull request #316 from blattms/parallel-verbose-on-0
...
Print status output only on rank 0 for parallel runs.
2015-02-20 18:11:38 +01:00
Markus Blatt
bc58cfb3b9
Corrects missing space around if and operators.
2015-02-20 16:06:19 +01:00
Markus Blatt
bcc3ab7d95
Rename variable verbosity_ to terminal_output_.
2015-02-20 16:02:06 +01:00
Markus Blatt
d35d301a4b
Print status output only on rank 0 for parallel runs.
2015-02-20 11:35:47 +01:00
Atgeirr Flø Rasmussen
ab835ec443
Merge pull request #308 from atgeirr/resv-injectors
...
Implement RESV limit targets for INJECTOR wells.
2015-02-19 15:45:18 +01:00
Atgeirr Flø Rasmussen
bd2f659770
Adapt to API change in WellsManager.
2015-02-17 13:22:43 +01:00
Atgeirr Flø Rasmussen
3ade13d235
Implement RESV limit targets for INJECTOR wells.
2015-02-16 11:08:57 +01:00
Robert K
a834e55f5a
BlackoilOutputWriter: added support for backup and restore.
...
This first implementation is mainly to support faster debugging.
2015-02-11 13:18:07 +01:00
Robert K
2068b7ea16
Revision of black oil output. Put everything into a class following the OutputWriter
...
interface.
2015-02-05 14:39:47 +01:00
Tor Harald Sandve
2f32afd36d
Hardcode bhp limit for WCONHIST/RESV to 1 atm.
...
TODO: Allow WELTARG to change the bhp limit
2015-02-05 09:41:37 +01:00
Robert K
463e4bc5e3
BlockOilSimulator: allow to run without wells (mainly for testing and debugging).
2015-01-20 11:38:46 +01:00
Robert K
e577b3b2d9
SimulatorFullyImplicitBlackoil: only access output parameters when output is enabled.
2015-01-15 13:31:28 +01:00
Robert K
6b4a63787d
cleanup of unused code.
2015-01-09 16:27:37 +01:00
Robert K
f11d1758c1
also write initial data when using adaptive time stepping.
2015-01-09 16:26:48 +01:00
Robert K
a9edc45a49
Added flag for matlab output. default behavior is the same as before.
...
Also, avoid possibly uninitialized variables.
2015-01-09 16:26:30 +01:00
Robert K
e7e63e1989
make writing of substeps work
2015-01-09 16:26:30 +01:00
Tor Harald Sandve
b4a7b6157b
Use well to name mapping when copying the old well state to the new
...
With the introduction of shut wells the same ordering in the well states
can no longer be assumed. The well names is instead used to map the old
well state to the new. Also the partial_copying is moved into the
initialization.
Tested on SPE1, SPE3, SPE9 and Norne. (Do not change the SPEs and is
nessesary for the Norne)
2014-11-10 08:47:42 +01:00
Robert K
05608a6145
stick to previous method of parameter extraction. grouping is not what we wanted here.
2014-10-22 15:29:20 +02:00
Robert K
2a7f951e25
provide default for parameter group.
2014-10-22 15:00:10 +02:00
Robert Kloefkorn
937555bb3b
use group for timestep parameters.
2014-10-20 15:18:14 +02:00
Robert Kloefkorn
42e4043c18
remove unused variable.
2014-10-20 14:47:33 +02:00
Robert K
a8c0f7df92
apply changes made in opm-core.
2014-10-06 15:53:17 +02:00
Robert K
d4802121d3
moved the utility classes to opm-core.
2014-10-06 13:59:21 +02:00
Robert K
2295718f59
enabled solver restart again.
2014-10-03 16:01:59 +02:00
Robert K
9e9ef0155c
moved TimeStepControl to Simulator::run and make it work again.
2014-10-03 14:31:57 +02:00
Robert K
a723a01f72
some revision, time step control is now completly in the Simulator run method.
...
The solver simply returns a number of iterations.
2014-10-03 14:18:31 +02:00
Robert K
fcf6cd5f90
implemented the PID controler, seems to work fine. More testing needed.
2014-10-02 14:04:59 +02:00
Robert K
d3bc836536
make sub stepping a parameter.
2014-10-01 16:36:38 +02:00
Robert K
2602ae7baf
enable substepping.
2014-10-01 15:45:27 +02:00
Robert K
d03f9411b6
first attempt to implement a time step control.
2014-10-01 13:50:08 +02:00
Robert K
21593cf7eb
only initialize solver parameters once to avoid default parameter output.
2014-10-01 12:57:17 +02:00
Robert K
23a12421a8
revert changes.
2014-10-01 12:50:46 +02:00
Robert K
b337873e7f
First version of time step control. Not really fully functioning yet.
2014-09-30 15:53:43 +02:00
Atgeirr Flø Rasmussen
3fdfeec10c
Pass dummy threshold pressures through simulator to solver.
2014-08-27 18:23:10 +02:00
Atgeirr Flø Rasmussen
e644c51750
Merge branch 'master' into support-resv
...
Conflicts:
examples/sim_fibo_ad.cpp
examples/sim_fibo_ad_cp.cpp
opm/autodiff/SimulatorFullyImplicitBlackoil.hpp
opm/autodiff/SimulatorFullyImplicitBlackoil_impl.hpp
2014-08-19 09:53:20 +02:00
Atgeirr Flø Rasmussen
5f9841eacc
Fix output statements in run().
...
This fixes the following bugs:
- No longer overwrite the matlab-output files each step.
- Create output also for the initial state.
- Change filenames of matlab-output by one (initial state is 000.txt,
final state is NNN.txt and not (NNN-1).txt for total of NNN steps).
- Eclipse binary output matches eclipse output (includes the same
steps including initial state) for the same case.
Also added several comments outlining the parts of the run() function.
2014-08-14 16:07:58 +02:00
Atgeirr Flø Rasmussen
11cd1061d1
Handle increasing numbers of active wells during simulation.
...
This uses partialCopy() to transfer the previous wells' data
to the new well state object.
2014-08-13 15:56:36 +02:00