Commit Graph

163 Commits

Author SHA1 Message Date
Kjetil Olsen Lye
de957caab5 Added calculation of fractional flows and per phase flows in wells_example 2012-05-03 12:29:18 +02:00
Kjetil Olsen Lye
e6df79e341 Final fixes for new well structure (to make it compile) 2012-05-02 13:02:59 +02:00
Kjetil Olsen Lye
c27f47dead Completly revamped the way group control is checked 2012-04-25 16:14:40 +02:00
Atgeirr Flø Rasmussen
27af4b339d Removed unused saturation argument from conditionsMet() methods. 2012-04-25 14:03:57 +02:00
Atgeirr Flø Rasmussen
20d1dec648 Fixed bug in computeWDP(), add gravity argument. Make WellReport output in friendly units. 2012-04-25 12:37:30 +02:00
Atgeirr Flø Rasmussen
ce98195001 Include well flow in computeTransportSource().
Also minor fixes in spu_2p to handle no-wells case properly.
2012-04-24 15:15:36 +02:00
Atgeirr Flø Rasmussen
e934e7fdc6 Adding well support (work in progress). 2012-04-24 13:49:02 +02:00
Atgeirr Flø Rasmussen
eefcc69b3c Minor change to computeWDP() interface. 2012-04-24 13:48:00 +02:00
Kjetil Olsen Lye
6670f5de17 Added default oil handling 2012-04-23 13:49:53 +02:00
Kjetil Olsen Lye
fbf898b756 Added a (small) hack to wellmanager (defaulting injected_phase to water) 2012-04-23 13:24:47 +02:00
Atgeirr Flø Rasmussen
1f9fea92fa Catch exceptions from boost::create_directories() to give useful error message. 2012-04-23 11:10:55 +02:00
Kjetil Olsen Lye
f4e40578f5 Passed around a WellControlResult argument to the different wellcontrol functions 2012-04-17 16:36:49 +02:00
Kjetil Olsen Lye
11f0a14e61 Made use of the new LinearSolverFactory in wells_example 2012-04-16 12:18:37 +02:00
Kjetil Olsen Lye
99ff586dcc merge 2012-04-16 09:00:38 +02:00
Atgeirr Flø Rasmussen
b64db1027b Using LinearSolverFactory in spu_2p.cpp to gain linear solver flexibility. 2012-04-14 10:19:35 +02:00
Kjetil Olsen Lye
b1c5fa5aca modified the group control interface slightly 2012-04-13 20:41:09 +02:00
Kjetil Olsen Lye
c9a866fce0 Added computations for total flow for each well 2012-04-13 14:22:44 +02:00
Kjetil Olsen Lye
affbb08795 Added checks for BHP and fluid_volume_rate for group control. Also added error tolerance for group control 2012-04-13 12:57:47 +02:00
Kjetil Olsen Lye
8bc9e862d4 Made a (possibly wrong) adjustment to well_controls_append. Each control now has its current index set to 0, as there's only supposed to be one control per well. 2012-04-12 18:47:06 +02:00
Kjetil Olsen Lye
bc275a4755 Made a computeWDP-function 2012-04-12 17:50:51 +02:00
Kjetil Olsen Lye
1a524b0a14 Changed input arguments for group checking 2012-04-12 16:56:58 +02:00
Kjetil Olsen Lye
4aa0567fd4 Made IncompTpfa receive wells-output-arguments 2012-04-12 16:36:08 +02:00
Kjetil Olsen Lye
34460f1711 merge. 2012-04-12 15:48:59 +02:00
Kjetil Olsen Lye
49b18b2d96 Made queries upwards from wells to group to group 2012-04-12 15:48:24 +02:00
Atgeirr Flø Rasmussen
68a2d7fe26 Added and implemented parameter num_transport_substeps. 2012-04-12 14:43:05 +02:00
Atgeirr Flø Rasmussen
9121a81165 Removed unnecessary guard against using rock compressibility with segregation. 2012-04-12 14:25:53 +02:00
Kjetil Olsen Lye
77dc0991cf Made the WellNode be aware of their own index 2012-04-12 14:25:39 +02:00
Atgeirr Flø Rasmussen
8f7939ca10 Added #include <numeric> for std::accumulate(). 2012-04-12 14:14:24 +02:00
Kjetil Olsen Lye
9511d8dce2 Cleaned up examples/Makefile.am somewhat [made linking more clear] 2012-04-12 12:17:27 +02:00
Kjetil Olsen Lye
c65dff9f2d Added necessary libraries to the examples 2012-04-11 16:35:45 +02:00
Kjetil Olsen Lye
7f36232ba0 merge 2012-04-11 15:31:10 +02:00
Kjetil Olsen Lye
e70a6bbbd3 Made linear solving of first timestep 2012-04-11 15:29:58 +02:00
Bård Skaflestad
b156a5e41b Don't build the 'wells_example' unless UMFPACK is available.
While here, clean up the link-time dependency information.  This
information is inferred from the libopmcore.la Libtool library.
2012-04-11 09:06:07 +02:00
Kjetil Olsen Lye
b39d5c823f merge 2012-04-10 14:48:35 +02:00
Kjetil Olsen Lye
84b5041487 Fixed namespacing issue 2012-04-10 14:47:29 +02:00
Atgeirr Flø Rasmussen
b5c8b21bee Minor edit. 2012-04-02 15:42:28 +02:00
Atgeirr Flø Rasmussen
196ec80785 Corrected keyword for turning off gravity in deck input (NOGRAV). 2012-04-02 11:21:56 +02:00
Atgeirr Flø Rasmussen
c53fb7eb15 New parameter 'injected_porevolumes_per_day' implemented.
- Only used if no wells present.
 - Defaults to 0.0 if gravity is present.
 - Otherwise defaults to 0.1.
These defaults are intended to preserve behaviour from before the
initialisation code changed away from using the 'scenario' parameter.
2012-03-29 21:16:45 +02:00
Atgeirr Flø Rasmussen
06d5755c29 Multiple changes dealing with initialization. Work in progress.
- Moved simulator state class into its own file.
 - Using new initState...() methods in spu_2p.cpp
 - No longer controlled by 'scenario' parameter.
2012-03-29 13:05:59 +02:00
Atgeirr Flø Rasmussen
6370906f8c Suppressed multiple warnings. 2012-03-28 16:39:04 +02:00
Kjetil Olsen Lye
432f7c08a3 Added exmaple file 2012-03-27 10:56:32 +02:00
Kjetil Olsen Lye
bbfad835c9 merge 2012-03-27 09:23:32 +02:00
Kjetil Olsen Lye
4773318b28 added initial input reading for group control (GRUP-keyword) 2012-03-27 09:23:24 +02:00
Atgeirr Flø Rasmussen
bb953a5fba Added controls to nonlinear pressure iteration. Fixed segregation scenario init. 2012-03-26 16:08:57 +02:00
Kjetil Olsen Lye
dd2d474643 Added opm-parallelization to column solver for gravity. Did a (minor) interface change on extractColumn 2012-03-23 12:32:25 +01:00
Atgeirr Flø Rasmussen
20697bd8fb Implemented (primitive) fixed point iterations for pressure in the compressible rock case. 2012-03-20 21:37:58 +01:00
Atgeirr Flø Rasmussen
1d63d6246a Now running with rock compressibility (testing in progress). Multiple changes.
- TransportModelTwophase no longer takes pore volume in constructor, but in
   the solve() and solveGravity() calls.
 - Residual function uses compressibility term (not yet for gravity residual).
 - spu_2p now takes a new parameter "init_p_bar", and ReservoirState class
   accepts initial pressure as a constructor argument.
 - Moved parts of initialization around, since pore volume now depends on
   state (pressure).
2012-03-20 12:11:08 +01:00
Atgeirr Flø Rasmussen
82079418db Changed tot_porevol -> tot_porevol_init. Initialise rock_comp object. 2012-03-20 10:33:37 +01:00
Atgeirr Flø Rasmussen
a103933e2b Fixed bugs and changed interface for Gauss-Seidel segregation solver. 2012-03-16 13:41:10 +01:00
Atgeirr Flø Rasmussen
dd0cd85bf6 Added experimental Gauss-Seidel segregation solver. Not yet functioning. 2012-03-16 08:33:00 +01:00