Xavier Raynaud
8b0db641f4
merge
2012-05-09 15:15:13 +02:00
Xavier Raynaud
dbb34c73a6
Added Newton compressible fluid solver.
2012-05-09 15:06:13 +02:00
Xavier Raynaud
933d4adf44
Modified spu_2p to agree with newton compressible pressure solver.
2012-05-09 14:49:23 +02:00
Kjetil Olsen Lye
b7f16fa732
Introduced a hack to make it possible to test reinjection without supporting surface rate controls.
2012-05-09 13:58:25 +02:00
Kjetil Olsen Lye
82f0128a81
Multiplied with reinjection_fraction_target, as is proper.
2012-05-09 13:15:53 +02:00
Kjetil Olsen Lye
f2b847bb2c
Added explicit reinjection to spu_2p.
2012-05-09 13:15:02 +02:00
Kjetil Olsen Lye
9c7097381d
Made relevant methods in WellCollection and WellsManager to call the reinjection control functions
2012-05-09 13:03:37 +02:00
Kjetil Olsen Lye
50cb06a592
Added helpful comment.
2012-05-09 12:58:29 +02:00
Kjetil Olsen Lye
2394a474fc
Added simple reinjection to group control (explicit)
2012-05-09 12:57:36 +02:00
Kjetil Olsen Lye
965b6d54d8
Added summation method to find total produced rates in a given group.
2012-05-09 12:35:26 +02:00
Kjetil Olsen Lye
c72c4eed7c
Corrected some basic logic tests.
2012-05-09 11:29:13 +02:00
Kjetil Olsen Lye
5cf205f225
Added failure checking for solve method.
2012-05-09 11:28:56 +02:00
Kjetil Olsen Lye
832a2adb7f
merge.
2012-05-09 10:22:18 +02:00
Kjetil Olsen Lye
8e49914bbd
Added friendly printout
2012-05-09 10:17:58 +02:00
Kjetil Olsen Lye
338f5907a6
Added well controls in spu2p
2012-05-09 10:14:38 +02:00
Kjetil Olsen Lye
738ec64ac8
Added necessary input parameters for well checking in spu_2p
2012-05-09 09:48:49 +02:00
Bård Skaflestad
a2e5c4b44e
Add basic parameter sanity checks.
...
The "cells" parameter must be non-null in the relperm(), capPress(),
and satrange() methods.
2012-05-08 17:59:40 +02:00
Atgeirr Flø Rasmussen
27d7b433e3
Merged.
2012-05-08 16:00:54 +02:00
Atgeirr Flø Rasmussen
1e61783cd3
Use proper transport source term to compute injected and produced fluid.
2012-05-08 15:52:07 +02:00
Kjetil Olsen Lye
517121470e
merge.
2012-05-08 12:25:29 +02:00
Kjetil Olsen Lye
339a652e5d
Changed some minor bugs in the refactored code in wells_example
2012-05-08 12:23:58 +02:00
Bård Skaflestad
d55fd7b6b5
Delete trailing whitespace.
2012-05-08 12:04:59 +02:00
Bård Skaflestad
fcdca081b0
Fix a likely indexing error leading to non-unit strides.
2012-05-08 12:03:50 +02:00
Kjetil Olsen Lye
be956f2a70
Refactored some computations into seperate methods in wells_example.cpp
2012-05-08 11:04:15 +02:00
Kjetil Olsen Lye
e522a8df83
removed an extra uneeded call to the pressure solver
2012-05-07 15:51:54 +02:00
Kjetil Olsen Lye
ca0048f2fa
Converted reservoir volume max rate correctly in GCONPROD
2012-05-07 14:35:32 +02:00
Kjetil Olsen Lye
1a9204e8aa
Inserted reservoir max rate into the group structure
2012-05-07 14:28:33 +02:00
Kjetil Olsen Lye
b75f8a8e2b
Added reading of reservoir fluid max rate on GCONPROD
2012-05-07 14:23:26 +02:00
Kjetil Olsen Lye
4e0b5dca65
Inserted rock_comp into wells_example.
2012-05-07 13:29:52 +02:00
Atgeirr Flø Rasmussen
0f25f9b13e
Added shut well support to ifs_tpfa.
...
This was done using the convention that for a well w in W,
W.ctrls[w]->current < 0
means that it should be treated as shut. This allows us to keep the matrix
structure related to wells constant, without needing to remake it when wells
shut or open.
2012-05-04 08:15:06 +02:00
Kjetil Olsen Lye
ec21ce05a5
Made reservoir rates have a small error tolerated
2012-05-03 16:04:48 +02:00
Kjetil Olsen Lye
88410c06b2
Properly negate target for group control in WellNode
2012-05-03 15:44:51 +02:00
Kjetil Olsen Lye
f734c5dfe4
merge
2012-05-03 15:35:59 +02:00
Kjetil Olsen Lye
8b0c101824
Made a maximum number of iterations in wells_test
2012-05-03 15:35:44 +02:00
Atgeirr Flø Rasmussen
e78c7c6072
Rename parameter init_sat -> init_saturation (docs already used this name).
2012-05-03 13:48:59 +02:00
Atgeirr Flø Rasmussen
2cf04140a1
Rewrote wellsToSrc() to be a little more accepting and correct.
2012-05-03 13:45:19 +02:00
Atgeirr Flø Rasmussen
9338cc93d0
Remove unused variable.
2012-05-03 13:32:30 +02:00
Atgeirr Flø Rasmussen
861c3fd1ea
Fixed signs of production rate constraints (should be negative).
2012-05-03 13:29:02 +02:00
Kjetil Olsen Lye
aa5e2038f8
merge
2012-05-03 12:50:33 +02:00
Atgeirr Flø Rasmussen
ccbb553a2b
Fix bug in use of perforation data, and check that well contstruction calls succeed.
2012-05-03 12:49:37 +02:00
Atgeirr Flø Rasmussen
c9604fae47
Fix recently created bug in append_well_controls().
2012-05-03 12:48:56 +02:00
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
f4a8ef4c63
Made REIN a warning rather than a throw, just to get something up and running
2012-05-02 16:59:42 +02:00
Kjetil Olsen Lye
f13ac90ed6
Fixed applyGroupControls to handle zero guide rates
2012-05-02 16:54:49 +02:00
Kjetil Olsen Lye
54a8f7335c
Fixed small reading bug in well structure
2012-05-02 16:30:48 +02:00
Kjetil Olsen Lye
017bf98208
Removed calculateGuideRates and made all guide rate dependent code calculate the guide rate dynamically
2012-05-02 15:41:05 +02:00
Kjetil Olsen Lye
e6df79e341
Final fixes for new well structure (to make it compile)
2012-05-02 13:02:59 +02:00
Atgeirr Flø Rasmussen
06fdc66370
Major restructuring to improve support for groups, multiple controls etc. Work in progress.
2012-05-02 09:39:05 +02:00
Atgeirr Flø Rasmussen
53d5fd4e71
Add all present controls to wells, not just the active one.
...
Some restructuring to support more proper well handling, esp. group control
and surface rate controls in general.
2012-05-02 09:38:18 +02:00
Atgeirr Flø Rasmussen
67589f2f11
Whitespace and comment changes only.
2012-05-02 09:27:34 +02:00