Skip to content

Instantly share code, notes, and snippets.

@rolk
Created January 17, 2014 20:40
Show Gist options
  • Save rolk/8480992 to your computer and use it in GitHub Desktop.
Save rolk/8480992 to your computer and use it in GitHub Desktop.
RUNSPEC
TITLE
Issue #458: Saturation cannot be lower than residual
DIMENS
5 1 1
/
-- CO2 is the first, injecting phase (WATER),
-- brine is the second, produced phase (OIL)
WATER
OIL
-- only use SI units
METRIC
START
01 JAN 2014
/
-- two wells, one injector and one producer
WELLDIMS
2 1 1 2
/
GRID
-- five blocks: one injector, one producer,
-- one in contact with the injector, one in
-- contact with the producer, and one not
-- in contact with either of them.
SPECGRID
-- X Y Z
5 1 1 1 F
/
COORD
-- SX SY SZ EX EY EZ
0 0 0 0 0 1
1 0 0 1 0 1
2 0 0 2 0 1
3 0 0 3 0 1
4 0 0 4 0 1
5 0 0 5 0 1
0 1 0 0 1 1
1 1 0 1 1 1
2 1 0 2 1 1
3 1 0 3 1 1
4 1 0 4 1 1
5 1 0 5 1 1
/
ZCORN
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
/
ACTNUM
5*1
/
PORO
5*0.25
/
PERMX
5*100
/
PERMY
5*100
/
PERMZ
5*100
/
PROPS
-- brine is 990 kg/m3, 0.35cP,
-- co2 is 650 kg/m3, 0.06cP, at 100 bars (40C)
DENSITY
-- brine co2
990 650
/
PVCDO
-- pres vol.f comp visc
100 1 0 0.35
/
PVTW
100 1 0 0.06
/
-- screenscraped from a presentation at Stanford
SWOF
-- S_co2 kr_co2 kr_br Pcow
0.05 0.00 1.00 0.0000
0.10 0.01 0.60 0.0375
0.20 0.03 0.30 0.0450
0.30 0.10 0.20 0.0475
0.40 0.15 0.10 0.0550
0.50 0.25 0.05 0.0575
0.60 0.45 0.03 0.0700
0.70 0.70 0.01 0.1000
0.80 1.00 0.00 0.5000
/
SOLUTION
-- no CO2 present in the reservoir initially
SWAT
5*0.0
/
-- every block in the grid starts out water-filled
SOIL
5*1.0
/
-- no pressure gradient in the reservoir
PRESSURE
5*100
/
SCHEDULE
-- injector is at (1,1,1..1) and will be injecting CO2,
-- producer is at (5,1,1..1) initially giving water,
-- both wells is at 1000m depth and have a radius of 0.2m
WELSPECS
inj grp 1 1 1000 WATER /
prod grp 5 1 1000 OIL /
/
COMPDAT
inj 1 1 1 1 OPEN 1 0 0.2 /
prod 5 1 1 1 OPEN 1 0 0.2 /
/
-- inject CO2 with a constant rate of 0 cubic meters per day
WCONINJE
inj WATER OPEN RESV -1 0 /
/
-- produce the same amount of volume
WCONPROD
prod OPEN RESV -1 -1 -1 -1 0 /
/
-- do only one timestep
TSTEP
1
/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment