Atgeirr Flø Rasmussen
79b861db10
Silence multiple warnings.
2015-05-29 16:31:32 +02:00
Andreas Lauser
2b085e0062
fully implicit simulators: various cleanups
...
these are mostly stylistic: the function bodies of most new methods
have been moved to the _impl.hpp file and the Simulator classes are
now templated on the grid type, so it should be not too hard to switch
them to Dune::CpGrid.
2015-05-29 12:59:40 +02:00
Andreas Lauser
d27fb2bc45
properly use the SimulatorBase class for SimulatorFullyImplicitBlackoilPolymer and SimulatorFullyImplicitCompressiblePolymer
2015-05-28 13:56:07 +02:00
Andreas Lauser
0f1a7a16d7
unify the run() methods and the constructors of the 2p-compressible and the flow_polymer with the one from flow
2015-05-28 13:56:07 +02:00
Andreas Lauser
a816ab9a0c
start to use the SimulatorBase class for SimulatorFullyImplicitCompressiblePolymer
...
since SimulatorFullyImplicitCompressiblePolymer is now a template, the
opaque pointer stuff is also removed and the contents of the .cpp file
basically became _impl.hpp. for SimulatorFullyImplicitBlackoilPolymer,
the opaque pointer stuff was removed for the same reasons as for
SimulatorFullyImplicitBlackoil.
the actual unification of code is not yet done, but this patch points
out the direction of where this will go.
Also note that some synchronization with the ordinary blackoil
simulator (FLOW) was necessary to make it compile.
Finnally, the parser currently likes to throw an exception (also for
the opm-polymer master) when eating the opm-data polymer test
case. This prevented me from properly testing this patch:
```
and@heuristix:~/src/opm-polymer|simplify_simulator > ./bin/flow_polymer deck_filename=/home/and/src/opm-data/polymer_test_suit/simple2D/2D_THREEPHASE_POLY_HETER.DATA
================ Test program for fully implicit three-phase black-oil flow ===============
--------------- Reading parameters ---------------
deck_filename found at /, value is /home/and/src/opm-data/polymer_test_suit/simple2D/2D_THREEPHASE_POLY_HETER.DATA
output not found. Using default value 'true'.
output_dir not found. Using default value 'output'.
Program threw an exception: IOConfig: Reading GRIDFILE keyword from GRID section: Output of GRID file is not supported
terminate called after throwing an instance of 'std::runtime_error'
what(): IOConfig: Reading GRIDFILE keyword from GRID section: Output of GRID file is not supported
Aborted
```
2015-05-28 13:56:07 +02:00
Atgeirr Flø Rasmussen
98fd744c29
Merge pull request #100 from edbru/OPM-186
...
Now also flow_polymer.cpp in project opm-polymer takes the NOSIM keyword...
2015-05-18 12:53:10 +02:00
Kai Bao
807c528bef
Removing a white space.
2015-04-15 16:56:05 +02:00
Kai Bao
fc36bc866a
Accept single deck filename as command line argument.
2015-04-15 16:48:36 +02:00
Kai Bao
8c67dddf90
Adding the startup message for flow-polymer.
...
Three letters wider than flow.
2015-04-15 16:38:56 +02:00
Edvin Brudevoll
d300cb6eb6
Now also flow_polymer.cpp in project opm-polymer takes the NOSIM keyword into account.
2015-04-15 14:17:40 +02:00
Andreas Lauser
239547e794
Revert "pass the deck to the output writer"
...
This reverts commit 71987ae3b038c141a673ae1c1037f63ed695e595.
2015-03-31 12:10:16 +02:00
Andreas Lauser
206d7b56e4
pass the deck to the output writer
2015-03-26 17:33:20 +01:00
Liu Ming
f23f5fac8e
rename sim_poly_fibo_ad to flow_polymer.
2015-03-24 17:06:32 +08:00
Liu Ming
b4d834508c
Updates FIBOPOLYMER simulator based on flow simulator.
...
Rename sim_poly_fibo_ad to flow_polymer.
2015-03-24 15:07:25 +08:00
chflo
8870da536d
OPM-166: opm-core method thresholdPressures signature has changed
2015-02-17 10:12:37 +01:00
Liu Ming
74332085dc
change PolymerInflow constructor interface due to commit 6628941c9c9d781db9ec8e3ac05a3a8dc49dcf21 in opm-parser.
2015-01-27 12:24:26 +08:00
Atgeirr Flø Rasmussen
a20f0291a1
Merge pull request #81 from qilicun/wpolymer_schedule
...
add new polymerInflow constructor, get polymer injection rate from schedule section
2014-12-12 09:38:34 +01:00
Andreas Lauser
47fe10e8fb
adapt to the removal of the "strict parsing" concept
2014-12-09 14:20:26 +01:00
Liu Ming
9303e41966
add new polymerInflow constructor, get polymer injection rate from schedule section.
2014-11-20 16:32:02 +08:00
Liu Ming
ac764bd8a8
let sim_poly_fi2p_comp_ad works as the same way as sim_poly_fibo_ad.
...
- move time iteration to simulator class
- add EclipseWriter and output Eclipse binaries.
- add DeckConstPtr for polymer inflow.
2014-10-29 13:23:50 +08:00
Liu Ming
a23e4ca63b
remove historical and un-used files.
2014-10-28 14:28:34 +08:00
Liu Ming
5242d6bbf7
move time iterations to Simulator class and pass deck to create polymer inflows.
...
This should solve the issues: write the final state to eclipse binaries.
2014-10-28 13:14:44 +08:00
Liu Ming
ba6fef4fbd
pass wells manager from sim_poly_fibo to Simulator class, instead of directly
...
create it in Simulator class, since polymer inflow need deck and wells.
2014-10-24 14:04:57 +08:00
Liu Ming
61c76c4294
use std::unique_ptr instead of boost::scoped_ptr.
2014-10-20 17:29:59 +08:00
Liu Ming
6b3b90500f
Merge remote-tracking branch 'opm/master' into bo_polymer
...
Conflicts:
opm/polymer/PolymerProperties.hpp
2014-10-20 13:51:37 +08:00
Liu Ming
6a051b7e4e
adapte the API changes of PolymerProperties class.
2014-10-16 10:03:13 +08:00
Liu Ming
ddfb030b57
Merge remote-tracking branch 'opm/master' into bo_polymer
2014-10-16 10:00:37 +08:00
Andreas Lauser
7c122c18d3
use the TLMIXPAR keyword directly
...
instead of using a table class. This is because the keyword is not a
table...
2014-10-14 12:29:31 +02:00
Liu Ming
6d76151b6d
use std::unique_ptr instead of std::shared_ptr for polymerInflowInterface.
2014-10-11 16:38:59 +08:00
Liu Ming
c2d6347271
make some tricks for initialing polymer_inflow, this maybe wrong, but now no bugs.
2014-10-09 14:23:36 +08:00
Liu Ming
73c2032974
fix some bugs.
2014-10-09 10:04:17 +08:00
Liu Ming
be927741b8
create a blackoil+polymer simulator.
2014-10-08 14:46:43 +08:00
Liu Ming
979c2dc0f7
use Newton iteration solver interface from opm-autodiff, prepare for CPR supporting.
2014-09-26 14:54:57 +08:00
Liu Ming
8620ce2641
use std::shared_ptr instead of boost::scoped_ptr.
2014-09-26 14:03:55 +08:00
Liu Ming
e22398c098
make Opm::DerivedGeology as a direct arguement for simulator.
2014-09-25 16:40:01 +08:00
Liu Ming
9a41199bd4
Merge remote-tracking branch 'opm/master' into fim
...
Conflicts:
cmake/Modules/Findopm-autodiff.cmake
2014-09-23 16:04:15 +08:00
Andreas Lauser
9fbf4b2b3b
adapt the the table related API changes of opm-parser
2014-09-17 13:28:39 +02:00
Andreas Lauser
0dfa8680f7
use the EclipseState instead of the raw deck
...
this is needed to enable property modifiers...
2014-06-07 18:45:46 +02:00
Andreas Lauser
3a6d989d5e
move the code away from EclipsGridParser to opm-parser
2014-04-26 11:13:59 +02:00
Atgeirr Flø Rasmussen
55f5b0a10e
Merge pull request #52 from qilicun/read_plyshear
...
make PolymerProperties handle PLYSHEAR keyword.
2014-04-15 08:18:49 +02:00
Joakim Hove
b398ce3b3d
Removed Wellsmanager constructor which used old EclipseGridParser instance.
2014-03-25 19:12:19 +01:00
Liu Ming
1e41e58ce7
makd PolymerProperties handle PLYSHEAR keyword.
2014-03-18 13:25:52 +08:00
Liu Ming
12318fe754
output watercut by using utilities.cpp/computeInjectedProduced function.
2014-01-22 14:17:04 +08:00
Liu Ming
cf28164a5a
new simulator for fully implicit compressible twophase
...
polymer works.
2013-12-27 15:48:04 +08:00
Liu Ming
c37539b3ab
add well controls for polymer, but rate control just for
...
water phase and oil phase.
2013-12-24 17:31:11 +08:00
Liu Ming
2985dc7cce
make the simulator read from deckfile
...
make it much more gerenal.
2013-12-17 23:49:09 +08:00
Liu Ming
970fe665d8
add the bhp well controls.
2013-12-17 17:36:43 +08:00
Liu Ming
11ea882ed8
remove some output commits.
...
get values from command line for exapmes.
2013-12-11 18:27:05 +08:00
Liu Ming
a358da7afa
fix the polymer source bug,
...
warnning: water initial saturation should not bt zero when
running this simulator.
2013-12-10 20:36:30 +08:00
Liu Ming
6fc24236df
fix FullyImplicitTwophasePolymersolver constructor problem.
...
add some input commits for debugging.
2013-12-09 22:57:44 +08:00