Tor Harald Sandve
19f0a81db1
Fixed from bitwise to logical operator
...
The && is used instead of &
2014-01-24 13:15:29 +01:00
Tor Harald Sandve
b2ac4c7aac
Fixed missing documentation
2014-01-24 13:14:08 +01:00
Atgeirr Flø Rasmussen
5d386f2a49
Bugfixes in treatment of perforation depths and final accumulation.
2014-01-23 12:42:57 +01:00
Atgeirr Flø Rasmussen
98371f660f
Fix mixture calculation for volatile oil case.
2014-01-23 12:40:54 +01:00
Liu Ming
0055ae1def
output watercut for incomp polymer solver.
2014-01-23 08:48:42 +08:00
Atgeirr Flø Rasmussen
ac6209640b
Documented interface for SegmentedWellModel.
2014-01-22 13:55:22 +01:00
Atgeirr Flø Rasmussen
ad81cc6a37
Initial version of segmented well model.
...
This computes pressure differences with respect to the bottom-hole pressure
for each well perforation, based on the well flows. It is explicit and not
implicit, using the previous time step's flow rates to calculate the necessary
densities.
2014-01-22 12:53:05 +01:00
Liu Ming
b9d3b8b1c4
add computeinjecprod function for incomp solver.
2014-01-22 17:07:28 +08:00
Liu Ming
4d2f2fb6a5
using last time step's cmax value when computing adsorption for inconp solver
2014-01-22 16:59:51 +08:00
Liu Ming
12318fe754
output watercut by using utilities.cpp/computeInjectedProduced function.
2014-01-22 14:17:04 +08:00
Liu Ming
8987a4c1d7
write max concentration to PolymerBlackoilState.
2014-01-21 13:45:02 +08:00
Liu Ming
f762684564
computing adsorption using last time step's value of cmax, fix the
...
bug that the front cells' concentrations is negative.
2014-01-20 16:25:30 +08:00
Liu Ming
5ac5df6b86
fix bug when compute the adsorption term in mass balance equation.
2014-01-14 15:33:32 +08:00
Liu Ming
6f6a986595
fix the bug when compute the adsorption term in the mass conservation
...
equation.
2014-01-14 12:59:45 +08:00
Tor Harald Sandve
ed02b4a91f
Implementation of live gas
...
The simulator now handles live gas as well as live oil.
The primary variables are Po,Sw and Rs,Rv or Sg depending on fluid
condition
State 1 Gas only (Undersaturated gas): Po, Sw and Rv
State 2 Gas and oil: Po, Sw and Sg
State 3 Oil only (Undersaturated oil): Po, Sw and Rs
This commit includes:
1. New interfaces for the vapor oil/gas ratios (Rv)
2. Modifications in the equations to handle rvs
3. New definition of ADI variable to handle changing primary variables
4. Modifications in the solution updates to handle changing primary
variable
5. Some changes in the appleyard process to sync with Mrsts livegas
implementation.
NOTE:
The implementation is tested on the liveoil cases SPE1 and a simplified
SPE9 and produces the same results as the old code.
The simulator is not yet able to converge on SPE3 with livegas present.
For SPE3 to converge a more robust well implementation is needed. The
current simulator reproduce the results of Mrst when a similar well
model is used in Mrst as is currently implemented OPM.
2014-01-10 16:07:32 +01:00
Tor Harald Sandve
3c5b0b9e73
Add interface for wet gas
...
The pvt interface is extened to handle wet gas
1. A function for rvSat is added to the interface
2. An interface that takes rv and the fluid condition as an input for
the gas properties is added. The old interface without rv and the fluid
condition is kept in the file.
3. The new interface is implemented in BlackoilPropsAd and
BlackoilPropsAdFromDeck.
A simulator that tests wet gas is not yet implemented.
2014-01-10 16:07:32 +01:00
Liu Ming
65764ce6f2
add a private member cmax_ to store the max concentration for per cell.
2014-01-10 17:53:54 +08:00
Liu Ming
97f5c5ace5
fix bug when computing the maxconcentration that the cell experienced.
2014-01-10 17:20:08 +08:00
Liu Ming
139bfb7e62
refactor well controls use new well controls gourp.
2014-01-10 14:15:24 +08:00
Liu Ming
7243418cc5
Merge remote-tracking branch 'opm/master' into adsorption
2014-01-10 13:38:40 +08:00
Joakim Hove
bd1417b164
Changed to use well_controls_get_current_distr().
2014-01-09 12:09:19 +01:00
Joakim Hove
a2fd7307b8
Using the well_controls_get_xxx() functions.
2014-01-09 12:06:26 +01:00
Joakim Hove
427f55940e
Changed direct access to struct WellControls to use well_controls_get_xxx() api. NB: Do check the calls to well_control_iget_distr().
2014-01-09 09:39:16 +01:00
Joakim Hove
37274035bc
Changed direct access to struct WellControls to rather use well_controls_get_xxx() api.
2014-01-09 09:39:08 +01:00
Liu Ming
689a3505b7
change residual norm from l2 to lp(p can be infinity).
2014-01-09 16:29:38 +08:00
Joakim Hove
25750c693e
Implemented well_controls based on well_controls_get_xxx() functions.
2014-01-06 15:02:19 +01:00
Liu Ming
391287283d
mistake use of typename.
2014-01-03 15:35:00 +08:00
Liu Ming
ff91428fe0
fix bug: check bhp vector is not empty.
2014-01-03 15:27:48 +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
7a874427af
remove fullyincomp twophase solver from cmake file list,
...
because they are handled in opm/autodiff.
2013-12-17 23:53:58 +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
6d5b90df54
modified the simulator more general.
2013-12-17 20:28:32 +08:00
Liu Ming
970fe665d8
add the bhp well controls.
2013-12-17 17:36:43 +08:00
Xavier Raynaud
2a20e6ebd1
Fixed build.
2013-12-16 11:43:52 +01:00
Liu Ming
c2cdc7ec17
add dead poro volume functionality.
2013-12-12 22:46:29 +08:00
Liu Ming
2eaf24decf
fix errors for debugging.
2013-12-12 21:58:25 +08:00
Liu Ming
25160d019a
add adsorption term for polymer equation.
...
rewrite some function for simplify.
2013-12-12 21:24:47 +08:00
Liu Ming
0558184439
modify the function for the polymer term.
2013-12-12 20:29:40 +08:00
Liu Ming
720e7ebbef
fix derivative of effective relperm respect to concentration.
2013-12-12 17:44:00 +08:00
Liu Ming
a7db4f3cf0
add adsorption and effective relperm functions.
2013-12-11 22:52:11 +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
Liu Ming
fb12565ddf
make PolymerState return numPhases.
2013-12-09 20:34:23 +08:00
Liu Ming
e226b5d95e
Simulator for fullyimplicit two phase flow with polymer
2013-12-09 20:33:05 +08:00
Liu Ming
080116c66b
Add fully implicit solver for incomp two phase with polymer
...
and the polymer properties based on AD.
2013-12-06 23:35:13 +08:00
Liu Ming
eded8f735c
chang include header from opm/autodiff to opm/polymer/fullyimplicit
2013-12-06 22:25:22 +08:00
Liu Ming
f6acccd396
incompressible two phase fully implicit simulator.
2013-12-06 22:13:29 +08:00
Andreas Lauser
58afaa5069
fix the rebase fallout
2013-12-06 10:33:58 +01:00