You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_sources/configuration_file.rst.txt
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -30,18 +30,18 @@ The following input lines in the configuration file are:
30
30
31
31
"""Set the model parameters"""
32
32
spe11c master #Name of the spe case (spe11a, spe11b, or spe11c) and OPM Flow version (master or release)
33
-
complete #Name of the co2 model (immiscible or complete)
33
+
complete gaswater #Name of the co2 model (immiscible or complete) and co2store implementation (gaswater or gasoil [oil properties are set to water internally in OPM flow])
34
34
cartesian #Type of grid (cartesian, tensor, or corner-point)
35
-
8400. 5000. 1200.#Length, width, and depth [m]
35
+
840050001200#Length, width, and depth [m]
36
36
84#If cartesian, number of x cells [-]; otherwise, variable array of x-refinment
37
37
50#If cartesian, number of y cells [-]; otherwise, variable array of y-refinment [-] (for spe11c)
38
-
12#If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (17 entries)
39
-
70. 36.25 #Temperature bottom and top rig [C]
40
-
19620000.#Pressure on the top [Pa]
38
+
12#If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (18 entries)
39
+
7036.25#Temperature bottom and top rig [C]
40
+
196200000.1#Pressure on the top [Pa] and multiplier for the permeability in the z direction [-]
41
41
1e-92e-80#Diffusion (in liquid and gas) [m^2/s] and dispersion [m] (disperison only available in Flow master)
42
-
8.5e-12500.#Rock specific heat and density (for spe11b/c)
43
-
5e41.#Pore volume on lateral boundaries and width of buffer cell [m] (for spe11b/c)
44
-
150. 10.#Elevation of the parabola and back [m] (for spe11c)
42
+
8.5e-12500#Rock specific heat and density (for spe11b/c)
43
+
05e41#Added pore volume on top boundary (for spe11a [if 0, free flow bc]), pore volume on lateral boundaries, and width of buffer cell [m] (for spe11b/c)
44
+
15010#Elevation of the parabola and back [m] (for spe11c)
45
45
46
46
In line 5 you specify if you are using OPM Flow from the master branch or from the latest stable release (OPM-flow 2023.10 release).
47
47
This since there are continuous changues in the OPM master branch (e.g., implementation of mechanical dispersion). Then we
@@ -52,7 +52,7 @@ with the defined number of elements in lines 9 to 11. The tensor grid allows to
52
52
is first divided with the number of entries in the array, and after it divides each of these elements by the assigned number in
53
53
the array entry. The corner-point mode generates a grid where the x and y direction are defined as in the array mode, but the
54
54
cell faces in the z-direction follows the lines as defined in the `lines_coordinates.geo <https://github.com/OPM/pyopmspe11/blob/main/src/pyopmspe11/reference_mesh/lines_coordinates.geo>`_ script,
55
-
resulting in 17 levels. Then, the z-refinment in each of these levels is set. See the configuration files in the `tests <https://github.com/OPM/pyopmspe11/blob/main/tests>`_ and
55
+
resulting in 18 levels. Then, the z-refinment in each of these levels is set. See the configuration files in the `tests <https://github.com/OPM/pyopmspe11/blob/main/tests>`_ and
56
56
`examples <https://github.com/OPM/pyopmspe11/blob/main/examples>`_ folder for the setting of these grids.
57
57
58
58
.. figure:: figs/cartesian.png
@@ -61,7 +61,7 @@ resulting in 17 levels. Then, the z-refinment in each of these levels is set. Se
61
61
62
62
Examples of a cartesian (top), tensor (middle), and corner-point (bottom) grids. The cartesian is generated using 170, 100, and 120
63
63
elements, the tensor grid by setting the x-array to 50,100,20; the y-array to 5,10,70,10,5; and the z-array to 5,10,20,20,20,20,20,5; and
64
-
the corner-point grid using the same xy-arrays as in the tensor grid and for the z-refinment 4,4,3,3,5,3,7,5,13,5,7,5,3,9,21,21,2.
64
+
the corner-point grid using the same xy-arrays as in the tensor grid and for the z-refinment 4,4,3,3,5,3,7,5,13,5,4,3,5,3,9,21,21,2.
65
65
66
66
.. warning::
67
67
Dispersion seems to work fine for the spe11a case where there are no thermal effects nor water evaporation. However, for spe11b/c there are
<p>The following input lines in the configuration file are:</p>
103
103
<divclass="highlight-python notranslate"><divclass="highlight"><pre><span></span><spanclass="linenos"> 4</span><spanclass="sd">"""Set the model parameters"""</span>
104
104
<spanclass="linenos"> 5</span><spanclass="n">spe11c</span><spanclass="n">master</span><spanclass="c1">#Name of the spe case (spe11a, spe11b, or spe11c) and OPM Flow version (master or release)</span>
105
-
<spanclass="linenos"> 6</span><spanclass="n">complete</span><spanclass="c1">#Name of the co2 model (immiscible or complete)</span>
105
+
<spanclass="linenos"> 6</span><spanclass="n">complete</span><spanclass="n">gaswater</span><spanclass="c1">#Name of the co2 model (immiscible or complete) and co2store implementation (gaswater or gasoil [oil properties are set to water internally in OPM flow])</span>
106
106
<spanclass="linenos"> 7</span><spanclass="n">cartesian</span><spanclass="c1">#Type of grid (cartesian, tensor, or corner-point)</span>
107
-
<spanclass="linenos"> 8</span><spanclass="mf">8400.</span><spanclass="mf">5000.</span><spanclass="mf">1200.</span><spanclass="c1">#Length, width, and depth [m]</span>
107
+
<spanclass="linenos"> 8</span><spanclass="mi">8400</span><spanclass="mi">5000</span><spanclass="mi">1200</span><spanclass="c1">#Length, width, and depth [m]</span>
108
108
<spanclass="linenos"> 9</span><spanclass="mi">84</span><spanclass="c1">#If cartesian, number of x cells [-]; otherwise, variable array of x-refinment</span>
109
109
<spanclass="linenos">10</span><spanclass="mi">50</span><spanclass="c1">#If cartesian, number of y cells [-]; otherwise, variable array of y-refinment [-] (for spe11c)</span>
110
-
<spanclass="linenos">11</span><spanclass="mi">12</span><spanclass="c1">#If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (17 entries)</span>
111
-
<spanclass="linenos">12</span><spanclass="mf">70.</span><spanclass="mf">36.25</span><spanclass="c1">#Temperature bottom and top rig [C]</span>
112
-
<spanclass="linenos">13</span><spanclass="mf">19620000.</span><spanclass="c1">#Pressure on the top [Pa]</span>
110
+
<spanclass="linenos">11</span><spanclass="mi">12</span><spanclass="c1">#If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (18 entries)</span>
111
+
<spanclass="linenos">12</span><spanclass="mi">70</span><spanclass="mf">36.25</span><spanclass="c1">#Temperature bottom and top rig [C]</span>
112
+
<spanclass="linenos">13</span><spanclass="mi">19620000</span><spanclass="mf">0.1</span><spanclass="c1">#Pressure on the top [Pa] and multiplier for the permeability in the z direction [-]</span>
113
113
<spanclass="linenos">14</span><spanclass="mf">1e-9</span><spanclass="mf">2e-8</span><spanclass="mi">0</span><spanclass="c1">#Diffusion (in liquid and gas) [m^2/s] and dispersion [m] (disperison only available in Flow master)</span>
114
-
<spanclass="linenos">15</span><spanclass="mf">8.5e-1</span><spanclass="mf">2500.</span><spanclass="c1">#Rock specific heat and density (for spe11b/c)</span>
115
-
<spanclass="linenos">16</span><spanclass="mf">5e4</span><spanclass="mf">1.</span><spanclass="c1">#Pore volume on lateral boundaries and width of buffer cell [m] (for spe11b/c)</span>
116
-
<spanclass="linenos">17</span><spanclass="mf">150.</span><spanclass="mf">10.</span><spanclass="c1">#Elevation of the parabola and back [m] (for spe11c)</span>
114
+
<spanclass="linenos">15</span><spanclass="mf">8.5e-1</span><spanclass="mi">2500</span><spanclass="c1">#Rock specific heat and density (for spe11b/c)</span>
115
+
<spanclass="linenos">16</span><spanclass="mi">0</span><spanclass="mf">5e4</span><spanclass="mi">1</span><spanclass="c1">#Added pore volume on top boundary (for spe11a [if 0, free flow bc]), pore volume on lateral boundaries, and width of buffer cell [m] (for spe11b/c)</span>
116
+
<spanclass="linenos">17</span><spanclass="mi">150</span><spanclass="mi">10</span><spanclass="c1">#Elevation of the parabola and back [m] (for spe11c)</span>
117
117
</pre></div>
118
118
</div>
119
119
<p>In line 5 you specify if you are using OPM Flow from the master branch or from the latest stable release (OPM-flow 2023.10 release).
is first divided with the number of entries in the array, and after it divides each of these elements by the assigned number in
126
126
the array entry. The corner-point mode generates a grid where the x and y direction are defined as in the array mode, but the
127
127
cell faces in the z-direction follows the lines as defined in the <aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/src/pyopmspe11/reference_mesh/lines_coordinates.geo">lines_coordinates.geo</a> script,
128
-
resulting in 17 levels. Then, the z-refinment in each of these levels is set. See the configuration files in the <aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/tests">tests</a> and
128
+
resulting in 18 levels. Then, the z-refinment in each of these levels is set. See the configuration files in the <aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/tests">tests</a> and
129
129
<aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/examples">examples</a> folder for the setting of these grids.</p>
<p><spanclass="caption-text">Examples of a cartesian (top), tensor (middle), and corner-point (bottom) grids. The cartesian is generated using 170, 100, and 120
140
140
elements, the tensor grid by setting the x-array to 50,100,20; the y-array to 5,10,70,10,5; and the z-array to 5,10,20,20,20,20,20,5; and
141
-
the corner-point grid using the same xy-arrays as in the tensor grid and for the z-refinment 4,4,3,3,5,3,7,5,13,5,7,5,3,9,21,21,2.</span><aclass="headerlink" href="#id1" title="Link to this image"></a></p>
141
+
the corner-point grid using the same xy-arrays as in the tensor grid and for the z-refinment 4,4,3,3,5,3,7,5,13,5,4,3,5,3,9,21,21,2.</span><aclass="headerlink" href="#id1" title="Link to this image"></a></p>
Copy file name to clipboardExpand all lines: docs/text/configuration_file.rst
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -30,18 +30,18 @@ The following input lines in the configuration file are:
30
30
31
31
"""Set the model parameters"""
32
32
spe11c master #Name of the spe case (spe11a, spe11b, or spe11c) and OPM Flow version (master or release)
33
-
complete #Name of the co2 model (immiscible or complete)
33
+
complete gaswater #Name of the co2 model (immiscible or complete) and co2store implementation (gaswater or gasoil [oil properties are set to water internally in OPM flow])
34
34
cartesian #Type of grid (cartesian, tensor, or corner-point)
35
-
8400. 5000. 1200.#Length, width, and depth [m]
35
+
840050001200#Length, width, and depth [m]
36
36
84#If cartesian, number of x cells [-]; otherwise, variable array of x-refinment
37
37
50#If cartesian, number of y cells [-]; otherwise, variable array of y-refinment [-] (for spe11c)
38
-
12#If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (17 entries)
39
-
70. 36.25 #Temperature bottom and top rig [C]
40
-
19620000.#Pressure on the top [Pa]
38
+
12#If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (18 entries)
39
+
7036.25#Temperature bottom and top rig [C]
40
+
196200000.1#Pressure on the top [Pa] and multiplier for the permeability in the z direction [-]
41
41
1e-92e-80#Diffusion (in liquid and gas) [m^2/s] and dispersion [m] (disperison only available in Flow master)
42
-
8.5e-12500.#Rock specific heat and density (for spe11b/c)
43
-
5e41.#Pore volume on lateral boundaries and width of buffer cell [m] (for spe11b/c)
44
-
150. 10.#Elevation of the parabola and back [m] (for spe11c)
42
+
8.5e-12500#Rock specific heat and density (for spe11b/c)
43
+
05e41#Added pore volume on top boundary (for spe11a [if 0, free flow bc]), pore volume on lateral boundaries, and width of buffer cell [m] (for spe11b/c)
44
+
15010#Elevation of the parabola and back [m] (for spe11c)
45
45
46
46
In line 5 you specify if you are using OPM Flow from the master branch or from the latest stable release (OPM-flow 2023.10 release).
47
47
This since there are continuous changues in the OPM master branch (e.g., implementation of mechanical dispersion). Then we
@@ -52,7 +52,7 @@ with the defined number of elements in lines 9 to 11. The tensor grid allows to
52
52
is first divided with the number of entries in the array, and after it divides each of these elements by the assigned number in
53
53
the array entry. The corner-point mode generates a grid where the x and y direction are defined as in the array mode, but the
54
54
cell faces in the z-direction follows the lines as defined in the `lines_coordinates.geo <https://github.com/OPM/pyopmspe11/blob/main/src/pyopmspe11/reference_mesh/lines_coordinates.geo>`_ script,
55
-
resulting in 17 levels. Then, the z-refinment in each of these levels is set. See the configuration files in the `tests <https://github.com/OPM/pyopmspe11/blob/main/tests>`_ and
55
+
resulting in 18 levels. Then, the z-refinment in each of these levels is set. See the configuration files in the `tests <https://github.com/OPM/pyopmspe11/blob/main/tests>`_ and
56
56
`examples <https://github.com/OPM/pyopmspe11/blob/main/examples>`_ folder for the setting of these grids.
57
57
58
58
.. figure:: figs/cartesian.png
@@ -61,7 +61,7 @@ resulting in 17 levels. Then, the z-refinment in each of these levels is set. Se
61
61
62
62
Examples of a cartesian (top), tensor (middle), and corner-point (bottom) grids. The cartesian is generated using 170, 100, and 120
63
63
elements, the tensor grid by setting the x-array to 50,100,20; the y-array to 5,10,70,10,5; and the z-array to 5,10,20,20,20,20,20,5; and
64
-
the corner-point grid using the same xy-arrays as in the tensor grid and for the z-refinment 4,4,3,3,5,3,7,5,13,5,7,5,3,9,21,21,2.
64
+
the corner-point grid using the same xy-arrays as in the tensor grid and for the z-refinment 4,4,3,3,5,3,7,5,13,5,4,3,5,3,9,21,21,2.
65
65
66
66
.. warning::
67
67
Dispersion seems to work fine for the spe11a case where there are no thermal effects nor water evaporation. However, for spe11b/c there are
spe11a master #Name of the spe case (spe11a, spe11b, or spe11c) and OPM Flow version (master or release)
6
-
complete #Name of the co2 model (immiscible or complete)
6
+
complete gasoil #Name of the co2 model (immiscible or complete) and co2store implementation (gaswater or gasoil [oil properties are set to water internally in OPM flow])
7
7
tensor #Type of grid (cartesian, tensor, or corner-point)
8
8
2.8 0.01 1.2 #Length, width, and depth [m]
9
9
8,15,20,20,15,15,15,6 #If cartesian, number of x cells [-]; otherwise, variable array of x-refinment
10
10
1 #If cartesian, number of y cells [-]; otherwise, variable array of y-refinment [-] (for spe11c)
11
-
4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5 #If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (18 entries)
12
-
20. 20. #Temperature bottom and top rig [C]
13
-
110000. #Pressure on the top [Pa]
11
+
4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5 #If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (18 entries)
12
+
20 20 #Temperature bottom and top rig [C]
13
+
110000 1 #Pressure on the top [Pa] and multiplier for the permeability in the z direction [-]
14
14
1e-9 1.6e-5 1e-2 #Diffusion (in liquid and gas) [m^2/s] and dispersion [m] (disperison only available in Flow master)
15
15
0 0 #Rock specific heat and density (for spe11b/c)
16
-
0 0 #Pore volume on lateral boundaries and width of buffer cell [m] (for spe11b/c)
16
+
0 0 0#Added pore volume on top boundary (for spe11a [if 0, free flow bc]), pore volume on lateral boundaries, and width of buffer cell [m] (for spe11b/c)
spe11b master #Name of the spe case (spe11a, spe11b, or spe11c) and OPM Flow version (master or release)
6
-
complete #Name of the co2 model (immiscible or complete)
6
+
complete gaswater #Name of the co2 model (immiscible or complete) and co2store implementation (gaswater or gasoil [oil properties are set to water internally in OPM flow])
7
7
corner-point #Type of grid (cartesian, tensor, or corner-point)
8
-
8400. 1. 1200. #Length, width, and depth [m]
8
+
8400 1 1200 #Length, width, and depth [m]
9
9
4,40,20,20,20,10,10,4 #If cartesian, number of x cells [-]; otherwise, variable array of x-refinment
10
10
1 #If cartesian, number of y cells [-]; otherwise, variable array of y-refinment [-] (for spe11c)
11
11
2,2,1,1,2,1,3,2,6,2,3,2,2,8,4,10,10,1 #If cartesian, number of z cells [-]; if tensor, variable array of z-refinment; if corner-point, fix array of z-refinment (18 entries)
12
-
70. 40. #Temperature bottom and top rig [C]
13
-
19620000.#Pressure on the top [Pa]
12
+
70 40 #Temperature bottom and top rig [C]
13
+
19620000 0.1 #Pressure on the top [Pa] and multiplier for the permeability in the z direction [-]
14
14
1e-9 2e-8 0 #Diffusion (in liquid and gas) [m^2/s] and dispersion [m] (disperison only available in Flow master)
15
-
8.5e-1 2500. #Rock specific heat and density (for spe11b/c)
16
-
5e4 1. #Pore volume on lateral boundaries and width of buffer cell [m] (for spe11b/c)
15
+
8.5e-1 2500 #Rock specific heat and density (for spe11b/c)
16
+
0 5e4 1 #Added pore volume on top boundary (for spe11a [if 0, free flow bc]), pore volume on lateral boundaries, and width of buffer cell [m] (for spe11b/c)
17
17
0 0 #Elevation of the parabola and back [m] (for spe11c)
18
18
19
19
"""Set the saturation functions"""
@@ -49,8 +49,8 @@ PERM7 0 PORO7 0 THCONR7 2.00
49
49
50
50
"""Define the injection values ([hours] for spe11a; [years] for spe11b/c)"""
51
51
"""injection time, time step size to write results, maximum solver time step, injected fluid (0 water, 1 co2) (well1), injection rate [kg/s] (well1), temperature [C] (well1), injected fluid (0 water, 1 co2) (well2), ..."""
0 commit comments