Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding example with -l labels #9

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/_sources/examples.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ the actual content of those include files, then by executing:

.. code-block:: bash

pycopm -i DROGON_HIST.DATA -c 1,1,3 -p 1
pycopm -i DROGON_HIST_PYCOPM.DATA -c 1,3,1 -p 1 -j 2.5
pycopm -i DROGON_HIST.DATA -c 1,1,3 -p 1 -l C1
pycopm -i DROGON_HIST_PYCOPM.DATA -c 1,3,1 -p 1 -j 2.5 -l C2

this would generate the following coarse model:

Expand All @@ -121,7 +121,7 @@ this would generate the following coarse model:
Here, we first coarse in the z direction, which reduces the number of cells from 31 to 11, and after we coarse in the y direction.
After trial and error, the jump (-j) is set to 2.5 to avoid generated connections across the faults. For geological models with a lot of
inactive cells and faults, this divide and conquer apporach is recommended, i.e., coarsening first in the z directon and after coarsening
in the x and y directions.
in the x and y directions. In addition, we add labels (-l) C1 and C2 to differentiate between the coarse include files.

.. note::
Add to the generated coarse deck the missing include files in the grid section related to the region operations (e.g.,
Expand Down
6 changes: 3 additions & 3 deletions docs/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ <h3>Drogon<a class="headerlink" href="#drogon" title="Link to this heading"><
<p>Following the note above, then by downloading the <a class="reference external" href="https://github.com/OPM/opm-tests/tree/master/drogon">DROGON model</a>, replacing the lines in
<a class="reference external" href="https://github.com/OPM/opm-tests/blob/master/drogon/model/DROGON_HIST.DATA">DROGON_HIST.DATA</a> for the FAULTS (L127-128) and SCHEDULE (L242-243) with
the actual content of those include files, then by executing:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pycopm<span class="w"> </span>-i<span class="w"> </span>DROGON_HIST.DATA<span class="w"> </span>-c<span class="w"> </span><span class="m">1</span>,1,3<span class="w"> </span>-p<span class="w"> </span><span class="m">1</span>
pycopm<span class="w"> </span>-i<span class="w"> </span>DROGON_HIST_PYCOPM.DATA<span class="w"> </span>-c<span class="w"> </span><span class="m">1</span>,3,1<span class="w"> </span>-p<span class="w"> </span><span class="m">1</span><span class="w"> </span>-j<span class="w"> </span><span class="m">2</span>.5
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pycopm<span class="w"> </span>-i<span class="w"> </span>DROGON_HIST.DATA<span class="w"> </span>-c<span class="w"> </span><span class="m">1</span>,1,3<span class="w"> </span>-p<span class="w"> </span><span class="m">1</span><span class="w"> </span>-l<span class="w"> </span>C1
pycopm<span class="w"> </span>-i<span class="w"> </span>DROGON_HIST_PYCOPM.DATA<span class="w"> </span>-c<span class="w"> </span><span class="m">1</span>,3,1<span class="w"> </span>-p<span class="w"> </span><span class="m">1</span><span class="w"> </span>-j<span class="w"> </span><span class="m">2</span>.5<span class="w"> </span>-l<span class="w"> </span>C2
</pre></div>
</div>
<p>this would generate the following coarse model:</p>
Expand All @@ -200,7 +200,7 @@ <h3>Drogon<a class="headerlink" href="#drogon" title="Link to this heading"><
<p>Here, we first coarse in the z direction, which reduces the number of cells from 31 to 11, and after we coarse in the y direction.
After trial and error, the jump (-j) is set to 2.5 to avoid generated connections across the faults. For geological models with a lot of
inactive cells and faults, this divide and conquer apporach is recommended, i.e., coarsening first in the z directon and after coarsening
in the x and y directions.</p>
in the x and y directions. In addition, we add labels (-l) C1 and C2 to differentiate between the coarse include files.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Add to the generated coarse deck the missing include files in the grid section related to the region operations (e.g.,
Expand Down
Loading
Loading