Commit Graph

389 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
a703bfbcf1 Merge pull request #958 from qilicun/rename_logfile
use standard filename for output log file.
2016-03-02 08:29:20 +01:00
Liu Ming
e12ca5a825 change .LOG to .SATFUNCLOG. 2016-03-02 14:58:37 +08:00
Liu Ming
61ebad5bba use standard filename for output log file. 2016-02-19 09:35:15 +08:00
Jørgen Kvalsvik
b8edc8b5b4 Change Deck access methods/types to references
opm-parser#677 changes the return types for the Deck family of classes.
This patch fixes all broken code from that patch set.

https://github.com/OPM/opm-parser/pull/677
2016-02-18 08:50:26 +01:00
Bård Skaflestad
6365167109 Merge pull request #946 from jokva/clean-up-header
Improve includes from opm-parser
2016-01-26 15:58:25 +01:00
Jørgen Kvalsvik
697763a4b9 Improve includes from opm-parser
Adopting to opm-parser PR#661, add previously missing includes.

https://github.com/OPM/opm-parser/pull/661
2016-01-26 13:30:58 +01:00
Liu Ming
56868d8a6e Add more parser mode options. 2016-01-25 11:13:19 +08:00
Jørgen Kvalsvik
c7349b5586 Fixes includes wrt opm-parser PR-656
Several files stopped compiling due to relying on opm-parser headers
doing includes. From opm-parser PR-656
https://github.com/OPM/opm-parser/pull/656 this assumption is no longer
valid.
2016-01-21 09:42:51 +01:00
Liu Ming
8d393ac816 remove unused object. 2015-12-08 16:02:36 +08:00
Liu Ming
252af19e4b Use OpmLog to output messages.
return messages and opmLog.
2015-12-02 10:58:06 +08:00
Liu Ming
944e1565fd rename variables and remove some unnecessary check and comments. 2015-12-01 13:49:49 +08:00
Liu Ming
6d06c36f64 1. Move implemtation to .cpp file.
2. Delete constructors.
3. Add config.h
2015-11-30 10:11:43 +08:00
Liu Ming
df6043ace6 add endpoints scaling consistency check. 2015-11-26 15:22:51 +08:00
Liu Ming
c128e218da use commandline instead of paramGroup. 2015-11-19 16:08:26 +08:00
Liu Ming
9e7d287212 use more relax ParseMode. 2015-11-19 13:31:19 +08:00
Liu Ming
1db1bf6fd6 initial RelpermDiagnostics. 2015-11-19 09:21:00 +08:00
Atgeirr Flø Rasmussen
62f59fa624 In sim_2p_incomp, avoid running everything twice.
There were loops (over all timesteps) both in the
main() function and the simulator class.

Note:
This simulator cannot properly handle changing
well configurations, and will now use only the
initial configuration (first report step), instead
of possibly crashing later.
2015-10-21 15:28:27 +02:00
Andreas Lauser
c8000272bf use the error macros from opm-common 2015-10-08 11:42:15 +02:00
babrodtk
12afe501fc Fixed warning, double=>int 2015-08-19 13:12:14 +02:00
babrodtk
104159af15 Minor fixes 2015-08-19 13:12:14 +02:00
babrodtk
ac0e72ea1d Refactoring 2015-08-19 13:12:14 +02:00
babrodtk
1dab5351c2 Initial integration of VFP 2015-08-19 13:10:48 +02:00
Joakim Hove
7b6172a1f8 Updated to use ParseMode. 2015-08-06 15:56:51 +02:00
Atgeirr Flø Rasmussen
37904a3e74 Make some programs stricter about parameter parsing.
This applies to programs which always require at least one parameter.
2015-04-14 15:32:19 +02:00
Atgeirr Flø Rasmussen
c56d69cb8a Fix treatment of source terms for backwards tracing. 2015-02-12 11:13:29 +01:00
Atgeirr Flø Rasmussen
0de85da487 Compute and output well pairs.
Only if already computing tracer information.
2015-02-12 10:13:33 +01:00
Atgeirr Flø Rasmussen
fbdc0ab9bb Compute both directions always in compute_tof. 2015-02-11 16:00:24 +01:00
Atgeirr Flø Rasmussen
9f4da3ad03 Rename directory opm/core/tof -> opm/core/flowdiagnostics. 2015-02-03 21:44:24 +01:00
Atgeirr Flø Rasmussen
e14d01b9b4 Fix bug relating to well control manipulation. 2015-01-21 21:15:26 +01:00
Atgeirr Flø Rasmussen
2a8beb1abc Parameter trace_start now controls trace direction.
Allowable values are Injectors or Producers.
This affects both tof and tracer, and properly switches
flux directions for Producers.
2015-01-21 20:55:23 +01:00
Atgeirr Flø Rasmussen
79ad0c1417 Can specify injector or producer tracers. 2015-01-21 15:28:27 +01:00
Atgeirr Flø Rasmussen
da9651f409 Remove unneeded output (also to file). 2015-01-21 15:04:41 +01:00
Atgeirr Flø Rasmussen
0f6d2104d4 Use simplified bhp-control pattern for tof computations. 2015-01-21 10:23:45 +01:00
Atgeirr Flø Rasmussen
a0f07e4421 Use single-phase props and solvers, only support deck input. 2015-01-20 15:47:50 +01:00
Atgeirr Flø Rasmussen
6df973a218 Use IncompPropertiesSinglePhase in compute_tof.
Work in progress. The rationale is that only single-phase flow solve
is required for tof and tracer computations.
2015-01-20 15:47:50 +01:00
Atgeirr Flø Rasmussen
7d4f44b2d7 Add a utility for actually running the eikonal solver. 2014-12-29 12:28:30 +01:00
Atgeirr Flø Rasmussen
dc35524986 Make compatible with C++98, silence warnings. 2014-11-27 14:38:43 +01:00
Alf B. Rustad
3180570262 This commit introduces mirror_grid
Fixed various nits
2014-11-27 12:28:29 +01:00
Atgeirr Flø Rasmussen
495699fde6 Use existing TimeMap, instead of creating new. 2014-11-03 13:33:30 +01:00
Atgeirr Flø Rasmussen
702859c5e3 Bugfix: avoid using TimeMap without deck.
This made the simulator crash when there is no deck involved.
2014-11-03 11:15:37 +01:00
Andreas Lauser
bd0bfc172b adapt the the table related API changes of opm-parser 2014-09-19 14:40:35 +02:00
Atgeirr Flø Rasmussen
d04fcbfd5b Fix: eclipseState no longer shadowed. 2014-08-28 14:14:22 +02:00
osae
89137e8cd0 Make use of EclipseState for EQLNUM and SWATINIT. 2014-06-26 14:46:57 +02:00
Andreas Lauser
0c47d27827 Glue in support for the grid property modifier keywords
this basically means using Opm::EclipseState instead of the raw deck
for these keywords.

with this, property modifiers like ADD, MULT, COPY and friends are
supported for at least the PERM* keywords. If additional keywords are
required these can be added relatively easily as well.

no ctest regressions have been observed with this patch on my machine.
2014-06-11 13:48:49 +02:00
Andreas Lauser
f96417e81c rename all "newParserDeck" objects to "deck"
The "new" parser is now "the" parser...
2014-05-21 11:22:43 +02:00
Andreas Lauser
1d7ed18419 convert the examples and the tests to opm-parser 2014-04-25 14:25:54 +02:00
Andreas Lauser
3b2aa175d5 remove the import_rewrite example
that one was quite specific to the old parser and would thus require
more work to convert to the opm-parser than what it is worth the
effort. If you _really_ want to keep this tool, ping me and I'll port
it...
2014-04-25 14:25:54 +02:00
osae
d6a2696cbd New parser included. 2014-03-28 17:35:43 +01:00
osae
5df819d509 Merge branch 'master' of git://github.com/OPM/opm-core
Conflicts:
	CMakeLists_files.cmake
2014-03-26 14:51:06 +01:00
Joakim Hove
20468d1987 Removed WellsManager constructor which takes an ole Eclipsegridparser instance. 2014-03-25 18:57:58 +01:00