Commit Graph

233 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
48acb816ff Merge remote-tracking branch 'upstream/master' 2012-08-17 10:58:12 +02:00
Halvor Møll Nilsen
b0cbc3d7f4 Reintroduced writing of param. 2012-08-16 16:10:28 +02:00
Atgeirr Flø Rasmussen
a81df458e3 Gravity segregation column solver for compressible case implemented. 2012-08-14 11:25:59 +02:00
Atgeirr Flø Rasmussen
9a23b8db74 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
193d4d3921 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
59611a2d18 Transport solver partially complete (segregation solver remains). 2012-07-19 14:02:26 +02:00
Bård Skaflestad
31788277f9 Don't link in Fortran support libraries
This is an experiment, not strictly sanctioned by the AX_LAPACK macro
documentation, to avoid linker errors related to missing symbol MAIN__
in the (GFortran) run-time support libraries.  Strictly speaking, we
should be using the method outlined in the Autoconf manual, but we'll
try the easier way for now.

This commit is more or less equivalent to forward-porting commits
dd6e0fd3, c437eba2, and 9e885dc7 from the "ert" branch.
2012-07-10 13:38:33 +02:00
Bård Skaflestad
6b57a00b17 Avoid Clobbering Dune's Boost Support.
When OPM-Core is used as a Dune module (e.g., as enabled by commit
789bc5ca7), we stand the risk of creating multiple, conflicting
defintions of crucial <config.h> symbols (e.g. `HAVE_BOOST') and
build variables (e.g., `BOOST_CPPFLAGS' and `BOOST_LDFLAG').

Avoid this situation by prefixing these symbols with an `OPM_'
string such that Dune's `ENABLE_BOOST' solution works as intendend
in modules that are derived in the OPM context.
2012-07-09 17:42:56 +02:00
Bård Skaflestad
9005e4353c Build the library in a lib/ sub-directory of $(builddir)
Suggested by: Andreas Lauser
2012-07-03 16:44:03 +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
9faf5e2d71 Removed unused code. 2012-06-13 14:52:28 +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
92f1ce9b83 Examples and tutorials follow change to IncompTpfa interface. 2012-06-12 15:28:53 +02:00
Atgeirr Flø Rasmussen
8befffcbbb Changed interface of solve() and solveGravity() to accept full saturation (both phases) input. 2012-06-09 14:56:29 +02:00
Atgeirr Flø Rasmussen
2683d2f331 First simulator handling schedules. 2012-06-07 15:09:35 +02:00
Bård Skaflestad
8edbd2c296 Restore additional link-time flags to restore build on Ubuntu 11.10.
This does probably paper over some underlying issue, but I don't have
the time right now to investigate the problem further.
2012-06-07 12:41:31 +02:00
Bård Skaflestad
899fd960be Trim an unused header. 2012-06-06 20:08:03 +02:00
Xavier Raynaud
187957397c merge. 2012-06-06 15:19:02 +02:00
Xavier Raynaud
eb3d9d6e63 Added renormalization of pressure in the incompressible case. 2012-06-06 15:18:40 +02:00
Bård Skaflestad
15494cd88a Remove extended "LDADD" variable. Links inferred from libopmcore.la . 2012-06-06 14:42:36 +02:00
Bård Skaflestad
a097fde7c5 Visually split description into sections. Add comments in the process.
No functional changes.
2012-06-06 14:20:12 +02:00
Bård Skaflestad
1817d55698 Sort list of examples and PSVs. 2012-06-06 14:08:44 +02:00
Bård Skaflestad
49641f935d Refactor full "LDADD" statement out to single make variable.
Use where appropriate.
2012-06-06 14:07:03 +02:00
Atgeirr Flø Rasmussen
3d05430627 First version of SimulatorTwophase class done. Added test sim using it. 2012-06-06 13:54:53 +02:00
Atgeirr Flø Rasmussen
955b5ea068 Reorganized, added opm/core/wells/ and opm/core/simulator/. 2012-06-05 15:42:49 +02:00
Atgeirr Flø Rasmussen
dddf68fe54 Account for interface change in TransportModelTwophase::solve(). 2012-05-30 14:39:48 +02:00
Atgeirr Flø Rasmussen
e0d38cfaf8 Initial version of compressible transport. Work in progress. 2012-05-28 09:12:09 +02:00
Bård Skaflestad
7cea714a2e Revert to building "spu_2p" only if UMFPACK is available.
The program explicitly invokes the CSRMatrixUmfpackSolver and is
consequently dependent upon a working installation of UMFPACK.

Noticed by: Kari B. Skjerve.
2012-05-24 12:58:26 +02:00
Bård Skaflestad
854e098dad Sort source lists according to order of example programs. 2012-05-24 10:57:01 +02:00
Bård Skaflestad
2ff5f084f4 Remove an instance of EOL whitespace. 2012-05-24 10:54:24 +02:00
Bård Skaflestad
05c9b7f45c Split a few long lines. 2012-05-24 10:54:00 +02:00
Bård Skaflestad
b638677ad1 Sort list of example programs. 2012-05-24 10:51:46 +02:00
Atgeirr Flø Rasmussen
60ed946835 Added program refine_wells. 2012-05-24 09:18:37 +02:00
Atgeirr Flø Rasmussen
4245c97536 Update to match WellState::init() interface change. 2012-05-21 16:39:39 +02:00
Atgeirr Flø Rasmussen
5deeed1dac Added initBlackoilSurfvol() function. 2012-05-21 14:03:56 +02:00
Atgeirr Flø Rasmussen
9296e3056e Make proper calls to pressure solver. Work in progress. 2012-05-21 13:08:48 +02:00
Atgeirr Flø Rasmussen
521827c9d1 Added tolerance and maxiter arguments to CompressibleTpfa. 2012-05-21 11:24:12 +02:00
Atgeirr Flø Rasmussen
2bab1acdb6 Work in progress on CompressibleTpfa.
- Changed contstruction, now takes property object.
 - Well potentials done.
2012-05-18 11:10:31 +02:00
Atgeirr Flø Rasmussen
a1665d9902 Suppressed some warnings. 2012-05-16 15:56:04 +02:00
Atgeirr Flø Rasmussen
e57ef29fae Work in progress on compressible pressure solver. 2012-05-16 15:49:02 +02:00
Atgeirr Flø Rasmussen
9ad4272bc2 Start using WellState class. 2012-05-16 14:38:17 +02:00
Atgeirr Flø Rasmussen
3740242d7a Removed macro disabling initialization code. 2012-05-16 14:16:12 +02:00
Atgeirr Flø Rasmussen
79cdeaa5df Added initStateBasic() overload taking BlackoilPropertiesInterface props. 2012-05-16 12:54:48 +02:00
Atgeirr Flø Rasmussen
4c37676338 Renamed initTwophaseStateBasic() -> initStateBasic(). 2012-05-16 12:33:42 +02:00
Atgeirr Flø Rasmussen
9379263646 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
0cba414782 First compiling version, large sections are disabled. 2012-05-15 12:53:04 +02:00
Atgeirr Flø Rasmussen
26fc6a335a Adapt to changed computePorevolume() interface. 2012-05-14 21:53:36 +02:00