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
All previous commands can be executed from the main repository location as (`docs_hello_world.sh <https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_hello_world.sh>`_):
75
+
76
+
.. code-block:: bash
77
+
78
+
. ./tests/scripts/docs_hello_world.sh
79
+
72
80
.. tip::
73
81
74
82
`This example <https://cssr-tools.github.io/plopm/examples.html#reading-from-csv-files>`_ shows how to use `plopm <https://github.com/cssr-tools/plopm>`_ to
@@ -91,6 +99,12 @@ saving the configuration file as spe11b_11-levels.toml, running them (we add the
91
99
92
100
.. image:: ./figs/11_levels_dz_i,1,k_t5.png
93
101
102
+
All previous commands can be executed from the main repository location as (`docs_cp_grids.sh <https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_cp_grids.sh>`_):
103
+
104
+
.. code-block:: bash
105
+
106
+
. ./tests/scripts/docs_cp_grids.sh
107
+
94
108
======================
95
109
Localized lower domain
96
110
======================
@@ -103,4 +117,10 @@ The flag **-n lower** results in the generation of files for the lower part (low
All previous commands can be executed from the main repository location as (`docs_localized_lower_domain.sh <https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_localized_lower_domain.sh>`_):
121
+
122
+
.. code-block:: bash
123
+
124
+
. ./tests/scripts/docs_localized_lower_domain.sh
125
+
106
126
See the :doc:`convergence <./convergence>` for using the localized domain in the SPE11B corner-point grid case.
<p><spanclass="caption-text">The immiscible and isothermal simulations run faster since they have less dof.</span><aclass="headerlink" href="#id3" title="Link to this image"></a></p>
134
+
<p><spanclass="caption-text">The immiscible and isothermal simulations run faster since they have less dof.</span><aclass="headerlink" href="#id4" title="Link to this image"></a></p>
135
135
</figcaption>
136
136
</figure>
137
-
<p>The <aclass="reference external" href="https://github.com/cssr-tools/plopm">plopm</a> tool facilitates the visualization of selected results, and can be installed by:</p>
137
+
<divclass="admonition note">
138
+
<pclass="admonition-title">Note</p>
139
+
<p><aclass="reference external" href="https://github.com/cssr-tools/plopm">plopm</a> facilitates the visualization of selected results, and can be installed by:</p>
<p>For example, the following figures are generated with the commands:</p>
143
+
</div>
144
+
<p>For example, the following figures are generated using <aclass="reference external" href="https://github.com/cssr-tools/plopm">plopm</a> with the commands:</p>
142
145
<divclass="highlight-bash notranslate"><divclass="highlight"><pre><span></span>plopm<spanclass="w"></span>-i<spanclass="w"></span>isothermal/flow/ISOTHERMAL<spanclass="w"></span>-v<spanclass="w"></span>sgas<spanclass="w"></span>-t<spanclass="w"></span><spanclass="s1">'Isothermal simulation (end of simulation)'</span>
<p>All previous commands can be executed from the main repository location as (<aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_hello_world.sh">docs_hello_world.sh</a>):</p>
<p><aclass="reference external" href="https://cssr-tools.github.io/plopm/examples.html#reading-from-csv-files">This example</a> shows how to use <aclass="reference external" href="https://github.com/cssr-tools/plopm">plopm</a> to
<p>All previous commands can be executed from the main repository location as (<aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_cp_grids.sh">docs_cp_grids.sh</a>):</p>
<p>All previous commands can be executed from the main repository location as (<aclass="reference external" href="https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_localized_lower_domain.sh">docs_localized_lower_domain.sh</a>):</p>
<p>See the <aclass="reference internal" href="convergence.html"><spanclass="doc">convergence</span></a> for using the localized domain in the SPE11B corner-point grid case.</p>
Copy file name to clipboardExpand all lines: docs/genindex.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,8 @@ <h2 id="C">C</h2>
176
176
</li>
177
177
</ul></li>
178
178
<li><ahref="pyopmspe11.visualization.plotting.html#pyopmspe11.visualization.plotting.CaseConfig">CaseConfig (class in pyopmspe11.visualization.plotting)</a>
179
+
</li>
180
+
<li><ahref="pyopmspe11.core.pyopmspe11.html#pyopmspe11.core.pyopmspe11.check_cmdargs">check_cmdargs() (in module pyopmspe11.core.pyopmspe11)</a>
179
181
</li>
180
182
<li><ahref="pyopmspe11.utils.inputvalues.html#pyopmspe11.utils.inputvalues.check_deck">check_deck() (in module pyopmspe11.utils.inputvalues)</a>
Copy file name to clipboardExpand all lines: docs/pyopmspe11.core.pyopmspe11.html
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,23 @@
88
88
<sectionid="module-pyopmspe11.core.pyopmspe11">
89
89
<spanid="pyopmspe11-core-pyopmspe11-module"></span><h1>pyopmspe11.core.pyopmspe11 module<aclass="headerlink" href="#module-pyopmspe11.core.pyopmspe11" title="Link to this heading"></a></h1>
<spanclass="sig-prename descclassname"><spanclass="pre">pyopmspe11.core.pyopmspe11.</span></span><spanclass="sig-name descname"><spanclass="pre">check_cmdargs</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cmdargs</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">dict</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">,</span></span><spanclass="w"></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">None</span></span></span><aclass="headerlink" href="#pyopmspe11.core.pyopmspe11.check_cmdargs" title="Link to this definition"></a></dt>
94
+
<dd><p>Validate command-line arguments and incompatible operations.</p>
95
+
<p>The checks cover configuration and output names, spatial resolution,
96
+
reporting times and intervals, comparison mode, and options restricted
<spanclass="sig-prename descclassname"><spanclass="pre">pyopmspe11.core.pyopmspe11.</span></span><spanclass="sig-name descname"><spanclass="pre">load_parser</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">argv</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span><spanclass="w"></span><spanclass="p"><spanclass="pre">|</span></span><spanclass="w"></span><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">dict</span></span></span><aclass="headerlink" href="#pyopmspe11.core.pyopmspe11.load_parser" title="Link to this definition"></a></dt>
All previous commands can be executed from the main repository location as (`docs_hello_world.sh <https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_hello_world.sh>`_):
75
+
76
+
.. code-block:: bash
77
+
78
+
. ./tests/scripts/docs_hello_world.sh
79
+
72
80
.. tip::
73
81
74
82
`This example <https://cssr-tools.github.io/plopm/examples.html#reading-from-csv-files>`_ shows how to use `plopm <https://github.com/cssr-tools/plopm>`_ to
@@ -91,6 +99,12 @@ saving the configuration file as spe11b_11-levels.toml, running them (we add the
91
99
92
100
.. image:: ./figs/11_levels_dz_i,1,k_t5.png
93
101
102
+
All previous commands can be executed from the main repository location as (`docs_cp_grids.sh <https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_cp_grids.sh>`_):
103
+
104
+
.. code-block:: bash
105
+
106
+
. ./tests/scripts/docs_cp_grids.sh
107
+
94
108
======================
95
109
Localized lower domain
96
110
======================
@@ -103,4 +117,10 @@ The flag **-n lower** results in the generation of files for the lower part (low
All previous commands can be executed from the main repository location as (`docs_localized_lower_domain.sh <https://github.com/OPM/pyopmspe11/blob/main/tests/scripts/docs_localized_lower_domain.sh>`_):
121
+
122
+
.. code-block:: bash
123
+
124
+
. ./tests/scripts/docs_localized_lower_domain.sh
125
+
106
126
See the :doc:`convergence <./convergence>` for using the localized domain in the SPE11B corner-point grid case.
0 commit comments