Commit Graph

55 Commits

Author SHA1 Message Date
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
Kjetil Olsen Lye
9fd882132b created first draft of well tutorial 2012-05-16 16:58:05 +02:00
Atgeirr Flø Rasmussen
9314fc63e6 Follow changes to TwophaseState class and initState*() functions. 2012-05-16 12:54:12 +02:00
Kjetil Olsen Lye
8cc01a8158 Created base for new wells tutorial 2012-05-15 10:53:13 +02:00
Atgeirr Flø Rasmussen
23cbdd3430 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
Atgeirr Flø Rasmussen
068fc2dc70 Small improvements to tutorial2. 2012-04-24 10:17:57 +02:00
Atgeirr Flø Rasmussen
d4eb75898a Improve a little on tutorial 1. 2012-04-23 16:43:31 +02:00
Xavier Raynaud
fc9bc50896 Removed warnings from compiler. 2012-04-18 14:33:44 +02:00
Xavier Raynaud
cabe5a5cea Corrected typos. 2012-04-18 14:32:20 +02:00
Xavier Raynaud
12aaf93535 Updated tutorials. 2012-04-17 17:24:19 +02:00
Xavier Raynaud
c43954548b Added Doxygen comments in tutorials. 2012-04-16 17:54:42 +02:00
Xavier Raynaud
d2fcdeec2f Added Multiphase tutorial. 2012-04-16 17:50:29 +02:00