Vegard Kippe
b7b99a2445
Fixed var names
2023-12-20 15:06:01 +01:00
Vegard Kippe
32634f47d1
Properly check both positive and negative solutions to the connection IPR with flow-dependent skin
2023-12-20 14:20:50 +01:00
Vegard Kippe
ab690980de
Pick valid rate or use zero flow-dependent skin
2023-12-20 14:20:50 +01:00
Vegard Kippe
d252f069e4
Test using rate consistent D-factor transmissibility multipliers
2023-12-20 14:20:50 +01:00
Stein Krogstad
e908c95ca2
Avoid call to saturationPressure
2023-12-19 09:54:52 +01:00
Stein Krogstad
7c91c015cf
updates according to Atgeirrs comments
2023-12-07 13:09:00 +01:00
Stein Krogstad
1fd1c5afc6
Updates according to Atgeirr's comments
2023-12-07 13:09:00 +01:00
Stein Krogstad
00bd006eb4
Fix bugs
2023-12-07 13:09:00 +01:00
Stein Krogstad
2121373e4f
clean-up
2023-12-07 13:09:00 +01:00
Stein Krogstad
5083052a3f
clean-up, fixing and add debug info
2023-12-07 13:09:00 +01:00
Stein Krogstad
44e17fa615
cleanup thp-solve
2023-12-07 13:09:00 +01:00
Stein Krogstad
b287981e5e
testing
2023-12-07 13:09:00 +01:00
Stein Krogstad
7aa50f149f
updates
2023-12-07 13:09:00 +01:00
Stein Krogstad
94c0b49cf7
revert changes
2023-12-07 13:09:00 +01:00
Tor Harald Sandve
e1aa233026
Adapt wdfac to wpimult
2023-11-23 15:22:51 +01:00
Stein Krogstad
b08bc029e6
Fix shut-in logic for wells with shut-intructions
2023-11-22 16:53:48 +01:00
Tor Harald Sandve
be06132702
remove trans multiplier from dake
2023-11-22 13:59:06 +01:00
Tor Harald Sandve
4879896789
adapt to refactoring of getDFactor
2023-11-22 09:17:28 +01:00
Tor Harald Sandve
ecd9930225
dont scale d factor from wdfaccor
2023-11-21 17:51:36 +01:00
Markus Blatt
de50fe5702
Fixed typo: control model -> control mode.
2023-11-20 08:29:24 +01:00
Tor Harald Sandve
82cb3c3b53
Fix connection and well dfactor
...
The well dfactor is scaled by the well index
If postive the connection dfactor is threated as a well factor
and also scaled. If negative the connection dfactor is not scaled
2023-11-16 14:50:59 +01:00
Tor Harald Sandve
0f12977b17
only use d factor for gas wells
2023-11-14 12:45:25 +01:00
Bård Skaflestad
bf72698310
Merge pull request #4832 from totto82/wdaccor_refactor
...
Implement Forchheimer term in wellIndex
2023-10-31 17:46:49 +01:00
Kai Bao
beda7a0b35
checking LIFTOPT active before trying to optimizing alq
...
in gliftBeginTimeStepWellTestIterateWellEquations.
otherwise, if the increment is 0 (inactive), the function
gliftBeginTimeStepWellTestIterateWellEquations
might return undesired results or enter endless loop.
2023-10-25 23:00:54 +02:00
Kai Bao
2b97c3fe1d
checking LIFTOPT active before gliftBeginTimeStepWellTestUpdateALQ
...
to avoid meaningless message output related to GLIFT and WTEST
2023-10-25 21:45:19 +02:00
Tor Harald Sandve
90e791877c
Implement Forchheimer term in wellIndex
...
Add output of CDFAC
Add effect of compaction on CTFAC
2023-10-23 08:55:21 +02:00
Kai Bao
a525f0865f
removing white spaces in the wells folder
2023-10-09 11:14:48 +02:00
Kai Bao
b1974bbe45
recovering the SHUT during iteration beahvoir in prepareWellBeforeAssembling
...
when local_well_solver_control_switching_ is off
and incoporating commenst regarding resetting wellStatus_ in StandardWell within
the function iterateWellEqWithSwitching.
2023-09-29 10:55:19 +02:00
Kai Bao
e38e557bbc
cleaning up to preapre for pull request
2023-09-29 10:55:19 +02:00
Stein Krogstad
035d216641
adding function iterateWellEqWithSwitching
...
when we do the local solve for well equations, control/status will be
updated during the iteration process, such that the converged well gets
correct control/status regarding to the current reservoir state.
various change in the other parts of the code were made to make the
function work as intended.
2023-09-29 10:51:04 +02:00
Bård Skaflestad
bb04054d2c
Merge pull request #4842 from totto82/wellPressGW
...
use gas pressure for gas-water system in the well model
2023-09-07 12:47:05 +02:00
Kai Bao
529af98ce9
setting uninitialized bhp to be bhp_limit in updateWellStateWithTarget
...
to avoid uninitialized bhp 0. to be used.
2023-09-07 08:50:37 +02:00
Tor Harald Sandve
8796fa1ccc
use gas pressure for gas-water system in the well model
2023-09-06 13:46:18 +02:00
Arne Morten Kvarving
92fa9577da
consistently use std::size_t
2023-08-15 09:32:10 +02:00
Arne Morten Kvarving
60b92d02eb
WellFilterCake: make stateful
2023-07-07 16:08:42 +02:00
Kai Bao
1981a3bf4d
switching to scale the mobility instead of the well index
...
mostly to make the calculation of productivity easier.
2023-07-06 15:58:30 +02:00
Kai Bao
eb08e2e863
cleaning up implementation related to filter cake
2023-07-05 13:25:03 +02:00
Kai Bao
7e5f1a1642
slightly different way to calculate the skin factor
...
for the radial model of the filter cake.
not tested yet.
2023-07-05 13:25:03 +02:00
Kai Bao
4cb3574e0f
incoporate keyword WINJCLN
...
still in draft state.
2023-07-05 13:25:03 +02:00
Kai Bao
43196800b6
a draft version for for RADIAL model for WINJDAM
2023-07-05 13:25:03 +02:00
Kai Bao
aa5062683d
a draft version for the linear geomery WINJDAM
2023-07-05 13:25:03 +02:00
Kai Bao
5e4cb8aeed
WIP in using the filter cake to generate the skin factor
2023-07-05 13:25:03 +02:00
Kai Bao
49774186ab
calculating the accumulative water injection volume
...
for each connection
2023-07-05 13:25:03 +02:00
Arne Morten Kvarving
7b33cc6d62
move computeConnLevel(Inj|Prod)Ind to WellInterface
...
now code is shared between STW and MSW
2023-06-22 09:58:58 +02:00
Arne Morten Kvarving
01c4aa1927
move updateWellStateWithTHPTargetProd to WellInterface
...
to share implementation between STW and MSW
2023-06-22 09:10:38 +02:00
Kai Bao
5f344eef26
avoid dividing by zero in updateWellStateRates()
2023-06-20 23:14:50 +02:00
Arne Morten Kvarving
2630522d7f
avoid unused variable warning with NDEBUG
2023-05-24 12:39:24 +02:00
Arne Morten Kvarving
0406a033a2
introduce getMobility in WellInterface
...
we now share implementation between StandardWell and MultisegmentWell
2023-05-15 21:39:59 +02:00
Kai Bao
1542f2c087
refactor the network update
...
moving the well controls and network update out of assembleImpl to avoid
call assmebleImpl in a recursive manner
2023-04-20 14:59:50 +02:00
Håkon Hægland
e241fccbca
Only iterate wells activated for gaslift
2023-04-13 11:08:30 +02:00