Atgeirr Flø Rasmussen
cf9b7c39b9
Adapt to moved opm-grid headers.
2018-02-10 08:33:33 +01:00
Arne Morten Kvarving
141186ad1d
changed: opm/[core -> common]/utility/parameters
2018-01-30 16:33:45 +01:00
Arne Morten Kvarving
093d8bb134
rename tutorialx.cpp sim_tutorialx.cpp
2018-01-19 14:50:43 +01:00
Arne Morten Kvarving
b5b6a8ad97
adjust separate build system for tutorials
2017-12-06 12:01:48 +01:00
Tor Harald Sandve
ef78f01715
Add sat table id to well struct
2017-04-06 13:52:27 +02:00
Kai Bao
05a616f483
function for accumulative efficiency factor for WellNode
...
This is the final efficiency factor that goes to the source/sink terms
in the material balance equations.
2016-11-10 16:28:40 +01:00
Andreas Lauser
d21f146998
consolidate the unit system to opm-parser
...
since the unit code within opm-parser is now a drop-in replacement,
this simplifies things and make them less error-prone.
unfortunately, this requires quite a few PRs. (most are pretty
trivial, though.)
2016-10-10 17:50:26 +02:00
Kjell W. Kongsvik
f294745fea
Replace comment with "ifdef DISABLE_OUTPUT"
2016-03-29 14:57:58 +02:00
Kjell W. Kongsvik
cbef942d54
Commented out usage of OutputWriter in tutorials
2016-03-29 14:56:24 +02:00
Joakim Hove
25e82cf160
Replaced SimulatorState -> SimulationDatacontainer
...
Have removed the SimulatorState base class, and instead replaced with
the SimulationDatacontainer class from opm-common. The SimulatorState
objects were typcially created with a default constructor, and then
explicitly initialized with a SimulatorState::init() method. For the
SimulationDataContainer RAII is employed; the init( ) has been removed -
and there is no default constructor.
2016-03-29 10:44:49 +02:00
Joakim Hove
e5b20cb614
Added free function initSaturation().
...
The state argument is of type SimulatorState& - and no longer a template
parameter.
2016-02-22 22:03:41 +01:00
Joakim Hove
4e81f95c87
Changes in SimulatorState:
...
1. Added method setCellDataComponent()
2. Removed setFirstSat()
Implemented saturation initialisation using setCellDataComponent()
instead of setFirstSat(). This way the template<class Props> has been
removed from the SimulatorState class.
2016-02-22 08:42:04 +01:00
Joakim Hove
61a600d840
Removed SimulatorState::init( UnstructureGrid& )
2016-01-25 07:30:03 +01:00
Tor Harald Sandve
d83cb9e61f
Add boolean flag to determine whether crossflow is allowed in a well
...
This PR adds allow_cf to the wells structure that determine whether
crossflow is allowed or not. An extra argument is added to addWell(..)
to specify the allow_cf flag.
2015-10-06 15:54:20 +02:00
Arne Morten Kvarving
430b96b815
added: build system for tutorials
2014-06-23 10:48:32 +02:00
Arne Morten Kvarving
96f5509243
fixed: tutorials should include config.h conditionally
2014-06-23 09:53:52 +02:00
Andreas Lauser
eec694729c
catch all exceptions in all tutorials and examples
2013-09-05 13:04:38 +02:00
Andreas Lauser
d69e463b30
convert THROW to OPM_THROW
2013-09-05 13:04:37 +02:00
Andreas Lauser
66c0705e54
use std::shared_ptr instead of boost::shared_ptr
...
our policy is that we only use boost if necessary, i.e., if the oldest
supported compiler does not support a given feature but boost
does. since we recently switched to GCC 4.4 or newer, std::shared_ptr
is available unconditionally.
2013-08-08 13:25:58 +02:00
Júlio Hoffimann
5641247d6f
Remove trailing whitespaces
2013-07-28 08:34:13 -03:00
Júlio Hoffimann
0be19840e3
Purge unused variable in tutorial 4
2013-07-26 11:42:24 -03:00
Bård Skaflestad
d2e4052fab
Merge pull request #274 from blattms/non-tr1
...
Changed std::tr1 occurences to boost.
2013-07-04 12:01:51 -07:00
Markus Blatt
7ede9ec88a
Changed std::tr1 occurences to boost.
...
std::tr1 might not be supported by all compilers and will eventually
be dropped by others. Using boost instead makes this more
portable.
2013-07-04 16:04:35 +02:00
Roland Kaufmann
536e27ff41
Use natural names instead of mathematical notation
2013-06-28 13:44:15 +02:00
Roland Kaufmann
eba9a01da7
Sink should match source
...
Although it already does numerically, this make is more explicitly
clear.
2013-06-28 13:40:22 +02:00
Roland Kaufmann
544a8fc91e
Use a more realistic injection rate
...
In addition, this also shows how to use the units to specify the
measure.
2013-06-28 13:20:09 +02:00
Roland Kaufmann
84bfc4be27
Give a name to the porosity
...
Mostly one would assume that this would be the porosity since that's the
only non-named argument, but stating this explicitly saves us from one
trip to the manual.
2013-06-28 13:08:16 +02:00
Andreas Lauser
616a92cf80
Fix a few doxygen issues with the tutorials
2013-04-15 18:59:55 +02:00
Atgeirr Flø Rasmussen
31e7eba497
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
3d18341a9c
Make initGravity() to private, call from constructor.
...
Also modify interface of solveGravity() to be minimal,
construcing columns for segregations solver at construction time.
2013-03-15 13:53:37 +01:00
Atgeirr Flø Rasmussen
bfc086a9d0
Make TransportSolverTwophaseReorder inherit TransportSolverTwophaseInterface.
...
This changes the solve() interface, which requires clients to change.
2013-03-15 11:31:31 +01:00
Atgeirr Flø Rasmussen
eb1b22b514
Modified for added files and changed class names.
2013-03-14 21:43:21 +01:00
Atgeirr Flø Rasmussen
2edaf4152c
Adapt include statements to moved headers.
2013-03-14 10:29:42 +01:00
Atgeirr Flø Rasmussen
ed7b63f75d
Merge remote-tracking branch 'upstream/release/2013.03' into make-io-subdir
2013-03-12 10:46:58 +01:00
Andreas Lauser
b6453cb0e7
tutorial: make the copyright notice disappear in the HTML
...
IMHO it is not useful there.
2013-03-08 12:26:42 +01:00
Atgeirr Flø Rasmussen
97959ac566
Moved writeECLData and writeVtkData to opm/core/io subdirs.
2013-03-08 08:06:18 +01:00
Tor Harald Sandve
20e7c63d69
code is now included using \snippet. Apparently this looks better with the new Doxygen version. The HTML_EXTRA_STYLESHEET is now used rather then the HTML_STYLESHEET in order to include used-defined styles for the same reason
2013-03-06 10:17:27 +01:00
Roland Kaufmann
7285f2bfd1
Put figure generation program with number generation programs
...
Since the data files are generated by the tutorials, it is natural to
have the figure generation program also together with this source code;
otherwise people may think that it have to be used for *all* figures
2013-02-11 22:37:59 +01:00
Bård Skaflestad
5f3b172d35
Dispose of "Wells" object at end of simulation.
...
Discovered by valgrind.
2012-06-18 10:16:28 +02:00
Bård Skaflestad
23ae68968f
Add support for storing well names in "Wells" structure.
...
The well name must be passed as a parameter to add_well(), so update
callers accordingly.
2012-06-18 10:15:53 +02:00
Atgeirr Flø Rasmussen
b1baed3ead
Initialise state variables.
2012-06-13 10:34:45 +02:00
Atgeirr Flø Rasmussen
f01622bd09
Examples and tutorials follow change to IncompTpfa interface.
2012-06-12 15:28:53 +02:00
Kjetil Olsen Lye
1a4e7e3065
Updated tutorial4 to use the reorder solver.
2012-06-11 13:13:19 +02:00
Atgeirr Flø Rasmussen
99bb8c9587
Removed default null argument for wells in IncompTpfa constructor.
2012-06-07 13:34:05 +02:00
Xavier Raynaud
e662d1867e
merge.
2012-06-06 15:19:02 +02:00
Xavier Raynaud
b01d1e7bb6
Corrected typo.
2012-06-06 15:16:07 +02:00
Atgeirr Flø Rasmussen
6add0e3634
Reorganized, added opm/core/wells/ and opm/core/simulator/.
2012-06-05 15:42:49 +02:00
Atgeirr Flø Rasmussen
06b90c0f37
Remove superfluous tag.
2012-05-30 14:42:58 +02:00
Atgeirr Flø Rasmussen
f20f3eaf11
Simplified and cleaned up tutorial.
2012-05-30 14:40:17 +02:00
Kjetil Olsen Lye
f10a76ffd1
merge.
2012-05-16 17:00:09 +02:00