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-5
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ The following input lines are:
51
51
2000080000#Sensor position x, y, and z to assess the error over time w.r.t the reference solution [m]
52
52
(20-20*mt.sin((2*mt.pi*(x+y)/10000))) #The function for the reservoir surface
53
53
12.92#Add hysteresis (1/0) and salinity (value [1E-3 kg-M/kg])
54
+
0#Number of interations for back-coupling.
54
55
55
56
Here we first set the dimensions of the regional model and the grid size for the discretization,
56
57
where the origen is located in the left bottom corner. Then the site model is defined by giving the coordinates
@@ -63,6 +64,10 @@ which allows to consider different rock and saturation function properties, as w
63
64
the location of a point of interest to compare results, and the z position of the tops cells as a function of the (x,y) location. The hysteresis option activates the
64
65
Killough hysteresis model on the gas relative permeability.
65
66
67
+
.. note::
68
+
The functionality for back-coupling in line 22 is under development, see/run `back-coupling.txt <https://github.com/cssr-tools/expreccs/blob/main/tests/configs/back-coupling.txt>`_
69
+
if you are curious.
70
+
66
71
.. figure:: figs/grids.png
67
72
68
73
The site location in the regional model (upper left), the fault in the site model (upper right), the number of rock for the different properties
@@ -77,7 +82,7 @@ The following entries define the rock related parameters:
@@ -120,7 +125,7 @@ Simillarly for the rock properties:
120
125
121
126
.. code-block:: python
122
127
:linenos:
123
-
:lineno-start: 49
128
+
:lineno-start: 50
124
129
125
130
"""Properties rock"""
126
131
"""Kxy [mD], Kz [mD], phi [-]"""
@@ -150,7 +155,7 @@ Now we proceed to define the location of the wells:
150
155
151
156
.. code-block:: python
152
157
:linenos:
153
-
:lineno-start: 61
158
+
:lineno-start: 62
154
159
155
160
"""Wells position"""
156
161
"""x, y, zi, and zf positions [m]"""
@@ -172,7 +177,7 @@ The injection rates are given in the following entries:
172
177
173
178
.. code-block:: python
174
179
:linenos:
175
-
:lineno-start: 70
180
+
:lineno-start: 71
176
181
177
182
"""Define the injection values"""
178
183
"""injection time [d], time step size to write results regional [d], time step size to write results site/reference [d], maximum time step [d], fluid (0 wetting, 1 non-wetting) well 0, injection rates [kg/day] well 0, fluid ... well n, injection, ...well n, (if 'wells' for BC in site (Line 14); bottom, right, top, and left values (0(prod)/1(inj), pressure [Pa]))"""
Copy file name to clipboardexpand all lines: docs/_sources/installation.rst.txt
+3-2
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ install the Python requirements in a virtual environment with the following comm
33
33
34
34
.. note::
35
35
36
-
For not macOS users, to install the Python opm package, execute in the terminal **pip install opm**.
36
+
Regarding the reading of from OPM Flow output files (i.e., .EGRID, .INIT, .UNRST), it is possible to use the opm python package instead of resdata (e.g., it seems the opm Python package
37
+
is faster than resdata to read large simulation files). For not macOS users, to install the Python opm package, execute in the terminal **pip install opm**.
37
38
For macOS, see :ref:`macOS`.
38
39
39
40
OPM Flow
@@ -133,4 +134,4 @@ This builds OPM Flow as well as the opm Python package, and it exports the requi
133
134
134
135
Regarding the resdata Python package, it might not be available depending on the Python version (e.g., it is not found using Python 3.9, but it is installed using Python 3.10).
135
136
Then, it is recommended to use a Python version equal or higher than 3.10; otherwise, remove resdata from the requirements in the `pyproject.toml <https://github.com/cssr-tools/expreccs/blob/main/pyproject.toml>`_,
136
-
and the opm Python package will be used (this is the default package for reading the simulation files, see the :ref:`overview`).
137
+
and when executing **expreccs** always set the flag **-r opm** (resdata is the default package for reading the simulation files, see the :ref:`overview`).
- \-m: Run the whole framework ('all'), only the reference ('reference'), only the site ('site'), or only regional and site models ('noreference') ('all' by default).
36
36
- \-c: Generate metric plots for the current outputed folders ('compare') ('' by default).
37
37
- \-p: Create nice figures in the postprocessing folder ('no' by default).
38
-
- \-r: Using the 'opm' or 'resdata' python package ('opm' by default).
38
+
- \-r: Using the 'opm' or 'resdata' python package ('resdata' by default).
39
39
- \-u: Using 'gasoil' or 'gaswater' co2store implementation ('gaswater' by default).
40
40
- \-t: Grades to rotate the site geological model ('0' by default).
41
-
- \-e:: Name of the regional and site folders to project pressures ('' by default).
41
+
- \-e: Name of the regional and site folders to project pressures ('' by default).
42
42
43
43
In the **configuration file** the geological model is defined by generation
44
44
of corner-point grids (cpg), adding heterogeinities (e.g., different rock properties, faults), wells, and defining schedules for the
0 commit comments