Commit Graph

91 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
e5802e0532 Added optional column segregation solver (parameter "use_column_solver"). 2012-03-02 13:55:54 +01:00
Atgeirr Flø Rasmussen
c2a18bc7ca Added parameter "use_segregation_split", implemented using ImplicitTransport. 2012-03-01 10:32:58 +01:00
Bård Skaflestad
8a2aff536f Start solver messages on new line following "Scenario" output. 2012-02-28 09:42:21 +01:00
Bård Skaflestad
9c00ad8fe9 Support non-integral Cartesian cell sizes. 2012-02-27 23:43:58 +01:00
Bård Skaflestad
3ea1a823c8 Inspect global Cartesian cell when determining scenario 2 "left" reservoir half.
Assume that c_grid()->global_cell==0 signifies identity mapping (i.e.,
global_cell[cell]==cell).
2012-02-27 20:04:16 +01:00
Bård Skaflestad
84aad52d81 Fix logic error in defining "left" reservoir half in scenario 2.
Specifically, we must map into 0..cd[0]-1 and not some other
interval.  Moreover, as the "i" index cycles the most rapidly in
lexicographical ordering, a simple first dimension modulus operator is
sufficient.

On the other hand, this code does assume lexicographical ordering of
the cells which may or may not be guaranteed by the grid constructor.
The Cartesian constructors observe this behaviour, but other
constructors may not...
2012-02-27 19:59:01 +01:00
Bård Skaflestad
363c6564d9 Fully initialise the transport model gravity contributions when using gravity.
This initialisation used to be a part of the model construction, but
was refactored out in change-set 86c734a0ba48 and must thus be called
separately.
2012-02-27 17:34:57 +01:00
Atgeirr Flø Rasmussen
8a0d5728a8 Moved simulator utility functions to opm/core/utility/miscUtilities.hpp.
We want to avoid having hundreds of files with a single function, therefore
these functions have been lumped together. With time, a more sophisticated
organization of such free functions may be in order.
2012-02-26 21:05:19 +01:00
Atgeirr Flø Rasmussen
0e1107f195 Output estimated cell velocities. 2012-02-25 22:29:35 +01:00
Atgeirr Flø Rasmussen
65bd117d6b Bugfix, make vector of sufficient size to hold expected data. 2012-02-21 22:45:01 +01:00
Atgeirr Flø Rasmussen
1a62734e98 Added EXPERIMENT_ISTL-guarded code for testing Istl linear solver. 2012-02-21 22:14:01 +01:00
Atgeirr Flø Rasmussen
8d74253c64 IncompTpfa now takes a linear solver as a constructor argument. 2012-02-21 21:45:04 +01:00
Atgeirr Flø Rasmussen
a61bd0cf6d Added #if HAVE_CONFIG_H guards around #include "config.h". 2012-02-21 14:46:28 +01:00
Atgeirr Flø Rasmussen
03c995e4c0 Added parameters "dx", "dy", "dz" controlling cell size in the cartesian case. 2012-02-20 17:06:13 +01:00
Atgeirr Flø Rasmussen
452be898dc Made s_min() and s_max() behave properly, using underlying props' satRange(). 2012-02-20 13:50:45 +01:00
Atgeirr Flø Rasmussen
5633f9398b Using IncompTpfa instead of ad hoc class. 2012-02-20 13:42:42 +01:00
Atgeirr Flø Rasmussen
18d2b226de Using GridManager class instead of ad-hoc grid class. 2012-02-20 11:34:51 +01:00
Atgeirr Flø Rasmussen
d0d4ba7fce Now using writeVtkData() from the writeVtkData.hpp header. 2012-02-19 21:32:35 +01:00
Atgeirr Flø Rasmussen
b5270c2c5a Added "nl_tolerance" and "nl_maxiter" parameters. 2012-02-17 14:18:03 +01:00
Atgeirr Flø Rasmussen
f7b4762472 Added gravity (no segregation). Added "scenario" parameter. 2012-02-15 22:43:56 +01:00
Atgeirr Flø Rasmussen
a48b261a3c TransportModel* classes are now expected to have a custom solve() method. More:
- Using new solve() method in spu_2p.
 - solve() implemented in terms of protected superclass method reorderAndTransport().
 - Removed unused code being replaced by solve().
2012-02-10 10:48:18 +01:00
Atgeirr Flø Rasmussen
2061e7fcd8 Added timers. 2012-02-09 23:15:14 +01:00
Atgeirr Flø Rasmussen
660a45440d Using new reorderTransportTwophase() function. 2012-02-09 16:09:24 +01:00
Atgeirr Flø Rasmussen
bdd7bcb50f Fixed saturation initialization and updating of total mobilities. 2012-02-02 14:24:49 +01:00
Atgeirr Flø Rasmussen
a3eb09032b Catch up with unified grid construction/destruction, simplifying grid management. 2012-02-01 15:58:32 +01:00
Atgeirr Flø Rasmussen
7711b3920c Now using reorder solver by default. 2012-01-31 22:35:50 +01:00
Atgeirr Flø Rasmussen
48cd13228f Vtk output for general grids. Grid read from deck can use DIMENS or SPECGRID. 2012-01-31 22:33:48 +01:00
Atgeirr Flø Rasmussen
02a94c1f79 Work in progress on reading all props and grid from deck. No output yet. 2012-01-31 09:44:52 +01:00
Atgeirr Flø Rasmussen
4470ac6cb5 Now the non-reorder transport solver also uses new fluid props. 2012-01-27 11:43:14 +01:00
Atgeirr Flø Rasmussen
a120cdc80f Moved typedefs, refined output. 2012-01-27 09:19:59 +01:00
Bård Skaflestad
1b7a2fa9ac Add appropriate Boost libraries needed in specific executables. 2012-01-26 21:34:16 +01:00
Atgeirr Flø Rasmussen
63942cbd1d Now reorder code requires new property object, not using it yet (work in progress). 2012-01-24 16:17:05 +01:00
Atgeirr Flø Rasmussen
a3662637c1 Always warn about unused parameters, even if no solution output requested. 2012-01-24 16:00:16 +01:00
Atgeirr Flø Rasmussen
148c5a27d3 Added "output_dir" param, unused parameter warning and output of parameters used. 2012-01-24 15:22:51 +01:00
Atgeirr Flø Rasmussen
3424e0211b C++ified reordering transport solver facade. 2012-01-24 13:47:00 +01:00
Atgeirr Flø Rasmussen
9e0a018103 Modify example viscosity to match (temporarily) hardcoded reorder fluid. 2012-01-24 13:20:41 +01:00
Atgeirr Flø Rasmussen
b0ab8d093a Default stepsize now 1 day. 2012-01-24 10:07:10 +01:00
Atgeirr Flø Rasmussen
9faafdbf73 Correct mistake in transport source initialization. 2012-01-24 09:58:24 +01:00
Atgeirr Flø Rasmussen
e797a81108 Gave new, more-or-less reasonable default rates and timesteps. 2012-01-24 09:52:15 +01:00
Atgeirr Flø Rasmussen
98ab0cabfd Replaced Rock class with IncompPropertiesBasic, preserving behaviour. 2012-01-23 13:47:00 +01:00
Atgeirr Flø Rasmussen
ffcb9e0748 Reorganized and commented initialization section to prepare for change. 2012-01-23 13:06:25 +01:00
Atgeirr Flø Rasmussen
38cbdf5121 Re-introduced reorder functionality. 2012-01-23 12:43:37 +01:00
Atgeirr Flø Rasmussen
80ec53241f Merged. 2012-01-23 12:41:06 +01:00
Bård Skaflestad
0a8df0e33d Back out reorder option. We're not ready to begin using this. 2012-01-23 00:57:13 +01:00
Bård Skaflestad
a07f5b3eee Suppress warnings about missing previous function declarations. 2012-01-23 00:32:59 +01:00
Atgeirr Flø Rasmussen
efcd191ea1 Added "output" parameter for turning file output on/off. 2012-01-20 15:51:29 +01:00
Atgeirr Flø Rasmussen
da0bcc13a4 Added "use_reorder" parameter and implemented the option. 2012-01-20 15:36:52 +01:00
Atgeirr Flø Rasmussen
30d70fd0f8 Fix compilation error due to change in twophasetransport() prototype. 2012-01-20 14:07:56 +01:00
Atgeirr Flø Rasmussen
54a9d038c9 New parameters "guess_old_solution", "verbosity", "max_it" and "max_it_ls". 2012-01-19 23:51:09 +01:00
Atgeirr Flø Rasmussen
b2ce765133 Now writes output in vtk format. 2012-01-19 16:48:27 +01:00