Joakim Hove
b94d5a135d
Updated to use ParseMode.
2015-08-06 15:56:51 +02:00
Andreas Lauser
b4fe4e3667
adapt the the table related API changes of opm-parser
2014-09-19 14:40:35 +02:00
Andreas Lauser
db8b68b1d1
Glue in support for the grid property modifier keywords
...
this basically means using Opm::EclipseState instead of the raw deck
for these keywords.
with this, property modifiers like ADD, MULT, COPY and friends are
supported for at least the PERM* keywords. If additional keywords are
required these can be added relatively easily as well.
no ctest regressions have been observed with this patch on my machine.
2014-06-11 13:48:49 +02:00
Andreas Lauser
bd81627dd3
rename all "newParserDeck" objects to "deck"
...
The "new" parser is now "the" parser...
2014-05-21 11:22:43 +02:00
Andreas Lauser
2dacfc8c15
convert the examples and the tests to opm-parser
2014-04-25 14:25:54 +02:00
Joakim Hove
a845cfdfd7
Removed WellsManager constructor which takes an ole Eclipsegridparser instance.
2014-03-25 18:57:58 +01:00
Bård Skaflestad
8159104218
Fix null-pointer dereference during well construction
...
The three-argument WellsManager constructor needs access to the real
permeability field lest a null-pointer dereference result when the
problem actually contains any wells.
2013-09-25 15:11:14 +02:00
Andreas Lauser
aa62980fbf
catch all exceptions in all tutorials and examples
2013-09-05 13:04:38 +02:00
Andreas Lauser
a2065b4101
make config.h the first header to be included in any compile unit
...
this is required for consistency amongst the compile units which are
linked into the same library and seems to be forgotten quite
frequently.
2013-04-10 12:56:14 +02:00
Atgeirr Flø Rasmussen
f3ec8e1634
Moved ColumnExtract and initState.
...
ColumnExtract -> opm/core/grid/ and initState -> opm/core/simulator/.
2013-03-18 12:47:23 +01:00
Atgeirr Flø Rasmussen
bfa9997dd2
Renamed newwells.h -> wells.h.
...
Also moved implementation file to subdir.
2013-03-18 10:33:34 +01:00
Atgeirr Flø Rasmussen
5fc63031ed
Move GridManager to grid subdir.
...
Also remove GridAdapter (moved to dune-cornerpoint), and
moved grid.c implementation file to grid subdir.
2013-03-18 10:16:46 +01:00
Atgeirr Flø Rasmussen
e83057e0ea
Adapt include statements to moved headers.
2013-03-14 10:29:42 +01:00
Atgeirr Flø Rasmussen
ddd41bfcd7
Moved opm/core/eclipse/* to opm/core/io/eclipse/*.
2013-03-07 22:59:06 +01:00
Atgeirr Flø Rasmussen
158c33eb53
Constructors of *FromDeck classes now take an UnstructuredGrid.
...
This is a change from taking a vector containing the mapping to
deck-consistent logical cartesian indices. The mapping is contained
in the UnstructuredGrid::global_cell member, and may be null. The
change therefore saves the overhead of constructing a vector as a
copy of the data in the grid or (if null) as an identity mapping.
2012-08-10 10:12:45 +02:00
Atgeirr Flø Rasmussen
ffdf7ed4f7
Adapt to possibility for Cartesian grids from deck input.
...
Now we may have a grid generated from deck input using the
keywords DXV, DYV, DZV, which will have a null pointer for
the global_cell mapping. We check if this pointer is null,
and create an identity mapping in this case. The mapping is
needed by the *PropertiesFromDeck classes (and helpers).
2012-08-09 14:35:00 +02:00
Atgeirr Flø Rasmussen
67c13e794a
Moved SimulatorTimer class to opm/core/simulator directory.
2012-06-14 14:02:22 +02:00
Atgeirr Flø Rasmussen
bad5614ced
Examples and tutorials follow change to IncompTpfa interface.
2012-06-12 15:28:53 +02:00
Atgeirr Flø Rasmussen
3487ee840d
Reorganized, added opm/core/wells/ and opm/core/simulator/.
2012-06-05 15:42:49 +02:00
Atgeirr Flø Rasmussen
13334f97d7
Renamed initStateTwophaseFromDeck() -> initStateFromDeck().
...
- Made initStateFromDeck() into a template taking arbitrary properties.
Implementation detail:
- initWaterOilContact() was also templatized on props.
- initHydrostaticPressure() is now overloaded on prop interface types.
2012-05-16 11:37:31 +02:00
Atgeirr Flø Rasmussen
efce958c3b
Now computePorevolume() takes a porosity array instead of a property object.
...
This is to make it compatible with blackoil properties.
An alternative would be to give [Incomp|Blackoil]PropertiesInterface a
common base class (RockInterface?) with the common rock-related methods.
2012-05-14 21:47:10 +02:00
Kjetil Olsen Lye
886457002e
Changed some minor bugs in the refactored code in wells_example
2012-05-08 12:23:58 +02:00
Kjetil Olsen Lye
0bd88866f2
Refactored some computations into seperate methods in wells_example.cpp
2012-05-08 11:04:15 +02:00
Kjetil Olsen Lye
72a0db5f73
removed an extra uneeded call to the pressure solver
2012-05-07 15:51:54 +02:00
Kjetil Olsen Lye
562573a078
Inserted rock_comp into wells_example.
2012-05-07 13:29:52 +02:00
Kjetil Olsen Lye
6782067d8d
Made a maximum number of iterations in wells_test
2012-05-03 15:35:44 +02:00
Kjetil Olsen Lye
81a9d2a5c1
Added calculation of fractional flows and per phase flows in wells_example
2012-05-03 12:29:18 +02:00
Kjetil Olsen Lye
bebe50afb0
Final fixes for new well structure (to make it compile)
2012-05-02 13:02:59 +02:00
Kjetil Olsen Lye
7c6ac0bf09
Completly revamped the way group control is checked
2012-04-25 16:14:40 +02:00
Atgeirr Flø Rasmussen
6b00381393
Removed unused saturation argument from conditionsMet() methods.
2012-04-25 14:03:57 +02:00
Atgeirr Flø Rasmussen
8acd9d9f63
Fixed bug in computeWDP(), add gravity argument. Make WellReport output in friendly units.
2012-04-25 12:37:30 +02:00
Atgeirr Flø Rasmussen
4e55e8c912
Minor change to computeWDP() interface.
2012-04-24 13:48:00 +02:00
Kjetil Olsen Lye
1d54445546
Added a (small) hack to wellmanager (defaulting injected_phase to water)
2012-04-23 13:24:47 +02:00
Kjetil Olsen Lye
4197f16a14
Passed around a WellControlResult argument to the different wellcontrol functions
2012-04-17 16:36:49 +02:00
Kjetil Olsen Lye
d557b91db0
Made use of the new LinearSolverFactory in wells_example
2012-04-16 12:18:37 +02:00
Kjetil Olsen Lye
fe739986be
modified the group control interface slightly
2012-04-13 20:41:09 +02:00
Kjetil Olsen Lye
fb95c6da19
Added computations for total flow for each well
2012-04-13 14:22:44 +02:00
Kjetil Olsen Lye
fcca65748e
Added checks for BHP and fluid_volume_rate for group control. Also added error tolerance for group control
2012-04-13 12:57:47 +02:00
Kjetil Olsen Lye
40ac7414ac
Made a (possibly wrong) adjustment to well_controls_append. Each control now has its current index set to 0, as there's only supposed to be one control per well.
2012-04-12 18:47:06 +02:00
Kjetil Olsen Lye
23019eb23d
Made a computeWDP-function
2012-04-12 17:50:51 +02:00
Kjetil Olsen Lye
bbb5f56d2b
Changed input arguments for group checking
2012-04-12 16:56:58 +02:00
Kjetil Olsen Lye
fbf157bb41
Made queries upwards from wells to group to group
2012-04-12 15:48:24 +02:00
Kjetil Olsen Lye
aaf887cf61
Made the WellNode be aware of their own index
2012-04-12 14:25:39 +02:00
Kjetil Olsen Lye
b37f1edc88
Made linear solving of first timestep
2012-04-11 15:29:58 +02:00
Kjetil Olsen Lye
7db1027935
Fixed namespacing issue
2012-04-10 14:47:29 +02:00
Kjetil Olsen Lye
88d6a626e3
Added exmaple file
2012-03-27 10:56:32 +02:00