UTCHEM Users Guide PDF
UTCHEM Users Guide PDF
UTCHEM Users Guide PDF
User's Guide
for
UTCHEM-9.0
A Three-Dimensional
Chemical Flood Simulator
Prepared by
July, 2000
UTCHEM User's Guide
TABLE OF CONTENTS
Page
1.0 INTRODUCTION 1
2.0 OPERATION OF THE SIMULATOR 3
2.1 Input and Output Files 3
2.2 Description of HEAD file 6
2.3 Compilation and Execution on Workstations 7
2.4 Compilation and Execution on a WINDOWS-based PC 9
3.0 INPUT DATA DESCRIPTION 11
3.1 Title and Reservoir Description Data 13
3.2 Output Option Data 23
3.3 Reservoir Properties 27
3.4 General Physical Property Data 43
3.5 Physical Property Data for Geochemical Options 89
3.6 Data for Biodegradation Option 97
3.7 Recurrent Injection/Production Data Set 107
APPENDICES
A OUTPUT FILES 125
A.1 Data Written to Profile Data File 125
A.2 Restart Run Procedure 126
A.3 Data Written to Stored Restart Run Data File 127
A.4 Data Written to Well History Plotting Data File(s) 129
A.5 Data Written to Overall History Plotting Data File 130
A.6 Data Written to Tracer Concentration Observation Point Data
File(s) 133
A.7 Output Files Created When Running GMS 132
B GEOCHEMISTRY OPTION (IREACT>1) 133
C MAIN PROGRAM FLOW OUTLINE 137
D PHASES AND SPECIES IN UTCHEM 141
E TIME-STEP SELECTION 143
E.1 Method of Relative Changes for First Three Components
(IMES=2) 143
E.2 Method of Relative Changes for All Components (IMES=3) 145
E.3 Method of Relative Changes Using Dimensionless
Concentration for All Components (IMES=4) 146
F CHANGES TO USER'S GUIDE 147
F.1 New Variables 147
F.2 Modified Variables 147
F.3 Other Changes 148
1.0 INTRODUCTION
UTCHEM is a three-dimensional chemical flooding simulator. The solution
scheme is analogous to IMPES, where pressure is solved for implicitly, but
concentrations rather than saturations are then solved for explicitly. Phase
saturations and concentrations are then solved in a flash routine. An energy balance
equation is solved explicitly for reservoir temperature. The energy balance equation
includes heat flow between the reservoir and the over- and under-burden rocks.
The major physical phenomena modeled in the simulator are:
1
UTCHEM User's Guide
INTRODUCTION
User notes:
2
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
3
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
you would like to receive additional sample input files, please contact Joanna L.
Castillo ([email protected] or 512-471-3229) for details.
The input files are summarized in the following table.
4
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
HIST01 Well history plotting data for well #1; described in Appendix A
HIST02 Well history plotting data for well #2
… …
HISTxx Well history plotting data for last well
HYST Hysteresis option plotting data, created if (IHYST=1 or
IPERM=3) and IHYSTP=1
MESH Number of gridblocks and distances to center of gridblocks in
each direction
OVERAL History of overall properties; described in Appendix A
PERM Permeability and porosity data
PRESP Phase pressure profile plotting data, created if IPPRES=1
PROF Formatted profile data; described in Appendix A
RESTAR Stored restart run data; described in Appendix A (binary file)
RPERM Phase relative permeability plotting data, creating if IPER=1
SATP Phase saturation profile plotting data, created if IPSAT=1
TEMPP Temperature profile, created if IENG=1 and IPTEMP=1
TRAC01 Aqueous (or gas) phase tracer concentration for the 1st tracer at
observation points, created if IPOBS>0; described in Appendix
A
TRAC02 Aqueous (or gas) phase tracer concentration for 2nd tracer at
observation points
… …
TRACxx Aqueous (or gas) phase tracer concentration for the last tracer at
observation points
TRAP Interfacial tension and phase trapping plotting data, created if
ICNM=1 and ITRAP>0
TTABLE Table of time steps and Courant numbers
VISC Phase viscosity plotting data, created if IVIS=1
WARN Warning messages
5
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
The variables listed in the table below give UTCHEM information regarding
the name and size of the problem to be run. All values should be equal to those
specified in the main input file (INPUT). The values can be larger than those
specified in the main input file but it is recommended they not be in order to
maintain as small an executable file as possible. Note that the values must not be
smaller than those in the main input file or the program will not execute properly.
utex21
NX NY NZ N NWELL
49 1 24 8 3
NTW NTA
0 0
NO NPHASE
0 4
NSUB MSUB
0 0
The first line of the HEAD file contains the run number which is a 6-character string
used as a prefix for output file names generated by UTCHEM (as described in
Section 2.1). We strongly recommend this be the same as RUNNO in the main
input file so as to avoid confusion. The following table contains definitions of the
Variable Definition
NX Number of gridblocks in X-direction
NY Number of gridblocks in Y-direction
NZ Number of gridblocks in Z-direction
N Number of components (cannot be less than 8)
NWELL Number of wells
NTW Number of water tracers
NTA Number of air tracers
NO Number of organic components
NPHASE Number of phases (set to 3 when there is no gas phase or 4 if gas is
present)
NSUB Number of subgrids in lateral direction (check for ICAP=2)
MSUB Number of subgrids in vertical direction (check for ICAP=2)
6
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
FORTRAN-90 source files (all ending with a ".f" file extension), two files used
for compiling the code (Commodule and Makev9), input files for the ex01
sample run (ex01.data and ex01.head), and input files for the ex21 sample
run (ex21.data and ex21.head). Make sure you place all files in the same
directory on your workstation. Then, follow these steps in order to compile and
Commodule
This will compile the modules before building the executable file.
Note that the example makefile assumes the use of the f90 FORTRAN
compiler.
3. Run UTCHEM in the background using a command file (in the example
below, the file is called work.job). Note that the work.job file needs
to be executable. Use any text editor to create your job file and then issue
the command:
chmod +x work.job
at the UNIX prompt to make sure the work.job file is executable. Then,
submit the job file by issuing the following command:
work.job &
at the UNIX prompt.
rm -r ex01.dir
mkdir ex01.dir
cd EX01.dir
ln -s ../ex01.head HEAD
ln -s ../ex01.data INPUT
time ../utchem9.exe
gzip *
7
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
The work.job file needs to be modified to reflect the directory structure you
create for running UTCHEM jobs. See the table on the following page for a
description of the contents of the work.job file.
8
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
source files (all ending with a ".f" file extension), input files for the ex01 sample
run (ex01.data and ex01.head), and input files for the ex21 sample run
compile UTCHEM on PCs using the Digital FOFTRAN compiler. UTCHEM will
those compilers have been updated within the last year and contain FORTRAN-90
features. Copy the source files (all files ending with the ".f" file extension in the
distribution package) to a directory on your hard disk and then follow the steps
2. Select "New" from the File menu. In the dialog box that appears,
click on the "Projects" tab and select Win32 Console Application,
provide a project name ("utchem9" for this example), and select the
location on your hard disk in which you'd like the executable code
to be placed. Click on OK.
3. Select "Add to Project…" and then "File…" from the Project menu.
Navigate to the location of the source files. Select "All files (*.*)"
so all the files can be seen. Control-click on the three module source
files (module1.f, module11.f, and module12.f). Click on
OK.
5. Select "Add to Project…" and then "File…" from the Project menu.
Navigate to the location of the source files. Select "All files (*.*)"
so all the files can be seen. Select all the source files. Click on OK.
6. Select "Build utchem9.exe" from the Build menu. You will get a
warning that the module files have already been compiled. Click on
OK.
9
UTCHEM User's Guide
OPERATION OF THE SIMULATOR
10
UTCHEM User's Guide
INPUT DATA DESCRIPTION
The main UTCHEM input file (called INPUT) consists of comment lines
and data lines. All comment lines are ignored by the UTCHEM simulator. It is
important to note, however, that the number of comment lines between data lines is
fixed. The first twenty-two lines of the input file are reserved for comment lines
used to briefly describe the input file. Each data line is preceded by three comment
lines (except for the input described in Section 3.5). The input file is basically
divided into seven sections and each of those input sections (except Section 3.5) is
preceded by an additional seven comment lines. The user should update the
comment lines as the input file is modified in order to make using the simulator
easier.
All non-character data is free-formatted. This means that for each read
statement, it is only necessary to leave a blank space between data elements. Note
that the first data element for a given read statement must be on a new line in the
input file. Subsequent data elements for that read statement can span as many lines
as necessary. Implicit type matching is used; that is, all REAL variables begin with
the letters A-H or O-Z and all integer variables begin with the letters I-N.
variable names appear in all-caps on a single line in the order they are read by the
program (variables that are new to the latest version of UTCHEM are printed in
of each variable and corresponding units or possible values if applicable. All of the
variables listed in the input description will be read by the program unless otherwise
noted; therefore, a dummy value will be read by the program for variables not
11
UTCHEM User's Guide
INPUT DATA DESCRIPTION
User notes:
12
UTCHEM User's Guide
INPUT DATA DESCRIPTION
The first input section consists of the title and reservoir description data.
Please remember that there are 22 comment lines at the beginning of this section and
3.1.1 RUNNO
3.1.2 TITLE
3.1.3 IMODE, IMES, IDISPC, ICWM, ICAP, IREACT, IBIO, ICOORD, ITREAC,
ITC, IGAS, IENG
13
UTCHEM User's Guide
INPUT DATA DESCRIPTION
IREACT - Flag indicating if gel reactions or alkaline options are used or not.
Possible Values:
0 - Gel reactions are not used
1 - Gel reactions are used
2 - Geochemistry option with no acidic crude is used
3 - Geochemistry option with acidic crude is used
4 - IREACT=2 and gel reactions are used
14
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: These NX, NY, and NZ input values must be less than or equal to the NX,
NY, and NZ values listed in the HEAD input file.
15
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.1.5 XCORD(I), ZCORD(I), for I=1, (NX+1)×(NZ+1) (This line is read only if
ICOORD=4)
Note: The coordinates of the corners (or vertices) of the 2-D X-Z cross section
gridblocks are input in pairs as follows:
XCORD(1), ZCORD(1)
. .
. .
. .
XCORD(nodes), ZCORD(nodes)
where nodes = (NX+1) × (NZ+1) and is the total number of corner points
defining the X-Z cross section and Z is positive downward. The following
figure illustrates the input order for an example X-Z cross section grid:
Top (surface) of reservoir
XCORD(1), ZCORD(1) XCORD(2), ZCORD(2)
1 2 3
4
5
7 6
8
X
Z 9
XCORD(9), ZCORD(9)
16
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Refer to the following table to help determine which input lines should be used to specify
the gridblock size input values for different options:
3.1.6 DX1, DY1, DZ1 (This line is read only if IDXYZ=0 and ICOORD=1)
3.1.7 R(1), DX1, DZ1 (This line is read only if IDXYZ=0 and ICOORD=2)
17
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.1.9 II1, II2, DX1 (This line is read only if IDXYZ=1 and ICOORD=1)
Note: This line is repeated until sizes for each of the NX gridblocks in the X
direction have been specified. The first line in the set must have II1=1 and
the last line must have II2=NX.
Example: If NX=11 and the first three gridblocks in the X direction are 3 feet in
size, the fourth through ninth gridblocks in the X direction are 2 feet in size,
and the last two gridblocks in the X direction are 2.5 feet in size, this line
would need to be repeated three times to fully describe the X direction
gridblocks as follows:
1 3 3.0
4 9 2.0
10 11 2.5
3.1.10 JJ1, JJ2, DY1 (This line is read only if IDXYZ=1 and ICOORD=1)
Note: This line is repeated until sizes for each of the NY gridblocks in the Y
direction have been specified. The first line in the set must have JJ1=1 and
the last line must have JJ2=NY. See the example for input line 3.1.9.
3.1.11 KK1, KK2, DZ1 (This line is read only if IDXYZ=1 and ICOORD=1)
Note: This line is repeated until sizes for each of the NZ gridblocks in the Z
direction have been specified. The first line in the set must have KK1=1
and the last line must have KK2=NZ. See the example for input line
3.1.9.
18
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.1.13 II1, II2, DX1 (This line is read only if IDXYZ=1 and ICOORD=2)
II1 - First index for radial node distances of the same size.
II2 - Last index for radial node distances of the same size.
Note: This line is repeated until the NX-1 distances between the NX nodes in the
radial direction have been specified. The first line in the set must have
II1=1 and the last line must have II2=NX-1.
Example: If NX=35 and the first ten gridblocks in the X direction are 1 foot in
size and the rest are 2 feet in size, this line would need to be repeated twice
to fully describe the radial direction nodes as follows:
1 10 1.0
11 34 2.0
3.1.14 KK1, KK2, DZ1 (This line is read only if IDXYZ=1 and ICOORD=2)
Note: This line is repeated until sizes for each of the NZ gridblocks in the Z
direction have been specified. The first line in the set must have KK1=1
and the last line must have KK2=NZ. See the example for input line
3.1.9.
3.1.15 JJ1, JJ2, DY1 (This line is read only if IDXYZ=1 and ICOORD=4)
Note: This line is repeated until sizes for each of the NY gridblocks in the Y
direction have been specified. The first line in the set must have JJ1=1 and
the last line must have JJ2=NY. See the example for input line 3.1.9.
19
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.1.16 DX(I), for I=1, NX (This line is read only if IDXYZ=2 and ICOORD=1 or 3)
3.1.17 DY(J), for J=1, NY (This line is read only if IDXYZ=2 and ICOORD=1 or 4)
3.1.18 DY(I), for I=1, NX (This line is read only if IDXYZ=2 and ICOORD=3)
3.1.19 DZ(K), for K=1, NZ (This line is read only if IDXYZ=2 and ICOORD=1 or 3)
3.1.21 DX(I), for I=1, NX-1 (This line is read only if IDXYZ=2 and ICOORD=2)
DX(I) - Distance between the Ith node and the I+1th node in the radial direction.
Units: feet (IUNIT=0) or m (IUNIT=1)
3.1.22 DZ(K), for K=1, NZ (This line is read only if IDXYZ=2 and ICOORD=2)
20
UTCHEM User's Guide
INPUT DATA DESCRIPTION
NOTH - Total number of other chemical and biological species that are
considered in biodegradation reactions, including products generated by
biodegradation reactions, nutrients required for biological growth, electron
acceptors, and biological species.
Note: See Appendix D for the component numbering scheme used in UTCHEM
and Section 9 of the UTCHEM Technical Documentation for more details
on the microbiological population model options.
3.1.25 ITRU(I), for I=1, NTW (This line is read only if NTW>0 and ITREAC=1)
1 1 1 1 1 1 1 0 1 1 1
21
UTCHEM User's Guide
INPUT DATA DESCRIPTION
User notes:
22
UTCHEM User's Guide
INPUT DATA DESCRIPTION
The second input section consists of output options. Please remember that
there are seven comment lines at the beginning of this section and that each data line
ISTOP - Flag indicating if the maximum and injection times (variables TMAX and
TINJ) are specified in pore volumes or days.
Possible Values:
0 - TMAX and TINJ are specified in days
1 - TMAX and TINJ are specified in pore volumes
Example: If 11 components are present and only profiles for the oil, surfactant, and
polymer components are desired, this line would appear as follows:
0 1 1 1 0 0 0 0 0 0 0
3.2.3 IPPRES, IPSAT, IPCTOT, IPBIO, IPCAP, IPGEL, IPALK, IPTEMP, IPOBS
23
UTCHEM User's Guide
INPUT DATA DESCRIPTION
IPCAP - Flag indicating if profile of capacitance (if ICAP=1) or dual porosity (if
ICAP=2) properties should be written to CAPP (capacitance, ICAP=1) or
FRAC (dual porosity, ICAP=2) output files.
Possible Values:
0 - Profile of capacitance or dual porosity properties will not be
written
1 - Profile of capacitance or dual porosity properties will be written
24
UTCHEM User's Guide
INPUT DATA DESCRIPTION
IVIS - Flag indicating if phase viscosities should be written to VIS output file.
Possible Values:
0 - Phase viscosities will not be written
1 - Phase viscosities will be written
ICNM - Flag indicating if phase capillary numbers and interfacial tensions should
be written to TRAP output file.
Possible Values:
0 - Capillary numbers, residual saturations, and interfacial tensions
will not be written
1 - Capillary numbers, residual saturation, and interfacial tensions
will be written
ICSE - Flag indicating if effective salinity should be written to CSE output file.
Possible Values:
0 - Effective salinity information will not be written
1 - Effective salinity information will be written
25
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.2.7 IOBS(I), JOBS(I), KOBS(I), for I=1, NOBS (This line is read only if IPOBS=1
and NOBS>0)
26
UTCHEM User's Guide
INPUT DATA DESCRIPTION
remember that there are seven comment lines at the beginning of this section and
3.3.1 TMAX
27
UTCHEM User's Guide
INPUT DATA DESCRIPTION
IMOD - Flag indicating whether the reservoir properties are modified or not.
Possible Values:
0 - No property is modified
1 - Allow for property modification
Refer to the following table to help determine which input lines should be used to specify
the porosity and permeability values for different options:
28
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: In order to specify clay gridblocks, the user should set the permeability for
those gridblocks to a value less than or equal to 10-5 md. UTCHEM then
sets the porosity to 0.01 and water saturation to 1.0 for those gridblocks.
29
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See the note and example for input line 3.3.6 for the order of the
permeability values. See the note for input line 3.3.7 for
information on specifying clay gridblocks.
3.3.11 PERMY(K), for K=1, NZ (This line is read only if IPERMY=1 and ICOORD≠2)
3.3.12 PERMY(I), for I=1, NX × NY × NZ (This line is read only if IPERMY=2 and
ICOORD≠2)
30
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See the note and example for input line 3.3.6 for the order of the
permeability values.
31
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Refer to the following table to help determine which input lines should be used to specify
the initial properties such as depth, pressure, and initial water saturations:
D111 - Depth of the top layer of the reservoir measured from the surface
(reference plane), positive downward.
Units: feet (IUNIT=0) or m (IUNIT=1)
Note: If IDEPTH=0 and ICOORD=4, D111 is the reference depth of the first
gridblock.
32
UTCHEM User's Guide
INPUT DATA DESCRIPTION
33
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.3.30 S(K,4), for K=1, NZ (This line is read only if IGAS≥1 and ISGI=1)
3.3.31 S(I,4), for I=1, NX × NY × NZ (This line is read only if IGAS≥1 and ISGI=2)
Note: Please see the example following input line 3.3.34 for more information on how
UTCHEM uses the ICF flag to control exactly how many values are read on input
lines 3.3.32-3.3.34.
Note: If N≤8, at most N values are required by the program. If N>8, at most
8+NO values are required by the program. Please see example following
input line 3.3.34.
Note: If N≤8, at most N×NZ values are required by the program. If N>8, at
most (8+NO)×NZ values are required by the program. Please see example
following input line 3.3.34.
34
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Example:
Values are only read for the 8 "basic" components (water, oil, surfactant,
polymer, anion, cation, alcohol 1, alcohol 2) and any multiple organic
components present. See Appendix D for more information on UTCHEM
components.
In addition, values are only read for a component if the ICF flag for that
component has been set to 1.
In this example, we are providing initial concentrations for the water, oil,
and anion components for a case with 5 components and 5×3×2 gridblocks
where the ICF array has been initialized as:
1 1 0 0 1
For ICWI=0:
CC
CC
*-- Initial water conc. in aq. phase
0.999
CC
CC
*-- Initial oil conc. in aq. phase
0.001
CC
CC
*-- Initial chloride conc. in aq. phase
0.4
For ICWI=1:
CC
CC
*-- Initial water conc. in aq. phase in each layer
0.999 0.999
CC
CC
*-- Initial oil conc. in aq. phase in each layer
0.001 0.001
CC
35
UTCHEM User's Guide
INPUT DATA DESCRIPTION
CC
*-- Initial chloride conc. in aq. phase in each layer
0.4 0.4
For ICWI=2:
CC
CC
*-- Initial water conc. in aq. phase in each gridblock
30*0.999
CC
CC
*-- Initial oil conc. in aq. phase in each gridblock
30*0.001
CC
CC
*-- Initial chloride conc. in aq. phase in each gridblock
15*0.4 15*0.3
3.3.36 COI(KO), for KO=1, NO (This line is read only if NO>1 and ICOI=0)
COI(KO) - Initial oil phase concentration for oil component KO for the reservoir.
Units: volume fraction
3.3.37 COI(K,KO), for K=1, NZ, for KO=1, NO (This line is read only if NO>1 and
ICOI=1)
COI(K, KO) - Initial oil phase concentration for oil component KO at Kth layer.
Units: volume fraction
3.3.38 COI(I,KO), for I=1, NX × NY × NZ, for KO=1,NO (This line is read only if
NO>1 and ICOI=2)
COI(I,KO) - Initial oil phase concentration for oil component KO at Ith gridblock.
Units: volume fraction
36
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.3.39 IMPOR, IMKX, IMKY, IMKZ, IMSW (This line is read only if IMOD=1)
IMSW- Flag indicating whether the initial water saturation is modified or not.
Possible Values:
0 - No modification is considered in initial water saturation values
1 - Allow modification in initial water saturation
3.3.41 IMIN, IMAX, JMIN, JMAX, KMIN, KMAX, IFACT, FACTX (This line is
read only if IMOD=1 and NMOD>0)
37
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See the note for input line 3.3.6 for a description of how the gridblocks are
ordered in UTCHEM. This line is repeated NMOD0 times.
3.3.43 IMIN, IMAX, JMIN, JMAX, KMIN, KMAX, IFACT, FACTX (This line is
read only if IMOD=1 and NMOD1>0)
Note: See the note for input line 3.3.6 for a description of how the gridblocks are
ordered in UTCHEM. This line is repeated NMOD1 times.
3.3.45 IMIN, IMAX, JMIN, JMAX, KMIN, KMAX, IFACT, FACTX (This line is
read only if IMOD=1 and NMOD2>0)
38
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See the note for input line 3.3.6 for a description of how the gridblocks are
ordered in UTCHEM. This line is repeated NMOD2 times.
3.3.47 IMIN, IMAX, JMIN, JMAX, KMIN, KMAX, IFACT, FACTX (This line is
read only if IMOD=1 and NMOD3>0)
Note: See the note for input line 3.3.6 for a description of how the gridblocks are
ordered in UTCHEM. This line is repeated NMOD3 times.
3.3.49 IMIN, IMAX, JMIN, JMAX, KMIN, KMAX, IFACT, FACTX (This line is
read only if IMOD=1 and NMOD4>0)
39
UTCHEM User's Guide
INPUT DATA DESCRIPTION
FACTX - The constant used to modify the initial water saturation value.
Note: See the note for input line 3.3.6 for a description of how the gridblocks are
ordered in UTCHEM. This line is repeated NMOD4 times.
3.3.50 NMOD5 (This line is read only if IMOD=1, IMSW=1, and IGAS≥1)
3.3.51 IMIN, IMAX, JMIN, JMAX, KMIN, KMAX, IFACT, FACTX (This line is
read only if IMOD=1 and NMOD5>0)
FACTX - The constant used to modify the initial gas saturation value.
Note: See the note for input line 3.3.6 for a description of how the gridblocks are
ordered in UTCHEM. This line is repeated NMOD5 times.
40
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: C50 and C60 are replaced by the input values of C5I and C6I when
IREACT>1.
41
UTCHEM User's Guide
INPUT DATA DESCRIPTION
User notes:
42
UTCHEM User's Guide
INPUT DATA DESCRIPTION
The fourth input section consists of the general physical property data.
Please remember that there are seven comment lines at the beginning of this section
3.4.2 IFGHBN
3.4.3 HBNS70, HBNC70, HBNS71, HBNC71, HBNS72, HBNC72 (This line is read
only if IFGHBN=0)
HBNS70 - Slope for maximum height of binodal curve vs. fraction of Alcohol 1
associated with surfactant at zero salinity.
43
UTCHEM User's Guide
INPUT DATA DESCRIPTION
HBNS71 - Slope for maximum height of binodal curve vs. fraction of Alcohol 1
associated with surfactant at optimal salinity.
Units: volume fraction
HBNS72 - Slope for maximum height of binodal curve vs. fraction of Alcohol 1
associated with surfactant at twice optimal salinity.
Units: volume fraction
3.4.4 HBNT0, HBNT1, HBNT2, CSET (This line is read only if IFGHBN=0 and
IENG=1)
CSET - The Slope parameter, βT, for temperature dependency of the three-phase
window
Units: (˚F)-1 (IUNIT=0) or (˚C)-1 (IUNIT=1)
3.4.5 HBNS80, HBNC80, HBNS81, HBNC81, HBNS82, HBNC82 (This line is read
only if IFGHBN=0)
HBNS80 - Slope for maximum height of binodal curve vs. fraction of Alcohol 2
associated with surfactant at zero salinity.
Units: volume fraction
44
UTCHEM User's Guide
INPUT DATA DESCRIPTION
HBNS82 - Slope for maximum height of binodal curve vs. fraction of Alcohol 2
associated with surfactant at twice optimal salinity.
Units: volume fraction
3.4.6 CSEL7, CSEU7, CSEL8, CSEU8 (This line is read only if IFGHBN=0)
CSEL7 - Lower effective salinity limit for type III phase region determined when
Alcohol 1 and calcium approach zero.
Units: meq/ml water
CSEU7 - Upper effective salinity limit for type III phase region determined when
Alcohol 1 and calcium approach zero.
Units: meq/ml water
CSEL8 - Lower effective salinity limit for type III phase region determined when
Alcohol 2 and calcium approach zero.
Units: meq/ml water
CSEU8 - Upper effective salinity limit for type III phase region determined when
Alcohol 2 and calcium approach zero.
Units: meq/ml water
3.4.8 IALC, OPSK7O, OPSK7S, OPSK8O, OPSK8S (This line is read only if
IFGHBN=0)
45
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Units: dimensionless
3.4.11 AKWC8, AKWS8, AKM8, AK8, PT8 (This line is read only if IFGHBN=0)
46
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Units: dimensionless
47
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.14 ONAME(I) for I=1, NCOMP (This line is read only if IFGHBN=1 and IOD=0)
Note: Each organic species name must appear on a separate line of the input file.
3.4.15 OCOMP(I), for I=1, NCOMP (This line is read only if IFGHBN=1 and IOD=0)
3.4.16 CS0, SCS0, CS1, SCS1, CS2, SCS2, DCS20 (This line is read only if
IFGHBN=1)
CS0 - Effective salinity which is between the lower and optimal effective salinity
limits for type III phase region in the first solubility measurement;
CSEL<CS0<CSEOP.
Units: meq/ml
48
UTCHEM User's Guide
INPUT DATA DESCRIPTION
CS2 -Effective salinity which is between the optimal and the upper effective
salinity limits for type III phase region in the first solubility measurement;
CSEOP<CS2<CSEU.
Units: meq/ml
DCS20 - The difference of the upper and the lower effective salinity limits for
type III phase region in the first solubility measurement; CSEU - CSEL.
3.4.18 ONAME(I), for I=1, NCOMP (This line is read only if IFGHBN=1 and IOD=0)
3.4.19 OCOMP(I), for I=1, NCOMP (This line is read only if IFGHBN=1 and IOD=0)
3.4.20 CS0, SCS0, CS1, SCS1, CS2, SCS2, DCS20 (This line is read only if
IFGHBN=1 and IOD=0)
CS0 - Effective salinity which is between the lower and optimal effective salinity
limits for type III phase region in the second solubility measurement;
CSEL<CS0<CSEOP.
Units: meq/ml
49
UTCHEM User's Guide
INPUT DATA DESCRIPTION
CS2 -Effective salinity which is between the optimal and the upper effective
salinity limits for type III phase region in the second solubility
measurement; CSEOP<CS2<CSEU.
Units: meq/ml
DCS20 - The difference of the upper and the lower effective salinity limits for
type III phase region in the second solubility measurement; CSEU -
C SEL .
3.4.22 IFT
Note: See Section 2 of the UTCHEM Technical Documentation for more details
on the interfacial tension model options.
3.4.23 G11, G12, G13, G21, G22, G23 (This line is read only if IFT=0)
3.4.25 XIFTW
XIFTW - log10 σwo where σwo is the interfacial tension of the water-oil interface.
Units: dynes/cm = mN/m
50
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See Section 12 of the UTCHEM Technical Documentation for more details
on the organic dissolution model used in UTCHEM.
3.4.28 WSOLK(K), for K=1, NO (This line is read only if NO>1 and IMASS>1)
Note: See Section 7 of the UTCHEM Technical Documentation for more details
on the rate limited multiple organic dissolution model.
3.4.29 ISOL, CNEM (This line is read only if IMASS=2 and ICOR=0)
ISOL - Flag indicating the solution scheme for the non-equilibrium mass transfer
calculations
Possible Values
0 - Implicit method is used
1 - Explicit method is used
Note: The explicit method (ISOL=1) is the only option available when gas
is present (IGAS≥1).
3.4.30 ISOL, EQB0, EQB1, EQB2, EQB3 (This line is read only if IMASS=2 and
ICOR=1)
ISOL - Flag indicating the solution scheme for the non-equilibrium mass transfer
calculations
51
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Possible Values
0 - Implicit method is used
1 - Explicit method is used
Note: The explicit method (ISOL=1) is the only option available when gas
is present (IGAS≥1).
Note: Options ITRAP=1 and ITRAP=2 are identical for 1-d displacement in the
vertical direction with zero capillary pressure. See Section 2 of the
UTCHEM Technical Documentation for more information on the capillary
and trapping number options.
3.4.32 IPERM
IPERM - Flag indicating which relative permeability and capillary pressure model
is used.
Possible Values:
0 - Imbibition Corey
1 - First drainage Corey (only for two phase water/oil flow)
2- Parker and Lenhard's model for water-wet porous media with
hysteresis option
3 - Lenhard's model for mixed-wet porous media including
hysteresis
52
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: Lenhard's model (IPERM=3) is for two phase oil/water only. See
Section 14 of the UTCHEM Technical Documentation for more
details on this option.
IHYST - Flag indicating whether the hysteresis is used with Parker and
Lenhard's model (IPERM=2)
Possible Values:
0 - Hysteretic model is not used
1 - Hysteretic model is used
Note: See Section 3 of the UTCHEM Technical Documentation for more
details on this option.
IPARK - Flag indicating the model used to calculate the oil trapping for hysteretic
model
Possible Values:
0 - Kalurachchi and Parker's model is used
1 - Parker and Lenhard's model is used
3.4.35 ISRW, IPRW, IEW (This line is read only for IPERM< 2)
53
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Refer to the following table to help determine which input lines should be used to specify
the relative permeability parameters for different options:
Note: S1RW(K) must begin a separate line in the input file for each layer. See
the note for input line 3.3.5 for information on how the data is read.
54
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: S2RW(K) must begin a separate line in the input file for each layer. See
the note for input line 3.3.5 for information on how the data is read.
Note: S3RW(K) must begin a separate line in the input file for each layer. See
the note for input line 3.3.5 for information on how the data is read.
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
55
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.44 P1RWC, P2RWC, P3RWC (This line is read only if IPERM<2 and IPRW=0)
P1RWC - End point relative permeability of water at low capillary number for
entire reservoir.
Units: dimensionless
P2RWC - End point relative permeability of oil at low capillary number for entire
reservoir.
Units: dimensionless
3.4.45 P1RW(K), for K=1, NZ (This line is read only if IPERM<2 and IPRW=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.46 P2RW(K), for K=1, NZ (This line is read only if IPERM<2 and IPRW=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.47 P3RW(K), for K=1, NZ (This line is read only if IPERM<2 and IPRW=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.48 P1RW(I), for I=1, NX × NY × NZ (This line is read only if IPERM<2 and
IPRW=2)
P1RW(I) - Endpoint relative permeability of water at low capillary number for Ith
gridblock.
Units: dimensionless
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
56
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.49 P2RW(I), for I=1, NX × NY × NZ (This line is read only if IPERM<2 and
IPRW=2)
P2RW(I) - Endpoint relative permeability of oil at low capillary number for Ith
gridblock.
Units: dimensionless
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
3.4.50 P3RW(I), for I=1, NX × NY × NZ (This line is read only if IPERM<2 and
IPRW=2)
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
3.4.51 E1WC, E2WC, E3WC (This line is read only if IPERM<2 and IEW=0)
E1WC - Phase relative permeability exponent for aqueous phase at low capillary
number for entire reservoir.
Units: dimensionless
E2WC - Phase relative permeability exponent for oleic phase at low capillary
number for entire reservoir.
Units: dimensionless
3.4.52 E1W(K), for K=1, NZ (This line is read only if IPERM<2 and IEW=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.53 E2W(K), for K=1, NZ (This line is read only if IPERM<2 and IEW=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
57
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.54 E3W(K), for K=1, NZ (This line is read only if IPERM<2 and IEW=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.55 E1W(I), for I=1, NX × NY × NZ (This line is read only if IPERM<2 and
IEW=2)
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
3.4.56 E2W(I), for I=1, NX × NY × NZ (This line is read only if IPERM<2 and
IEW=2)
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
3.4.57 E3W(I), for I=1, NX × NY × NZ (This line is read only if IPERM<2 and
IEW=2)
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
High Capillary Number Data (input lines 3.4.58-3.4.60) — These lines are
required only if ITRAP=1 or ITRAP=2.
58
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: The residual saturations at high capillary number can not be set equal to
those at low capillary number.
3.4.59 P1RC, P2RC, P3RC (This line is read only for ITRAP=1 or 2 and IPERM< 2)
P1RC - End point relative permeability of aqueous phase at high capillary number
condition.
Units: dimensionless
P2RC - End point relative permeability of oleic phase at high capillary number
condition.
Units: dimensionless
3.4.60 E13C, E23C, E31C (This line is read only for ITRAP=1 or 2 and IPERM< 2)
E13C, E23C, E31C - Parameters used for calculating exponents for relative
permeability calculations at high capillary number.
Units: dimensionless
59
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.64 OVIS(K), for K=1, NO (This line is read only if NO>1 and IOVIS=1)
60
UTCHEM User's Guide
INPUT DATA DESCRIPTION
S2RWC4 - Constant residual oil saturation to displacing gas phase for entire
reservoir.
Units: fraction
S2RW4(K) - Constant residual oil saturation to displacing gas phase for Kth
layer.
Units: fraction
Note: See the note for input line 3.3.5 for information on how the data is read.
Note: See the note for input line 3.3.5 for information on how the data is read.
S2RW4(I) - Constant residual oil saturation to displacing gas phase for Ith
gridblock.
Units: fraction
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
Note: See the note for input line 3.3.5 for information on how the data is read.
61
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
Note: See the note for input line 3.3.5 for information on how the data is read.
Note: See the note for input line 3.3.6 for information on how this data should be
ordered.
3.4.78 S4RC, P4RC, E4C, T44 (This line is read only if ITRAP=1)
62
UTCHEM User's Guide
INPUT DATA DESCRIPTION
AP1, AP2, AP3 - Parameters used for calculating polymer viscosity at zero shear
rate as a function of polymer and electrolyte concentrations.
Units: (wt. %)-1, (wt. %)-2, (wt. %)-3
3.4.82 BETAP, CSE1, SSLOPE
BETAP - Parameter for calculating the effective divalent salinity used to calculate
polymer viscosity.
Units: dimensionless
( )
12
day(darcy)
12 day µm 2
Units: (IUNIT=0) or (IUNIT=1)
ft − sec m − sec
GAMHF - Shear rate at which polymer viscosity is one half polymer viscosity at
zero shear rate.
Units: sec-1
POWN - Exponent for calculating shear rate dependence of polymer viscosity.
Units: dimensionless
63
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: EPHI3 and EPHI4 are used to account for inaccessible pore volume in the
case of surfactant and polymer.
φsurfactant = φ × EPHI3
φpolymer = φ × EHPI4
3.4.85 DEN1, DEN2, DEN23, DEN3, DEN7, DEN8, IDEN (This line is read only if
NO≤1)
64
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.86 DEN1, DEN2, DEN3, DEN7, DEN8, IDEN, IODEN (This line is read only if
NO>1)
Note: Specific weight for pure water is 0.433 psi/ft (density of 1 g/cm3 ).
IODEN must be set to 1 if any non-aqueous phase species (those with
indices < (8+NO)) participate in biodegradation equations.
65
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Multiple Organic Density Data (input lines 3.4.87-3.4.88) — These lines are
required only if IODEN=1 and NO>1.
3.4.87 DNOILC(K), for K=1, NO (This line is read only if IODEN=1 and NO>1)
Multiple Organic Data (input lines 3.4.89-3.4.92) — These lines are required
only if NO>1. Furthermore, if (IFGHBN=1 and IOD=0) or IOVIS=1.
3.4.89 INAME (This line is read only if NO>1 and ((IFGHBN=1 and IOD=0) or
IOVIS=1)))
3.4.90 ONAME(K), for K=1, NO (This line is read only if NO>1 and ((IFGHBN=1 and
IOD=0) or IOVIS=1)) and INAME=0)
ONAME(K) - Name of organic component K. See input line 3.4.14 for a list of
valid component names.
3.4.91 OMWT(K), for K=1, NO (This line is read only if NO>1 and ((IFGHBN=1 and
IOD=0) or IOVIS=1)) and INAME=1)
3.4.92 OEACN(K), for K=1, NO (This line is read only if NO>1 and ((IFGHBN=1 and
IOD=0) or IOVIS=1)) and INAME=1)
66
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.93 ISTB
ISTB - Flag indicating the units to be used when printing injection and production
rates.
Possible Values:
0 - Rates printed at bottomhole condition in ft3 or m3
1 - Rates printed at surface condition in bbls
3.4.94 FVF(L), for L=1, MXP (This line is read only if ISTB=1 and IUNIT=0)
Note: For incompressible fluids, values of zero should be used for the COMPC
values listed above.
3.4.97 COMPC(KC), for KC=1, NO (This line is read only if NO>1 and ICOMPO=1)
67
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.98 ENTP, CLAMDA, ALPDS, ALPWS, VNDS, VNWS, PNEG (This line is read
only if IPERM=3)
ALPDS - Alpha parameter in the van Genuchten capillary pressure function for
drying path (water saturation is decreasing).
Units: 1/psi (IUNIT=0) or 1/kPa (IUNIT=1)
ALPWS - Alpha parameter in the van Genuchten capillary pressure function for
wetting path (water saturation is increasing).
Units: 1/psi (IUNIT=0) or 1/kPa (IUNIT=1)
VNDS - Exponent n in the van Genuchten capillary pressure function for drying
path.
VNWS - Exponent n in the van Genuchten capillary pressure function for wetting
path.
IOW - Flag indicating the wettability for two-phase oil/water capillary pressure
calculations using imbibition Corey function (IPERM=0).
Possible Values:
0 - The capillary pressure curve is for strongly water-wet rock
(default)
1 - The capillary pressure curve is for strongly oil-wet rock
2 - The capillary pressure curve is for mixed-wet rocks
Note: IOW=1 and 2 are only available with the imbibition Corey function
(IPERM=0).
68
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Refer to the following table to help determine which input lines should be used to specify
the capillary pressure data for different values of IPERM:
If IPERM = 0
If IPERM = 1 or 2
Capillary Pressure Data for Strongly Water- or Oil-Wet Rocks (input lines
3.4.100-3.4.105) — These lines are required only if IPERM≤2 and IOW<2.
3.4.100 CPC0 (This line is read only if IPERM≤2 and IOW<2 and ICPC=0)
CPC0 - Capillary pressure endpoint for entire reservoir (if IPERM<2) or van
Genuchten capillary pressure parameter, α, for entire reservoir (if
IPERM=2).
69
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.101 CPC(K), for K=1, NZ (This line is read only if IPERM≤2 and IOW<2 and
ICPC=1)
CPC(K) - Capillary pressure endpoint for Kth layer (if IPERM<2) or van
Genuchten capillary pressure parameter, α, for Kth layer (if IPERM=2).
Units: if IUNIT=0 if IUNIT=1
if IPERM<2: psi darcies kPa µm 2
if IPERM=2: ( psi darcies )−1 µm 2 / kPa
3.4.102 CPC(I), for I=1, NX × NY × NZ (This line is read only if IPERM≤2 and
IOW<2 and ICPC=2)
CPC(I) - Capillary pressure endpoint for Ith gridblock (if IPERM<2) or van
Genuchten capillary pressure parameter, α , for Ith gridblock (if
IPERM=2).
Units: if IUNIT=0 if IUNIT=1
if IPERM<2: psi darcies kPa µm 2
if IPERM=2: ( psi darcies )−1 µm 2 / kPa
3.4.103 EPC0 (This line is read only if IPERM≤2 and IOW<2 and IEPC=0)
EPC0 - Capillary pressure exponent for entire reservoir (if IPERM<2) or van
Genuchten capillary pressure parameter, n, for entire reservoir (if
IPERM=2).
Units: dimensionless
3.4.104 EPC(K), for K=1, NZ (This line is read only if IPERM≤2 and IOW<2 and
IEPC=1)
EPC(K) - Capillary pressure exponent for Kth layer (if IPERM<2) or van
Genuchten capillary pressure parameter, n, for Kth layer (if IPERM=2).
Units: dimensionless
3.4.105 EPC(I), for I=1, NX × NY × NZ (This line is read only if IPERM≤2 and
IOW<2 and IEPC=2)
EPC(I) - Capillary pressure exponent for Ith gridblock (if IPERM<2) or van
Genuchten capillary pressure parameter, n, for Ith gridblock (if
IPERM=2).
Units: dimensionless
70
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Capillary Pressure Data for Mixed-Wet Rocks using Corey's option (input
lines 3.4.106-3.4.116) — These lines are required only if I P E R M = 0 and
IOW=2.
3.4.106 CPCW, EPCW, CPCO, EPCO, SSTAR (This line is read only if IPERM=0 and
IOW=2 and ICPC=0)
CPCW - Capillary pressure endpoint for entire reservoir for positive branch.
Units: psi darcies (IUNIT=0) or kPa µm 2 (IUNIT=1)
EPCW - Capillary pressure exponent for entire reservoir for positive branch.
Units: dimensionless
CPCO - Capillary pressure endpoint for entire reservoir for negative branch.
Units: psi darcies (IUNIT=0) or kPa µm 2 (IUNIT=1)
EPCO - Capillary pressure exponent for entire reservoir for negative branch.
Units: dimensionless
3.4.107 CPC(K,1), for K=1, NZ (This line is read only if IPERM=0 and IOW=2 and
ICPC=1)
CPC(K,1) - Capillary pressure endpoint for Kth layer for positive branch.
Units: psi darcies (IUNIT=0) or kPa µm 2 (IUNIT=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.108 EPC(K,1), for K=1, NZ (This line is read only if IPERM=0 and IOW=2 and
ICPC=1)
EPC(K,1) - Capillary pressure exponent for Kth layer for positive branch.
Units: dimensionless
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.109 CPC(K,2), for K=1, NZ (This line is read only if IPERM=0 and IOW=2 and
ICPC=1)
CPC(K,2) - Capillary pressure endpoint for Kth layer for negative branch.
Units: psi darcies (IUNIT=0) or kPa µm 2 (IUNIT=1)
Note: See the note for input line 3.3.5 for information on how the data is read.
71
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.110 EPC(K,2), for K=1, NZ (This line is read only if IPERM=0 and IOW=2 and
ICPC=1)
EPC(K,2) - Capillary pressure exponent for Kth layer for negative branch.
Units: dimensionless
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.111 SSTAR(K), for K=1, NZ (This line is read only if IPERM=0 and IOW=2 and
ICPC=1)
SSTAR(K) - Water saturation for Kth layer where the capillary pressure is zero.
Units: dimensionless
Note: See the note for input line 3.3.5 for information on how the data is read.
3.4.112 CPC(I,1), for I=1, NX × NY × NZ (This line is read only if IPERM=0 and
IOW=2 and ICPC=2)
CPC(I,1) - Capillary pressure endpoint for Ith gridblock for positive branch.
Units: psi darcies (IUNIT=0) or kPa µm 2 (IUNIT=1)
Note: See the note for input line 3.3.6 for information on how this data should
be ordered.
3.4.113 EPC(I,1), for I=1, NX × NY × NZ (This line is read only if IPERM=0 and
IOW=2 and ICPC=2)
EPC(I,1) - Capillary pressure exponent for Ith gridblock for positive branch.
Units: dimensionless
Note: See the note for input line 3.3.6 for information on how this data should
be ordered.
3.4.114 CPC(I,2), for I=1, NX × NY × NZ (This line is read only if IPERM=0 and
IOW=2 and ICPC=2)
CPC(I,2) - Capillary pressure endpoint for Ith gridblock for negative branch.
Units: psi darcies (IUNIT=0) or kPa µm 2 (IUNIT=1)
Note: See the note for input line 3.3.6 for information on how this data should
be ordered.
3.4.115 EPC(I,2), for I=1, NX × NY × NZ (This line is read only if IPERM=0 and
IOW=2 and ICPC=2)
EPC(I,2) - Capillary pressure exponent for Ith gridblock for negative branch.
Units: dimensionless
72
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: See the note for input line 3.3.6 for information on how this data should
be ordered.
Note: See the note for input line 3.3.6 for information on how this data should
be ordered.
73
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.125 IADSO
74
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.127 AD21(1,KO), AD22(1,KO), for KO=1, NO (This line is read only if IADSO>0
and IKADS=0)
0.6 1.0
0.3 1.0
3.4.128 AD21(K,KO), AD22(K,KO), for K=1, NZ, for KO=1, NO (This line is read
only if IADSO>0 and IKADS=1)
Note: This line is read at least once even if NO=0. See the note for input line
3.3.5 for information on how the data is read.
Example: If there are two organic components (NO=2), and three layers (NZ=3),
the input data would appear as follows:
CC
CC
*----AD21 AD22 (1st organic component)
0.6 1.0
0.6 1.0
0.6 1.0
CC
75
UTCHEM User's Guide
INPUT DATA DESCRIPTION
CC
*----AD21 AD22 (2nd organic component)
0.3 1.0
0.3 1.0
0.3 1.0
3.4.129 The data on input lines 3.4.129.a and 3.4.129.b are repeated for KO=1 to NO
times. See note following input line 3.4.129.b for more information.
3.4.129.a AD21(I,KO), for I=1, NX × NY × NZ (This line is read only if IADSO>0 and
IKADS=2)
3.4.129.b AD22(I,KO), for I=1, NX × NY × NZ (This line is read only if IADSO>0 and
IKADS=2)
Note: This line is read at least once even if NO=0. See the note for input line
3.3.6 for information on how this data should be ordered.
Example: If there are two organic components (NO=2), NX=2, NY=2, and
NZ=1, the input data would appear as follows:
CC
CC
*----AD21 (1st organic component)
0.6 0.6 0.6 0.6
CC
CC
*----AD22 (1st organic component)
1.0 1.0 1.0 1.0
CC
CC
*----AD21 (2nd organic component)
4*0.3
CC
CC
*----AD22 (2nd organic component)
4*1.0
Note: This example also shows an input convention allowing the user
to specify multiple occurances of the same value. Using
4*0.3
is equivalent to using
76
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.130 AD31, AD32, B3D, AD41, AD42, B4D, IADK, IADS1, FADS, REFK
77
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Tracer Data (input lines 3.4.132-3.4.144) — These lines are required only if
NTW+NTA>0. See Section 4 of the UTCHEM Technical Documentation for more
details on tracer modeling in UTCHEM.
3.4.132 TK(I), for I=1, NTW+NTA (This line is read only if NTW+NTA>0)
TK(I) - Tracer partition coefficient for Ith water/oil tracer at initial chloride
concentration and reference temperature. A value of 0.0 indicates a water
or gas nonpartitioning tracer and a value of -1.0 indicates a
nonpartitioning oil tracer.
Units: fraction
3.4.133 TKS(I), for I=1, NTW, C5INI (This line is read only if NTW>0)
TKS(I) - Parameter for calculating water/oil tracer partition coefficient for Ith
tracer as a function of salinity.
Units: (meq/ml)-1
C5INI - Reference salinity at which the partition coefficients are measured.
Units: meq/ml water
3.4.134 TKT(I), for I=1, NTW+NTA (This line is read only if NTW+NTA>0 and
IENG=1)
TKT(I) - Parameter for calculating tracer partitioning coefficient for Ith tracer as
a function of reservoir temperature.
Units: (˚F)-1 (IUNIT=0) or (˚C)-1 (IUNIT=1)
3.4.135 RDC(I), for I=1, NTW+NTA (This line is read only if NTW+NTA>0)
RDC(I) - Radioactive decay coefficient for Ith tracer. A value of 0.0 indicates a
non–radioactive tracer.
Units: 1/days
3.4.136 RET(I), for I=1, NTW+NTA (This line is read only if NTW+NTA>0)
78
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Dead-end Pore Model Data (input lines 3.4.137-3.4.140) — These lines are
required only if NTW+NTA>0 and ICAP=1.
3.4.137 FFL(1), FFH(1), CM(I,1), for I=1, NTW+NTA (This line is read only if
NTW+NTA>0 and ICAP=1)
3.4.138 FFL(2), FFH(2), CM(I,2), for I=1, NTW+NTA (This line is read only if
NTW+NTA>0 and ICAP=1)
3.4.139 FFL(3), FFH(3), CM(I,3), for I=1, NTW+NTA (This line is read only if
NTW+NTA>0 and ICAP=1)
3.4.140 FFL(4), FFH(4), CM(I,4), for I=1, NTW+NTA (This line is read only if
NTW+NTA>0 and ICAP=1 and IGAS≥1)
FFL(4) - Value of flowing fraction for gas phase when fractional flow = 0.0.
Units: dimensionless
FFH(4) - Value of flowing fraction for gas phase when fractional flow = 1.0.
Units: dimensionless
79
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Reacting Tracer Data (input lines 3.4.141-3.4.144) — The following lines are
required only if NTW>0 and ITREAC=1.
3.4.141 NRT, TAK(I), for I=1, NRT (This line is read only if NTW>0 and ITREAC=1)
3.4.142 TMW(I), for I=1, NTW (This line is read only if NTW>0 and ITREAC=1)
3.4.143 TDEN(I), for I=1, NTW (This line is read only if NTW>0 and ITREAC=1)
TAKT(I) - Parameter for calculating rate constant for a first-order aqueous phase
reaction as a function of reservoir temperature for reacting tracer I.
Units: (˚K)-1
80
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.146 DXL(1), DYL(1), DZL(1) (This line is read only if ICAP=2 and ISUB=0)
Note: All values of the DXL, DYL, and DZL arrays are set to DXL(1), DYL(1),
and DZL(1), respectively.
3.4.147 II1, II2, XL1 (This line is read only if ICAP=2 and ISUB=1)
II1, II2 - First and last index for gridblocks with same size in X direction.
3.4.148 JJ1, JJ2, YL1 (This line is read only if ICAP=2 and ISUB=1)
JJ1, JJ2 - First and last index for gridblocks with same size in Y direction.
3.4.149 KK1, KK2, ZL1 (This line is read only if ICAP=2 and ISUB=1)
KK1, KK2 - First and last index for gridblocks with same size in Z direction
ZL1 - Matrix block size in Z direction.
Units: feet
3.4.150 DXL(I), for I=1, NX × NY × NZ (This line is read only if ICAP=2 and
ISUB=2)
3.4.151 DYL(I), for I=1, NX × NY × NZ (This line is read only if ICAP=2 and
ISUB=2)
3.4.152 DZL(I), for I=1, NX × NY × NZ (This line is read only if ICAP=2 and
ISUB=2)
81
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.153 VFRACM(I), for I=1, NSUB (This line is read only if ICAP=2)
VFRACM(I) - Volume fraction of Ith subgrid. These values are used to generate
subgrids in the lateral direction.
3.4.154 ZLSUB(1,I), for I=1, MSUB (This line is read only if ICAP=2)
ZLSUB(1,I) - Thickness fraction of Ith vertical subgrid. These values are used
to generate subgrids in the vertical direction.
3.4.157 PORCM(I,1,1), for I=1, NX × NY × NZ (This line is read only if ICAP=2 and
KPH=1)
3.4.160 DMX(I), for I=1, NX × NY × NZ (This line is read only if ICAP=2 and
KKX=2)
82
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Units: ft2/day
3.4.163 DMZ(I), for I=1, NX × NY × NZ (This line is read only if ICAP=2 and
KKZ=2)
Gel Reaction Data (input lines 3.4.164-3.4.168) — These lines are required
only if IREACT=1 or IREACT=4 and NG>0. Refer to Section 6 of the UTCHEM
Technical Documentation for more details on this option.
3.4.164 KGOPT, AK1, AK2, SCR, X4, X13, X14, X16, WM4 (This line is read only
if IREACT=1 or 4 and NG>0)
AK1 - Kinetic rate coefficient for NG1 and NG2 at reference temperature
(KGOPT=1).
Units: ppm-1 days-1
83
UTCHEM User's Guide
INPUT DATA DESCRIPTION
X14 - Exponent to be used for the third gel option component (NG3) in gelation
reaction.
Units: dimensionless
Note: The following tables define different gelation options and corresponding
gel components.
For IREACT=1:
Component No. KGOPT=1 KGOPT=2 KGOPT=3
4 Polymer Polymer Silicate
NG1 Na2Cr2O7 - -
NG2 CSN2H4 Malonate ion -
NG3 Cr(III) Cr(III) OH-
NG4 Gel Gel Gel
NG5 Hydrogen Hydrogen -
For IREACT=4:
Component NO. KGOPT=1 KGOPT=2
4 Polymer Polymer
NGC1 Sodium Sodium
NGC2 Hydrogen Hydrogen
NGC3 Magnesium Magnesium
NGC4 Carbonate Carbonate
NGC5 Chromium* Chromium*
NGC6 Silica Silica
NG1 Na2Cr2O7 -
NG2 CSN2H4 Malonate ion
NG3 Cr(III)** Cr(III)**
NG4 Gel Gel
Where NG and NGC are the gel option and geochemistry option species.
3.4.165 AK1T, AK2T (This line is read only if IREACT=1 or 4 and NG>0 and
IENG=1)
AK1T - Parameter for calculating Kinetic rate coefficient for Cr3+ as a function
of reservoir temperature.
Units: (˚K)-1
AK2T - Parameter for calculating Kinetic rate coefficient for gel as a function of
reservoir temperature.
Units: (˚K)-1
84
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.166 AG1, AG2, CRG, AGK, BGK (This line is read only if IREACT=1 or 4 and
NG>0)
3.4.167 A15D, B15D, ICREX, A14D, B14D, CRNAK, HNAK, C160 (This line is read
only if IREACT=1 or 4 and NG>0)
Note: The input values of CRNAK, HNAK, and C160 are ignored for
IREACT=4
3.4.168 IP1, IP2 (This line is read only if IREACT=1 or 4 and NG>0 and NY=1 and
NZ=1)
Note: These values are intended to be used for comparison with pressure tab
data of 1-D experiments.
85
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.4.170 DENS, CRTC, CVSPR, (CVSPL(L), for L=1, MXP) (This line is read only if
IENG=1)
3.4.172 TCONO, DENO, CVSPO, TCONU, DENU, CVSPU (This line is read only if
IHLOS=1 and if IENG=1)
86
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Foam Model Data (input lines 3.4.173 and 3.4.174) — These lines are
required only if the foam option is considered (IGAS=2).
3.4.173 RFMAX, SOSTAR, CSTAR, EPXLO, SHRTN, VELGR (This line is read only
if IGAS=2)
87
UTCHEM User's Guide
INPUT DATA DESCRIPTION
User notes:
88
UTCHEM User's Guide
INPUT DATA DESCRIPTION
The fifth input section consists of physical property data for geochemistry
option and it is required only if IREACT>1. The data for this section is
generated by a preprocessor program (EQBATCH) and does not have the same
format as the rest of the input data for UTCHEM. This input section is read by a
separate routine called GEOREAD not preceded by the usual seven comment lines
and individual data lines are not preceded by three comment lines. Appendix B
gives an example for the list of elements, fluid species, solid species, and adsorbed
3.5.2 PHC, PHT, PHT1, HPHAD (This line is read only if IPHAD>0)
89
UTCHEM User's Guide
INPUT DATA DESCRIPTION
NNA - Position number corresponding to the sodium element in the element array
ELEMNT.
NCA - Position number corresponding to the calcium element in the element array
ELEMNT.
90
UTCHEM User's Guide
INPUT DATA DESCRIPTION
NSILI - Position number corresponding to the silicon element in the element array
ELEMNT.
NHFD - Position number corresponding to the hydrogen ion element in the fluid
species array FLDSPS.
NCRFD - Position number corresponding to the CR(III) ion in the fluid species
array FLDSPS.
3.5.12 SLDSPS(I), for I=1, NSLD (This line is read only if NSLD>0)
3.5.13 SORBSP(I), for I=1, NSORB (This line is read only if NSORB>0)
91
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: The name of each adsorbed cation may not exceed 32 characters
and each name must be on a separate line of the input file.
3.5.14 ACATSP(I), for I=1, NACAT (This line is read only if NACAT>0)
3.5.15 NSORBX(I), for I=1, NEX (This line is read only if NSORB>0)
Note: If ICHRGE=0, then NFLD × NELET values are required by the program.
If ICHRGE=1, then NFLD × (NELET-1) values are required by the
program.
3.5.17 BR(I,J), for J=1, NSLD, for I=1, NELET << or >>
BR(I,J), for J=1, NSLD, for I=1, NELET-1 (This line is read only if NSLD>0)
Note: If ICHRGE=0, then NSLD × NELET values are required by the program.
If ICHRGE=1, then NSLD × (NELET-1) values are required by the
program.
3.5.18 DR(I,J), for J=1, NSORB, for I=1, NELET << or >>
DR(I,J), for J=1, NSORB, for I=1, NELET-1 (This line is read only if
NSORB>0)
3.5.19 ER(I,J), for J=1, NACAT, for I=1, NELET << or >>
ER(I,J), for J=1, NACAT, for I=1, NELET-1 (This line is read only if
NACAT>0)
92
UTCHEM User's Guide
INPUT DATA DESCRIPTION
BB(I,J) - Exponent of the Jth independent fluid species concentration when the
I th fluid species is expressed in terms of independent species
concentrations.
3.5.21 EXSLD(I,J), for J=1, NIAQ, for I=1, NSLD (This line is read only if NSLD>0)
3.5.25 EXK(I,J), for J=1, NSORBX(I)-1, for I=1, NEX (This line is read only if
NEX>0)
EXK(I,J) - Exchange equilibrium constant for Jth exchange equilibrium of the Ith
insoluble exchanger.
Note: This value is positive if the higher valence cation bulk concentration has a
positive exponent in EXEX(I,J) definition and is negative otherwise.
93
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.5.28 EXCAI(I), for I=1, NEX (This line is read only if NEX>0)
3.5.29 SPK(I), for I=1, NSLD (This line is read only if NSLD≥1)
3.5.30 CHACAT(I), for I=1, NACAT (This line is read only if NACAT≥1)
3.5.32 EXACAT(I,J) for J=1, NIAQ+NSORB+NACAT, for I=1, NACAT-1 (This line
is read only if NACAT≥1)
3.5.33 CI(J), for J=1, NACAT (This line is read only if NACAT≥1)
94
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.5.38 CSLDI(I), for I=1, NSLD (This line is read only NSLD>0)
3.5.39 CSORBI(I), for I=1, NSORB (This line is read only if NSORB>0)
95
UTCHEM User's Guide
INPUT DATA DESCRIPTION
User notes:
96
UTCHEM User's Guide
INPUT DATA DESCRIPTION
The sixth input section consists of physical property data that is required
only if IBIO=1. This section includes the biodegradation and mass transfer
is read only if IBIO=1. The data is read by a separate subroutine called BIOREAD,
3.6.1 DENBLK
DENBLK - Bulk density of the porous medium (mass of porous medium per unit
total volume).
Units: g/cm3
IBTIM - Flag indicating type of time step control for solution of biodegradation
equations.
Possible Values:
0 - No time step control; biodegradation equations are solved at
every transport time step
1 - Manual time step control; biodegradation time step is specified
by user
2 - Automatic time step control; biodegradation time step is
controlled by UTCHEM based on an acceptable error
specified by the user
97
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: If the transport time step is smaller than BTMIN, the biodegradation
equations will be solved at intervals of BTMIN. If the transport time step
falls between BTMIN and BTMAX, the biodegradation equations will be
solved at every transport time step. BTMAX should be set to a value
greater than BTMIN and is only used to initialize variables in this option.
BIORME - The maximum acceptable error in terms of the mass of substrate in the
system resulting from a biodegradation time step being larger than the
transport time step.
NBC - Total number of chemical and biological species that are considered in
biodegradation reactions, including oil components, surfactants, products
generated by abiotic and biodegradation reactions, nutrients required for
biological growth, electron acceptors, and biological species.
IBPP - Flag indicating whether or not porosity and permeability are affected by
biological growth.
Possible Values:
0 - Porosity and permeability are not affected by biomass growth
98
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: One line is required for each chemical and biological species that participates
in biodegradation reactions.
99
UTCHEM User's Guide
INPUT DATA DESCRIPTION
CBI(I) - Number of attached bacterial cells of biological species I per gram of dry
soil.
Units: cells/gram of solid
100
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: One line is read for each metabolic combination. Values of all parameters
on this line must be supplied by the user even if instantaneous kinetics or
abiotic reactions are used to describe loss of substrate.
101
UTCHEM User's Guide
INPUT DATA DESCRIPTION
NNUT(I) - Number of nutrients that limit the biodegradation rate through Monod
terms for metabolic combination I.
Note: Users may specify multiple competing substrates, nutrients, and inhibiting
constituents for each metabolic combination. Substrate competition,
inhibition and cometabolism cannot be modeled if instantaneous kinetics
are selected. However, values for the biodegradation rate parameters must
be specified even if instantaneous kinetics are specified.
Note: One line is read for each metabolic combination for which there is substrate
competition between two or more substrates.
Note: The number of input lines required must equal the number of species that
are competing, since complementary lines are required to fully describe the
competition. For example, if substrate 12 in metabolic combination 12-15-
16 must compete with substrates 13 and 14 that are also biodegraded by
biological species 16 using electron acceptor 15, then the required input
lines are:
12 15 16 13 14
13 15 16 12 14
14 15 16 12 13
102
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.6.14 ISUB(I), IEA(I), IBS(I), IHB(I), BSIHB(I), for I=1, Number of metabolic
combination and inhibiting compound associations (This line is only read if there
are metabolic combination and inhibiting compound associations)
Note: One input line is read for each association of metabolic combination and
inhibiting compound.
9 10 12 9 0.001
9 10 12 11 0.001
9 11 12 9 0.001
3.6.15 ISUB(I), IEA(I), IBS(I), IPR(I), FPR(I), for I=1, Number of biodegradation
product formation and metabolic combination associations (This line is read only
if there are biodegradation product formation described with Monod kinetics and
metabolic combination associations)
Note: One line is read for each association of product formation and metabolic
combination.
103
UTCHEM User's Guide
INPUT DATA DESCRIPTION
9 14 15 10 0.5
9 14 15 11 0.5
12 14 15 13 0.5
3.6.16 ISUB(I), IPR(I), FPR(I), for I=1, Number of products generated by first-order
reactions of the biodegradation species. (This line is read only if there are products
of first-order reactions of biological species)
9 11 1.0
9 12 1.0
9 13 1.0
3.6.17 ISUB(I), IEA(I), IBS(I), INUT(I), AKN(I), FN(I), for I=1, Number of metabolic
combination and limiting nutrient associations (This line is read only if there are
metabolic combination and limiting nutrient associations)
Note: One line is read for each association of metabolic combination and limiting
nutrient.
104
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.6.18 ISUB(I), IEA(I), IBS(I), TC(I), IRLIM(I), for I=1, Number of cometabolic
combinations for which aerobic cometabolism exists (This line is read only if there
are cometabolic combinations for which aerobic cometabolism exists for at least
one metabolic combination specified on input line 3.6.12)
Note: One input line is required for each cometabolic combination for which
aerobic cometabolism exists.
IRLIM(I) - Flag indicating whether reducing power limitations are considered for
cometabolic combination I.
Possible Values:
0 - No reducing power limitations are considered
1 - Cometabolic reaction consumes reducing power
Note: Reducing power limits the biodegradation rate through Monod
terms in the manner of Chang and Alvarez-Cohen, 1995. The loss
of a biological species' reducing power reduces its activity toward
all substrates, not just the cometabolite.
NMET
Note: The total number of lines are I = ∑ COMET(J) .
J=1
3.6.19 ISUB(I), IEA(I), IBS(I), IGROW(I), REDI(I), AKR(I), FRP(I), FRC(I), for
I=1, Number of cometabolic biodegradation reactions in which reducing power
limitations are considered (This line is read only if there are cometabolic
biodegradation reactions in which reducing power limitations are considered and
IRLIM(I)>0 for at least one metabolic combination specified on input line 3.6.17)
Note: One line is required for each cometabolic biodegradation reaction in which
reducing power limitations are considered.
105
UTCHEM User's Guide
INPUT DATA DESCRIPTION
106
UTCHEM User's Guide
INPUT DATA DESCRIPTION
data. Please remember that there are seven comment lines at the beginning of this
IBOUND - Flag indicating if constant potential boundaries at the top, left, and
right sides of the simulation model are specified.
Possible Values:
0 - No boundary is specified
1 - Boundary is specified
3.7.2 IBL, IBR, IBT, WTABL, WTABR (This line is read only if IBOUND=1)
IBL - Flag indicating if the left hand side constant potential boundary is specified.
Possible Values:
0 - No boundary is specified
1 - Boundary is specified
IBR - Flag indicating if the right hand side constant potential boundary is
specified.
Possible Values:
0 - No boundary is specified
1 - Boundary is specified
IBT - Flag indicating if the top constant pressure boundary of the vadose zone is
specified.
Possible Values:
0 - Top boundary is closed
1 - Top boundary is open
107
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.7.3 PBL, C1BL, C5BL, C6BL (This line is read only if IBOUND=1 and IZONE≠1
and IBL=1)
PBL- Pressure at the center of the top layer at the left boundary.
Units: psia (IUNIT=0) or kPa (IUNIT=1)
3.7.4 PBR, C1BR, C5BR, C6BR (This line is read only if IBOUND=1 and IZONE≠1
and IBR=1)
PBR - Pressure at the center of the top layer at the right boundary.
Units: psia (IUNIT=0) or kPa (IUNIT=1)
Note: For the biodegradation option (IBIO=1), the concentrations of all species
considered at the boundary are set to the initial concentrations. If the
variation in temperature is considered (IENG=1), the temperatures at the
boundaries are set to the initial temperature.
NWELL - Number of wells used for the simulation including the pseudowells to
mimic an open boundary.
Note: If ICOORD=2, NWELL must be equal to 1 and the NWELL input
file in the HEAD file must be set equal to 2.
ITSTEP - Flag indicating the units to be used when specifying the minimum and
maximum time step.
Possible Values:
0 - Minimum and maximum time steps are input in days
108
UTCHEM User's Guide
INPUT DATA DESCRIPTION
NWREL - Number of actual wells used for the simulation excluding the
pseudowells.
Note: The history data are written only for NWREL wells.
Note: See Appendix E for more details on the Courant number and time step
selection options.
The following values for minimum and maximum Courant numbers are
recommended for different simulations as follows:
3.7.6 The data on input lines 3.7.6.a through 3.7.6.d are repeated for M=1 to NWELL
times.
Important note: Input the actual wells first (NWREL) and then the
pseudowells.
IW(M) - First index of the reservoir gridblock containing the Mth well.
Possible Values: Between 1 and the number of gridblocks in the pertinent
direction, inclusive
Note: If the Mth well is completed parallel to the X-axis, IW(M) is the Y
direction index—if the well is completed parallel to the Y- or Z-
axis, IW(M) is the X direction index. See example below.
If ICOORD=2, IW(1)=JW(1)=1.
JW(M) - Second index of the reservoir gridblock containing the Mth well.
Possible Values: Between 1 and the number of gridblocks in the pertinent
direction, inclusive
109
UTCHEM User's Guide
INPUT DATA DESCRIPTION
IFLAG(M) - Flag indicating type of well constraint specification for Mth well.
Possible Values:
1 - Rate constrained injection well
2 - Pressure constrained production well (This option is
available only if ICOORD=1 or 3)
3 - Pressure constrained injection well (This option is available
only if ICOORD=1 or 3)
4 - Rate constrained production well
IDIR(M) - Flag indicating the direction in which the Mth well is completed.
Possible Values:
1 - Well completed parallel to the X-axis
2 - Well completed parallel to the Y-axis
3 - Well completed parallel to the Z-axis
Note: If ICOORD=2, IDIR(M) must be equal to 3.
IFIRST(M) - Index of the first block in which the Mth well is completed.
Possible Values: Between 1 and the number of gridblocks in the pertinent
direction, inclusive
ILAST(M) - Index of the last block in which the Mth well is completed.
Possible Values: Between IFIRST(M) and the number of gridblocks in
the pertinent direction, inclusive
Example: For a vertical well (completed through all the layers) as illustrated in the
4 × 4 × 3 example below, note the values of IDIR(M), IW(M), JW(M),
IFIRST(M), and ILAST(M):
110
UTCHEM User's Guide
INPUT DATA DESCRIPTION
X
Z
Y
IDIR(M) = 3
IW(M) = 1
JW(M) = 1
IFIRST(M) = 1
ILAST(M) = 3
For a horizontal well (completed from the first to last gridblock in the X
direction and parallel to the X-axis) as illustrated in the 4 × 4 × 3 example
below, note the values of IDIR(M), IW(M), JW(M), IFIRST(M), and
ILAST(M):
X
Z
Y
IDIR(M) = 1
IW(M) = 2
JW(M) = 1
IFIRST(M) = 1
ILAST(M) = 4
Note: Horizontal wells can be used for 2-D X-Y or 3-D simulations.
3.7.6.b KPRF(M,IWB), for IWB=1, NWBC (This line is read only if IPRF=1)
KPRF(M,IWB) - Flag indicating if the IWBth well block of the Mth well is
perforated or not.
Possible Values:
0 - The well block is not perforated
1 - The well block is perforated
3.7.6.c WELNAM(M)
111
UTCHEM User's Guide
INPUT DATA DESCRIPTION
ICHEK(M) - The flag to specify whether to check the rate or pressure caps for
the Mth well.
Possible Values:
0 - There will be no check on the rate or pressure limits and no
automatic shut in for the pressure constraint injector
1 - There will be no automatic shut in for the pressure constraint
injector but the pressure or rate limits are checked
2 - There will be both the automatic shut in and the check on the
pressure or rate limits
QTMIN(M) - Minimum total flow rate (specified at the top layer) for the Mth
well.
Units: ft3/day (IUNIT=0) or m3/day (IUNIT=1)
QTMAX(M) - Maximum total flow rate (specified at the top layer) for the Mth
well.
Units: ft3/day (IUNIT=0) or m3/day (IUNIT=1)
Note: QTMIN(M) and QTMAX(M) need to be input as negative values for
production wells (IFLAG=2 or 4).
The user can skip the well control calculation by specifying very small
values for QTMIN(M) and PWFMIN(M) and very large values for
QTMAX(M) and PWFMAX(M).
The code still has the automatic option for shut in of a pressure constraint
injector injecting at a rate of less than QTMIN(M).
112
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.7.7 The data on input lines 3.7.7.a, 3.7.7.b, 3.7.7.c, and 3.7.7.d are repeated for
M=1 to NWELL times.
Note: For injection wells that are on rate constraint only injection rates and
concentrations for each phase are listed. For injection wells that are on
pressure constraint the injection pressure is also specified. In this case the
injection rates are treated as phase cuts in the injected fluid. For producer
pressure constraint only the bottom hole pressure is specified. For
producer rate constraint only the total production rate is specified.
3.7.7.a ID(M), (QI(M,L), (C(M,KC,L), for KC=1, N), for L=1, MXP) (This set of
data is read only if IFLAG(M)=1 or 3)
QI(M,L) - Injection rate of Lth phase in Mth well (see note below).
Units: ft3/day (IUNIT=0) or m3/day (IUNIT=1)
Note: See Appendix D for component and phase numbering scheme and the
concentration units for each species.
The KC index changes the fastest, the L index changes the next fastest,
and the M index changes the slowest. A separate data line should be in
the input file for each phase—that is, M × L lines will be read by the
program. MXP is equal to 3 (IGAS=0) or 4 (IGAS≥1).
3.7.7.c ID(M), TEMINJ(M) (This line is read only if IENG=1 and IFLAG(M)=1 or 3)
113
UTCHEM User's Guide
INPUT DATA DESCRIPTION
RSTC - Indicates the interval at which restart data should be written to the
RESTAR output file.
Units: pore volumes or days (dependent on value of ICUMTM flag)
114
UTCHEM User's Guide
INPUT DATA DESCRIPTION
See Appendix E for more details on the time step selection options.
3.7.10 DT, DCLIM, DTMAX, DTMIN (This line is read only if IMES=2 and
ITSTEP=0)
DCLIM - Tolerance for concentration change for the first three components.
Units: volume fraction
3.7.11 DT, DCLIM, CNMAX, CNMIN (This line is read only if IMES=2, ITSTEP=1,
and at least one well is not shut-in.)
DCLIM - Tolerance for concentration changes for the first three components.
Units: volume fraction
3.7.12 DT, (DELC(KC), for KC=1, N), DTMAX, DTMIN (This line is read only if
IMES=3 or 4 and ITSTEP=0)
115
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.7.13 DT, (DELC(KC), for KC=1, N), CNMAX, CNMIN (This line is read only if
IMES=3 or 4, ITSTEP=1, and all the wells are not shut-in)
IMPORTANT NOTE: The data on input lines 3.7.14 through 3.7.29 describe the
changes in boundary conditions and are repeated until the injected time (TINJ) is greater
than or equal to the maximum simulation time (TMAX).
3.7.14 IBMOD
IBMOD - Flag to indicate if there are changes to the boundary conditions in this
set of recurrent data.
Possible Values:
0 - There are no changes to the boundary conditions
1 - There are changes to the boundary conditions
IBOUND - Flag indicating if constant potential boundaries at the top, left, and
right sides of the simulation model are specified.
Possible Values:
0 - No boundary is specified
1 - Boundary is specified
116
UTCHEM User's Guide
INPUT DATA DESCRIPTION
3.7.16 IBL, IBR, IBT, WTABL, WTABR (This line is read only if IBMOD=1 and
IBOUND=1)
IBL - Flag indicating if the left hand side constant potential boundary is specified.
Possible Values:
0 - No boundary is specified
1 - Boundary is specified
IBR - Flag indicating if the right hand side constant potential boundary is
specified.
Possible Values:
0 - No boundary is specified
1 - Boundary is specified
IBT - Flag indicating if the top constant pressure boundary of the vadose zone is
specified.
Possible Values:
0 - Top boundary is closed
1 - Top boundary is open
3.7.17 PBL, C1BL, C5BL, C6BL (This line is read only if IBMOD=1 and IBOUND=1
and IZONE≠1 and IBL=1)
PBL- Pressure at the center of the top layer at the left boundary.
Units: psia (IUNIT=0) or kPa (IUNIT=1)
3.7.18 PBR, C1BR, C5BR, C6BR (This line is read only if IBMOD=1 and IBOUND=1
and IZONE≠1 and IBR=1)
PBR - Pressure at the center of the top layer at the right boundary.
Units: psia (IUNIT=0) or kPa (IUNIT=1)
117
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Note: For the biodegradation option (IBIO=1), the concentrations of all species
considered at the boundary are set to the initial concentrations. If the
variation in temperature is considered (IENG=1), the temperatures at the
boundaries are set to the initial temperature.
ITSTEP - Flag indicating the units to be used when specifying the minimum and
maximum time step.
Possible Values:
0 - Minimum and maximum time steps are input in days
1 - Minimum and maximum time steps are input as Courant
numbers
Note: This option is only used if IMES>1 and it is not a shut-in period.
If IMES=1, this flag is ignored. For a shut-in period of time, set
ITSTEP=0.
IFLAG(M) - Flag indicating type of well constraint specification for Mth well.
Possible Values:
1 - Rate constrained injection well
2 - Pressure constrained production well (This option is available
only if ICOORD=1 or 3)
3 - Pressure constrained injection well (This option is available
only if ICOORD=1 or 3)
4 - Rate constrained production well
3.7.20 NWEL1
3.7.21 The data on input lines 3.7.21.a through 3.7.21.d are repeated for M=1 to
NWEL1 times.
ID - Well ID number with changes from the previous slug injection period.
IW(ID) - First index of the reservoir gridblock containing the IDth well.
Note: See note for input line 3.7.6.a.
JW(ID) - Second index of the reservoir gridblock containing the IDth well.
118
UTCHEM User's Guide
INPUT DATA DESCRIPTION
IDIR(ID) - Flag indicating the direction in which the IDth well is completed.
Possible Values:
1 - Well completed parallel to the X-axis
2 - Well completed parallel to the Y-axis
3 - Well completed parallel to the Z-axis
Note: If ICOORD=2, IDIR(1) must be equal to 3.
IFIRST(ID) - Index of the first block in which the IDth well is completed.
ILAST(ID) - Index of the last block in which the IDth well is completed.
IPRF(ID) - Flag indicating if partial completion of the well is considered.
Possible Values:
0 - The well is fully completed
1 - The well is partially completed
3.7.21.b KPRF(ID,IWB), for IWB=1, NWBC (This line is read only if IPRF=1)
KPRF(ID,IWB) - Flag indicating if the IWBth well block of the IDth well is
perforated or not.
Possible Values:
0 - The well block is not perforated
1 - The well block is perforated
3.7.21.c WELNAM(ID)
ICHEK(ID) - The flag to specify whether to check the rate or pressure caps for
the IDth well.
Possible Values:
0 - There will be no check on the rate or pressure limits and no
automatic shut in for the pressure constraint injector
1 - There will be no automatic shut in for the pressure constraint
injector but the user specified pressure or rate limits are
checked
2 - There will be both the automatic shut in and the check on the
user specified pressure or rate limits
119
UTCHEM User's Guide
INPUT DATA DESCRIPTION
QTMIN(ID) - Minimum total flow rate (specified at the top layer) for the IDth
well.
Units: ft3/day (IUNIT=0) or m3/day (IUNIT=1)
QTMAX(ID) - Maximum total flow rate (specified at the top layer) for the IDth
well.
Units: ft3/day (IUNIT=0) or m3/day (IUNIT=1)
Note: See the note for input line 3.7.6.d.
3.7.23.a ID, QI(ID,L), (C(ID,KC,L), for KC=1,N), for L=1, MXP (This set of data is
read only if IFLAG(ID)=1 or 3)
ID - Well ID number with changes from the previous slug injection period.
QI(ID,L) - Injection rate of Lth phase in IDth well (see note for input line
3.7.7.a).
Units: ft3/day (IUNIT=0) or m3/day (IUNIT=1)
ID - Well ID number with changes from the previous slug injection period.
3.7.23.c ID, TEMINJ(ID) (This line is read only if IENG=1 and IFLAG(ID)=1 or 3)
ID - Well ID number with changes from the previous slug injection period.
120
UTCHEM User's Guide
INPUT DATA DESCRIPTION
ID - Well ID number with changes from the previous slug injection period.
RSTC - Indicates the interval at which restart data should be written to the
RESTAR output file.
Units: pore volumes or days (dependent on value of ICUMTM flag)
3.7.26 DT, DCLIM, DTMAX, DTMIN (This line is read only if IMES=2 and
ITSTEP=0)
DCLIM - Tolerance for concentration change for the first three components.
Units: volume fraction
121
UTCHEM User's Guide
INPUT DATA DESCRIPTION
Units: days
3.7.27 DT, DCLIM, CNMAX, CNMIN (This line is read only if IMES=2, ITSTEP=1,
and at least one well is not shut-in)
DCLIM - Tolerance for concentration changes for the first three components.
Units: volume fraction
3.7.28 DT, (DELC(KC), for KC=1, N), DTMAX, DTMIN (This line is read only if
IMES=3 or 4 and ITSTEP=0)
3.7.29 DT, (DELC(KC), for KC=1, N), CNMAX, CNMIN (This line is read only if
IMES=3 or 4, ITSTEP=1, and reservoir is not shut-in)
122
UTCHEM User's Guide
INPUT DATA DESCRIPTION
123
UTCHEM User's Guide
INPUT DATA DESCRIPTION
User notes:
124
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
A OUTPUT FILES
The following sections describe: (A.1) data that is written to the profile data
file, (A.2) restart run procedure, (A.3) data written to stored restart data file, (A.4)
data written to history files for each well, (A.5) data written to history of reservoir
properties and overall injection and production rates from all the wells, (A.6) data
written to aqueous phase tracer concentration data files, and (A.7) output files
The information in the following lists is written to the profile data file
(PROF).
125
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
continue a run past the initial time period or to break a large run up into smaller
segments. Each time you run UTCHEM, a file called RESTAR is created. This
file (described in section 6.3) contains all the information necessary to continue the
1.- Rename the output file RESTAR from the previous run to INPUT2
2.- Set the variable IMODE equal to 2 on input line 3.1.3 of file INPUT
3.- Change the value of TMAX on input line 3.3.1 of file INPUT to the new
injection period being simulated in the restart run
4.- Change the value of TINJ on input line 3.7.8 of file INPUT if appropriate
5.- Add additional information for input lines 3.7.14 through 3.7.29 of file
INPUT if the well conditions are different for the new injection period
Note: Make sure the source code you run the restart problem (IMODE=2) has the
same values for the array sizes in the parameter statement as the one used in
original run (IMODE=1).
126
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
The information in the following list is always written to the stored restart
data file (RESTAR). If the user is running a RESTART run, this data file needs to
be renamed to correspond to the INPUT2 input file. The values in parentheses are
127
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
128
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
The information in the following list is always written to the well history
The information in the following list is always written to the well history plotting
data files for each injection well.
129
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
The information in the following list is always written to the overall history
130
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
history plotting data files (TRAC01-TRACn) for each tracer (if IPOBS=0).
131
UTCHEM User's Guide
APPENDIX A: OUTPUT FILES
The following binary output files are created when running GMS. The
"file" prefix for the file names comes from the prefix of the input file name. For
example, if the input file is named run1.dat, all GMS output file names will start
with "run1" in place of "file" in the table below. For the component concentration
132
UTCHEM User's Guide
APPENDIX B: GEOCHEMISTRY OPTION (IREACT>1)
This section gives an example list of elements and reactive species for the
eq
+ 2- K 2
H + CO 3 → ← HCO3
- eq
K2 =
[ HCO3]
-
[ H+] [ CO2-3]
Keq eq [Ca(OH)+] [ H+]
Ca2+ + H2O → 3 + + K3 =
← Ca(OH) + H [Ca2+]
2+ Keq + + eq [ Mg(OH)+] [ H+]
Mg + H2 O → 4
← Mg(OH) + H K4 =
[Mg2+]
Keq eq [Al(OH)2+][H+]
Al3+ + H2O → 5 2+
← Al(OH) + H
+ K5 =
[Al3+]
Keq eq [Al(OH)2+][H+]2
Al3+ + 2H2O → 6 +
← Al(OH)2 + 2H
+ K6 =
[Al3+]
133
UTCHEM User's Guide
APPENDIX B: GEOCHEMISTRY OPTION (IREACT>1)
[ Ca2+] [ CO2-3][H+]
eq
Mg2+ + 2- K 11
+ H + CO 3 →
← Mg(HCO3)
+ eq
K11 =
[ Mg(HCO3)+]
[ Mg2+] [ CO23-][H+]
eq
K 12 eq [H2CO3]
2H+ + CO2- →
3 ← H2CO3 K12 =
[ CO2-3][H+]2
eq
K 13 + 3- eq [H+]3[HSi2O63-]
2H 4SiO4 →
← 2H2O + 3H + HSi2O6
K13 =
[H4SiO4]2
eq
K 14 + 2- eq [H+]2[Si2O52-]
2H 4SiO4 →
← 2H + 3H2O + Si2O5
K14 =
[H4SiO4]2
SiO2 Ksp
3 = [H4SiO4]
Al2Si2O5(OH)4 Ksp + -6 3+ 2
4 = [H ] [Al ] [H4SiO4]
2
NaAlSi2O6.H2O sp + -4 + 3+
K 5 = [ H ] [ Na ][Al ][H4SiO4]
2
Mg(OH)2 Ksp 2+ + -2
6 = [Mg ] [H ]
134
UTCHEM User's Guide
APPENDIX B: GEOCHEMISTRY OPTION (IREACT>1)
135
UTCHEM User's Guide
APPENDIX B: GEOCHEMISTRY OPTION (IREACT>1)
User notes:
136
UTCHEM User's Guide
APPENDIX C: MAIN PROGRAM FLOW OUTLINE
The following outline represents the basic flow through the main program
of UTCHEM (that is, the order in which major subroutines are called).
Ι. INOUT
A. FILE1
B. PRINTS
C. PRINTI
D. RESREAD
E. INNAME (called only if NO>1 and IOD is not equal to 1)
F . MOPPST (called only if NO>1)
1. SLV2EQ
G . PRINTO (called only if NO>1)
H . WMEACN (called only if NO>1 and IOD is not equal to 1)
I. DPREAD (called only if ICAP=2 and NTW>0)
J . GEOREAD (called only if IREACT>1)
K . BIOREAD (called only if IBIO=1)
L. WELREAD
M. METRIC (called only if IUNIT=1)
N . INIT
1. WELLIX
a. RADIUS
O. FILE3
P . FILE2
Q. GRDFAC
R. GMSINI (called only if IOUTGMS=1)
III. TIME0
A. OMOFR (called only if NO>1)
B. DENSTY
C. RPERM0
D. ADS0 (called only if ICWI≥0)
E. VIS0
IV. TRAN1
V. ASIGN1
VIII. QRATE
137
UTCHEM User's Guide
APPENDIX C: MAIN PROGRAM FLOW OUTLINE
XI. ADSORB
XIII. CSECAL
A. ALCPTN (called only if IALC=1)
1. TWOALC
2. CUBIC
B. CSEOD (called only if NO>1 and IOD is not equal to 1)
C. IONCNG
D. PHASC (called only if surfactant is not present and IREACT<1)
1. MAYER (called only if IMASS=2 and ICOR=1)
a. FLUX (called only if IMASS=2 and ICOR=1)
2. NONEQ
3. ODISWO (called only if NO>1)
a. NONEQK
E. PHCOMP (called only if surfactant is present or IREACT>1)
1. MAYER (called only if IMASS=2 and ICOR=1)
a. FLUX (called only if IMASS=2 and ICOR=1)
2. NONEQ
3. ODISWO
4. TIELIN
a. TRY
5. REVISE
6. VGAMMA
7. SINGLE
8. ODISTM (called only if IHAND=0)
9. ODISTM1 (called only if IHAND=1)
138
UTCHEM User's Guide
APPENDIX C: MAIN PROGRAM FLOW OUTLINE
2. G
XVIII. DENSTY
XIX. ASIGN2
XXX. VISCOS
XXXII. OUTDT1
XXXIII. OUTDT3
XXXIV. OUTDT2
A. PRINTI
B. PRINTS
XXXV. NSLUG
A. WELLIX
1. RADIUS
XXXVI. RSTART
XXXVIII. SUMTAB
139
UTCHEM User's Guide
APPENDIX C: MAIN PROGRAM FLOW OUTLINE
User notes:
140
UTCHEM User's Guide
APPENDIX D: PHASES AND SPECIES IN UTCHEM
This section gives the component numbering scheme in UTCHEM and the
L Phase
1 Aqueous phase
2 Oleic phase
3 Microemulsion phase
4 Gas phase
Tracers (NT>0):
141
UTCHEM User's Guide
APPENDIX D: PHASES AND SPECIES IN UTCHEM
KGOPT=1 KGOPT=2
Index Component [conc. units] Component [conc. units]
NG1* Na2Cr2O7 [ppm] —
NG2 CSN2H4 [ppm] Malonate ion [ppm]
NG3 Cr3+ [ppm] Cr3+ [ppm]
NG4 Gel [ppm] Gel [ppm]
*where NG1 = 9+NO+NTW+NTA+NGC
Index Component
[conc. units]
9+NO+NTW+NTA+NGC+NG First biological species
[mg/l]
8+NO+NTW+NTA+NGC+NG+NOTH Last biological species
[mg/l]
142
UTCHEM User's Guide
APPENDIX E: TIME-STEP SELECTION
E TIME-STEP SELECTION
UTCHEM: (E.1) selector based on method of relative changes for the first three
components, (E.2) selector based on method of relative changes for all the
Q ∆t
C =
∆x ∆y ∆z φ
The time step selection is based on the method of relative changes for the
∆C
∆t n+1
= ∆t min NBL lim
n κ = 1, 2, 3 (E.1)
max ∆C i,κ
i=1
where ∆tn+1 is limited to: ∆tmin≤∆tn+1≤∆tmax. ∆tmin and ∆tmax are the input time
step values and ∆Clim is the input value for concentration tolerance (DCLIM).
The minimum and maximum time steps in days are computed based on the
CNMIN
∆t min =
nwell nwbc Qi
min max
M=1 i=1 ∆x i ∆y i ∆z i φ i
and
143
UTCHEM User's Guide
APPENDIX E: TIME-STEP SELECTION
CNMAX
∆t max =
nwell nwbc Qi
min max
M=1 i=1 ∆x i ∆y i ∆z i φ i
CNMAX are the input Courant number values in input line 3.7.11. The time step is
144
UTCHEM User's Guide
APPENDIX E: TIME-STEP SELECTION
∆C
∆t n+1
= ∆t min NBL lim,κ
n
κ = 1, ..., nc
max ∆C i,κ
i=1
145
UTCHEM User's Guide
APPENDIX E: TIME-STEP SELECTION
R lim,κ
∆t n+1
= ∆t min
n κ = 1, ..., nc
NBL ∆C
max i,κ
i=1 C
i,κ
Component 3.
146
UTCHEM User's Guide
APPENDIX F: CHANGES TO USER'S GUIDE
UTCHEM user's guide (as opposed to the code) that occurred between versions
This section lists new input variables introduced to UTCHEM with version
7.0. The variables are also flagged within the body of the user's guide by being
This section lists deleted input variables and variables whose definitions
147
UTCHEM User's Guide
APPENDIX F: CHANGES TO USER'S GUIDE
This section lists additional changes made to the user's guide for version
9.0.
148
UTCHEM User's Guide
INPUT VARIABLE INDEX
149
UTCHEM User's Guide
INPUT VARIABLE INDEX
150
UTCHEM User's Guide
INPUT VARIABLE INDEX
151