Commit Graph

1906 Commits

Author SHA1 Message Date
Bård Skaflestad
0156c2d4f9 Dispose of "Wells" object at end of simulation.
Discovered by valgrind.
2012-06-18 10:16:28 +02:00
Bård Skaflestad
b8a6a14747 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
Bård Skaflestad
0abd570864 Sort _SOURCES and _HEADERS.
No functional change.
2012-06-16 19:18:04 +02:00
Bård Skaflestad
02458422c6 Restore a blank line that was lost in cset 9c4e97ff2ed5. 2012-06-16 18:55:50 +02:00
Kjetil Olsen Lye
4bee8b2d45 Removed errors on trying to open a shut well (or shut an open well). 2012-06-15 15:16:32 +02:00
Kjetil Olsen Lye
ba2729bff7 Handle WellOpen has both open and shut. 2012-06-15 14:29:43 +02:00
Kjetil Olsen Lye
c64ddca287 Made the grouptree respect the new convention of tilde. 2012-06-15 14:08:28 +02:00
Kjetil Olsen Lye
26b5d1ea39 Correct a const error. 2012-06-15 13:57:35 +02:00
Kjetil Olsen Lye
6bde0a03cd Added welshut for production wells. Also added wellopen-handling. 2012-06-15 13:49:58 +02:00
Kjetil Olsen Lye
407582b437 Added initial shutting of injection wells. 2012-06-15 13:38:07 +02:00
Atgeirr Flø Rasmussen
8cd85b0438 Fix output from SimulatorReport. 2012-06-15 10:51:34 +02:00
Atgeirr Flø Rasmussen
b99ef7a25a Bugfix: must have map for special fields for first epoch available after construction. 2012-06-15 10:49:44 +02:00
Atgeirr Flø Rasmussen
6c4b799925 WellsManager now handles multiple WELSPECS, WCONINJE, WCONPROD-lines referring to the same well.
This is mostly relevant for schedule handling. The last occurence of a well
is the one used.
2012-06-15 10:12:36 +02:00
Atgeirr Flø Rasmussen
dd83ac3b87 Update porosities before calling transport solver. 2012-06-14 21:51:44 +02:00
Atgeirr Flø Rasmussen
95bf53cc30 Moved SimulatorReport class into its own file, for reusability. 2012-06-14 14:13:03 +02:00
Atgeirr Flø Rasmussen
3f630b8d6b Moved SimulatorTimer class to opm/core/simulator directory. 2012-06-14 14:02:22 +02:00
Atgeirr Flø Rasmussen
136a2bf892 Removed unneeded code, improved reporting output. 2012-06-14 11:57:45 +02:00
Atgeirr Flø Rasmussen
f0aec74997 SimulatorTwophase::run() returns a timing report. Refined output. 2012-06-14 11:57:03 +02:00
Atgeirr Flø Rasmussen
294ce0b579 In SimulatorTimer: added setTotalTime(), made setCurrentStepNum() update current time. 2012-06-14 11:55:33 +02:00
Halvor M. Nilsen
1a95fe8199 Fixed one use of wells, when wells=NULL 2012-06-14 09:06:58 +02:00
Atgeirr Flø Rasmussen
5398ae169e Merged. 2012-06-13 19:45:32 +02:00
Atgeirr Flø Rasmussen
ed12b9ffff Enable inheritance from IncompTpfa for limited purposes. 2012-06-13 19:45:23 +02:00
Bård Skaflestad
2988b48bd3 computeFractionalFlow(): Reuse the output array in all intermediate calculations.
This eliminates a number of free-store operations and data movements.
2012-06-13 17:07:56 +02:00
Atgeirr Flø Rasmussen
3ccd149fbd Remove unused code. 2012-06-13 14:55:54 +02:00
Atgeirr Flø Rasmussen
4564068da6 Update documentation. 2012-06-13 14:55:44 +02:00
Atgeirr Flø Rasmussen
9faf5e2d71 Removed unused code. 2012-06-13 14:52:28 +02:00
Atgeirr Flø Rasmussen
431ae02f5d Added necessary include, suppressed a warning. 2012-06-13 10:59:48 +02:00
Atgeirr Flø Rasmussen
f2eff8837d Change default pressure residual tolerance to 0, to preserve behaviour. 2012-06-13 10:59:09 +02:00
Atgeirr Flø Rasmussen
b152c1c5c8 Merged. 2012-06-13 10:39:51 +02:00
Atgeirr Flø Rasmussen
5fa9b9e110 Initialise state variables. 2012-06-13 10:34:45 +02:00
Atgeirr Flø Rasmussen
b9afae7ef6 Bugfixes: correct sign for pressure increment, initialise rock_comp. 2012-06-13 10:34:15 +02:00
Bård Skaflestad
2a1561a246 Insert a few blank lines for grouping purposes. 2012-06-12 23:10:38 +02:00
Bård Skaflestad
37b49e31ed Use canonical library set for LAPACK. 2012-06-12 23:09:55 +02:00
Bård Skaflestad
91fb55af2c Libraries must follow the pertinent "-L" flags. 2012-06-12 23:08:59 +02:00
Bård Skaflestad
833268a33f Remove a per-target LDADD that's automatically satisfied. 2012-06-12 23:05:33 +02:00
Bård Skaflestad
ed24f7d43d Sort list of test executables (and _SOURCES). 2012-06-12 23:05:04 +02:00
Atgeirr Flø Rasmussen
92f1ce9b83 Examples and tutorials follow change to IncompTpfa interface. 2012-06-12 15:28:53 +02:00
Atgeirr Flø Rasmussen
e1d5e55f1b Added constructor for incompressible cases.
Also added computeStaticData() helper called by both constructors.
It is still possible to use the other constructor for an incompressible case,
by passing a null pointer for the rock_comp argument.
2012-06-12 15:24:31 +02:00
Atgeirr Flø Rasmussen
cc0f374137 Reindent. 2012-06-12 15:22:23 +02:00
Halvor M. Nilsen
97415da35d Merge from upstream. 2012-06-12 12:47:45 +02:00
Halvor M. Nilsen
c550e8b4a2 Small cleanup in code. 2012-06-12 12:46:19 +02:00
Halvor M. Nilsen
843163fb4b Add genetion of edges. This maybe unsafe for general grids. There should be more testing 2012-06-12 12:35:35 +02:00
Atgeirr Flø Rasmussen
57e2d62513 Merged. 2012-06-12 11:17:02 +02:00
Atgeirr Flø Rasmussen
6cbd78b4ba Removed unused code. 2012-06-12 11:16:43 +02:00
Atgeirr Flø Rasmussen
d8580716de Removed some unused variables. 2012-06-12 11:16:26 +02:00
Atgeirr Flø Rasmussen
a558878917 Major simplification of IncompTpfa interface.
Most significant changes:
     - Single solve() call used for all cases (with or without gravity,
       with or without rock compressibility). This is intentionally
       similar to CompressibleTpfa::solve().
     - Constructor take a property object and computation of necessary total
       mobilities etc. moved inside class.
     - Optional constructor args for rock compressibility, gravity, wells,
       boundary conditions (null pointer accepted) and source terms (empty
       vector accepted).
     - Nonlinear iterations for the compressible rock case now handled inside
       IncompTpfa. This part intentionally made similar to CompressibleTpfa.
2012-06-12 10:27:48 +02:00
Atgeirr Flø Rasmussen
7a5a32819b Fix comment. 2012-06-12 10:14:26 +02:00
Bård Skaflestad
54a993e99d Refine description of allocate_grid() return value.
Specifically, the "global_cell" field remains unallocated (i.e.,
NULL) while other fields have undetermined contents.
2012-06-11 18:52:44 +02:00
Bård Skaflestad
bf0e469cf5 Split a few long lines in allocate_grid() documentation. 2012-06-11 17:54:56 +02:00
Bård Skaflestad
6f8dc0e0dc Constructor: Move common failure mode to end of if-else chain.
While here, add a failure mode pertaining to solvers that are
supported by the system but disabled at configure time.
2012-06-11 17:54:23 +02:00