<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Roderick Perez on Medium]]></title>
        <description><![CDATA[Stories by Roderick Perez on Medium]]></description>
        <link>https://medium.com/@roderickperez?source=rss-73ef16b20f15------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*v5UuTeGPCSzMGVL0BW3yig.jpeg</url>
            <title>Stories by Roderick Perez on Medium</title>
            <link>https://medium.com/@roderickperez?source=rss-73ef16b20f15------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:36:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roderickperez/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Run Hydrocarbon Flow Simulator in Windows (Ubuntu 18.04) — Part II]]></title>
            <link>https://roderickperez.medium.com/run-hydrocarbon-flow-simulator-in-windows-ubuntu-18-04-part-ii-68465a12518f?source=rss-73ef16b20f15------2</link>
            <guid isPermaLink="false">https://medium.com/p/68465a12518f</guid>
            <category><![CDATA[reservoir-engineering]]></category>
            <category><![CDATA[resinsight]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[spe]]></category>
            <dc:creator><![CDATA[Roderick Perez]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 12:22:16 GMT</pubDate>
            <atom:updated>2021-04-02T18:20:39.921Z</atom:updated>
            <content:encoded><![CDATA[<h4>Hydrocarbon Simulator Tutorial Series in Windows</h4><h3>Run Hydrocarbon Flow Simulator in Windows (Ubuntu 18.04) — Part II</h3><p>Download OPM — Flow and open SPE1 dataset in ResInsight</p><p>In the previous article (<a href="https://roderickperez.medium.com/run-hydrocarbon-flow-simulation-in-windows-ubuntu-18-04-part-iv-b2d4a9de952a">Part I</a>) we downloaded and installed Ubuntu within Windows, using <em>Windows Subsystem for Linux</em> (WSL). In this post we will download the black-oil <strong>Flow </strong>simulator in Ubuntu, and then download a dataset with various simulation cases, generate our own simulation, and visualize the results in ResInsight under Windows.</p><h3>OPM Project</h3><p>The <em>Open Porous Media Initiative</em> (OPM) is a joint effort of several companies, such as SINTEF, NORCE, and OPM-OP, which since 2015 formed a consortium that offers commercial support and maintenance services for the tools offered, like:</p><ul><li>Upscalling</li><li><strong>Black-oil reservoir | Flow</strong></li><li>Enhanced Oil Recovery</li><li>CO2 sequestration</li></ul><h3>Flow</h3><p><a href="https://opm-project.org/?page_id=19">OPM Flow</a> is a <em>fully-implicit</em>, <strong>black-oil simulator</strong> capable of running industry-standard simulation models. According to the <a href="https://opm-project.org/wp-content/uploads/2020/12/OPM_Flow_Documentation_2020-10_Rev-0.pdf">documentation</a>, the simulator is implemented using <em>automatic differentiation to enable rapid development of new fluid models</em>. It is importnat to highlight tha the program is in active development and new features are added in each bi-annual release.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cYZYAtuEN468WU368FFMhQ.png" /></figure><p>To download Flow, it is necessary to go to the Download tab in the upper right corner of the home page and click on <em>Download</em>.</p><p>This link takes us to a new page, which offers us several download options, among which <em>Ubuntu </em>(16.04 or 18.04), <em>RedHat</em>, or <em>Windows </em>(using <em>Virtualbox</em>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P48--G1rwINbf_P5Eb-UlA.png" /></figure><p>Until a few years ago, the only way to have Linux on a PC was through creating a disk partition or installing a virtual machine (such as VirtualBox or VMWare). However, virtual machines consume the resources (mainly RAM) in the machine, many times this operation becomes very inefficient. Therefore, since Windows opened the opportunity to integrate Linux with Windows through the Windows Subsystem for Linux (WSL), it is an opportunity to compile processes in Linux simply and lightly and be able to have access through (for example ) old known as Windows File Explorer.</p><p>Of course, this is not the definitive solution, but it is a very interesting alternative to fulfill the objective of being able to carry out simulations of geological models and to be able to visualize the results in Windows, without the complications of resource consumption (RAM) virtual machine installations, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ynxgSSAmHWe8y-35cajPA.png" /></figure><p>It is important to note that this tutorial is inspired by the instructions that he shared on his <a href="https://www.youtube.com/watch?v=r1hL1lvwG9c&amp;t=1s">YouTube </a>channel, which I suggest you visit to complement this post. Additionally, the OPM Flow team makes this <a href="https://opm-project.org/?page_id=197">tutorial </a>available for the case of the SPE1 model.</p><h3>Install Flow en Ubuntu 18.04</h3><p>In the previous post (<a href="https://roderickperez.medium.com/run-hydrocarbon-flow-simulation-in-windows-ubuntu-18-04-part-iv-b2d4a9de952a">Part I</a>), we managed to install Ubuntu 18.04 on our Windows machine, through WSL. Now, we start our Linux session (Ubuntu), and follow the instructions on the Flow page, which we can access through the Windows Terminal.</p><p>As good practice, every time we start a new Ubuntu session, we should check if there are updates available in the packages installed in our seismic, for which we must enter the command:</p><pre>sudo apt-get update</pre><p>if some updates are available, we can use the following command to upgrade:</p><pre>sudo apt-get upgrade</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gfllo_PFb8qnJRqW6jiLNg.png" /></figure><p>Initially, it is necessary to install the “software-properties-common” package, through the command (1):</p><pre>sudo apt-get install software-properties-common</pre><p>Then we add the OPM repository (2), and run the <em>update </em>command again (3):</p><pre>sudo apt-add-repository ppa:opm/ppa<br>sudo apt-get update</pre><p>To verify that everything was installed correctly, we can use the following command line so that the system lists all the libraries and dependencies installed, and that they are associated with OPM:</p><pre>apt-cache seacrh opm</pre><p>In the same way, we can list the modules and packages related to <em>opm-simulators</em> available to install (2), through the command:</p><pre>apt-cache seacrh opm-simulators</pre><p>Then, to install the opm-simulators programs (including <em>Flow</em>) and their dependencies (3), we add the following command:</p><pre>sudo apt-get install mpi-default-bin<br>sudo apt-get install libopm-simulators-bin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jOMd99QdeV8s-KPPcwpgvw.png" /></figure><p>After finishing the installation process, it is suggested to do an update and upgrade of the libraries again, using the commands used previously:</p><pre>sudo apt-get update<br>sudo apt-get upgrade</pre><h3>Download test data from OPM’s Github</h3><p>With Flow installed in our Ubuntu session, it is necessary to download the dataset that the OPM team has prepared, for which it is necessary to create a folder in which we will store them, and after downloading git, we will clone the repository of <em>opm-data</em>.</p><p>After entering your Github account, we must go to the <em>OPM / opm-data </em><a href="https://github.com/OPM/opm-data">repository</a>, and click on the <em>Code </em>button, and copy the link that is shown, which we will use to clone the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vnJ5fOPkaTXKv2fXsXyLXg.png" /></figure><p>We return to our Ubuntu session, and first, we are going to create a new folder called <em>data </em>in the location of your preference, using the command:</p><pre>mkdir data</pre><p>Then, we will access that folder, through the command:</p><pre>cd data</pre><p>and we will proceed to install <em>Git</em>, using the command:</p><pre>sudo apt install git</pre><p>To verify that everything has been installed correctly, we can verify the version of <em>Git </em>that has been installed through the command:</p><pre>git --version</pre><p>Finally, we can clone the OPM repository with the data, using the following command:</p><pre>git clone <a href="https://github.com/OPM/opm-data.git">https://github.com/OPM/opm-data.git</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sEodAQmbVv_j1OfBj35oIw.png" /></figure><p>Now, inside the created folder (in my case I call it data), we can call the <em>ll</em> command to list the files inside the folder (1).</p><blockquote>Within Linux there are two methods for listing the elements within a directory: <em>ls</em> and <em>ll</em>. <em>ls </em>is the command used for <em>listing directory contents</em>, while <em>ll </em>(or <em>ls -l</em>) is used for listing directory contents in a <em>long listing format</em>.</blockquote><p>We can see that inside our <em>data </em>folder there is another folder called <em>opm-data</em>, which we will access, and then we will list the elements within it (2). Then, inside the <em>opm-data</em> folder, there is a series of subfolders with the different reference cases used in the oil industry (SPE1, SPE2, SPE5, etc). We now proceed to enter the folder called <em>spe1</em>, and we will list the files that are inside it (3).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h7fE3SfQ8MxWBFWiDpOCsw.png" /></figure><p>Now, we can call our <strong>Flow </strong>simulator and run the file with the .DATA ending, through the following command line:</p><pre>flow SPE1CASE1.DATA</pre><p>We will immediately see how <em>Flow </em>begins to perform the reservoir simulations following the instructions within the <em>SPE1CASE1.DATA</em> file.</p><p>In this case, 120 time-steps were generated, where after each simulation the system displays the results of interest on the simulation on the screen. After finishing, the system shows us a summary of the simulation with the information about the execution time, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uVWnvOjZN-gvVqPgJv8BTw.png" /></figure><h3>Visualize results in ResInsight</h3><p>Finally, we can now go to our simulation viewer, ResInsight, and import the results by selecting “<em>Import Eclipse Cas</em>e”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vAhKS4W--wqkC_Uss7Bf0Q.png" /></figure><p>Because WSL allows us to integrate Ubuntu and Windows, we can navigate within our files in Windows, find where we create and store the data downloaded from the OPM repository, and look for the SPE1 folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5m9YZv6oeLO-ViEmDWwPpA.png" /></figure><p>We can see that the result that among the many files generated during the simulation, a file with an .EGRID extension was generated, which contains the 3D grid of our model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lh4uy74jXF-WCW0cVAQLag.png" /></figure><p>After selecting the file SPE1CASE1.EGRID we can visualize the result of the model as a 3D grid within ResInsight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7c4mY-UBKh_V56EP2H6pw.png" /></figure><p>Finally, now we can click on the Play button, and view the animation of our simulation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*-1MUeo9Y5i2b8w1piPpXqw.gif" /></figure><h3>Summary</h3><p>Throughout this series of posts, we were able to install Ubuntu on Windows, using the Windows Subsystem for Linus (WSL) on which we installed the black-oil simulator Flow (belonging to the Open Porous Media Project). Next, we clone the sample dataset from the OPM repository on Github and then run the simulation using the data from the SPE1 case. Finally, we visualize the results of the simulation in Windows, through the ResInsight program.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68465a12518f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Hydrocarbon Flow Simulator in Windows (Ubuntu 18.04) — Part I]]></title>
            <link>https://roderickperez.medium.com/run-hydrocarbon-flow-simulation-in-windows-ubuntu-18-04-part-iv-b2d4a9de952a?source=rss-73ef16b20f15------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2d4a9de952a</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Roderick Perez]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 08:26:19 GMT</pubDate>
            <atom:updated>2021-04-02T12:25:46.717Z</atom:updated>
            <content:encoded><![CDATA[<h4>Hydrocarbon Simulator Tutorial Series in Windows</h4><h3>Run Hydrocarbon Flow Simulator in Windows (Ubuntu 18.04) — Part I</h3><p>Download and set-up Ubuntu 18.04 on Windows using WSL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*-1MUeo9Y5i2b8w1piPpXqw.gif" /></figure><p>As a Geophysical Engineer, dedicated primarily to seismic interpretation, I have always been fascinated by the impact of my work in the world of energy. However, this fascination has been accompanied by the technical inability to integrate my knowledge and expertise in a project in a comprehensive way. Until some years, in the world of geosciences (where I include geophysicists, geologists, petrophysicists, etc.) and petroleum engineers have remained on the sidelines and separated in their silos.</p><p>Many of this inability to interact was due to the lack of commercial (low-cost?) software that would allow teams and workgroups to interact in a more interdisciplinary way. Today, with the rise of free software (or open-source), these silos are breaking down, and the interaction of work teams can be made more dynamic, up to the limit that the same individual can perform from seismic processing. , interpretation, attribute generation, calibration with well logs, petrophysical interpretation, and analysis, up to the generation of a 3D model of the reservoir, and its subsequent dynamic reservoir simulation from the comfort of your home and without the need to have access to a workstation.</p><p>In this series of posts, I have prepared a tutorial that will allow you to install <em>Ubuntu </em>under <em>Windows </em>using the <em>Windows Subsystem for Linux</em> (Part I), and later, download and install <em>Flow </em>in <em>Ubuntu </em>to be able to generate reservoir simulations, which can be viewed from <em>ResInsight</em>.</p><h3>Introduction</h3><p>Over the years as a geophysical engineer (specialized in seismic interpretation) I have always been fascinated with the possibility able to integrate and visualize all the data collected from a reservoir in a 3D model, which allows me to evaluate the impact of my interpretation in the hydrocarbon potential of the assets. However, until recently, many of these disciplines (as well as their tools and software) have been isolated, keeping each discipline and specialty in silos.</p><p>Recently, following the new trend of <em>open-source</em> software, I discovered <a href="https://opm-project.org/?page_id=19"><em>FLOW</em></a>, which is part of the the <em>Open Porous Media</em> project (<a href="https://opm-project.org/">https://opm-project.org/</a>). <em>Flow </em>is a <strong><em>black-oil reservoir simulator</em></strong> that “<em>encourages open innovation and reproducible research for modeling and simulation of porous media processes</em>”.</p><h3>Install Ubuntu 18.04 using WSL</h3><p>So far, one of the biggest challenges was installing <em>the Flow </em>simulator on the system, which is only available for <em>Linux</em>. However, using the <em>Windows Subsystem for Linux</em> (WSL), it is possible to install a Linux distribution, preferably Ubuntu 18.04, and be able to install and run the simulation on a Linux environment and then be able to visualize the simulation results in a post-processing reservoir simulation visualization tool, such as ResInsight, which can access it on a Windows environment.</p><p>The first step is to download the <strong>Windows Terminal</strong>, which is a terminal application, from the <strong>Microsoft Store</strong> (very similar to the default installed <em>Command Prompt</em>, or <em>PowerShell</em>). However, I highly suggest installing <em>Windows Terminal</em> since it offers some benefits, as we will see in the next steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tOAuE33PH2uxDw7Oa23vYQ.png" /></figure><p>Inside the Microsoft Store, look for the <strong>Ubuntu 18.04 LTS</strong> version, and click on the Download button. It is important to note that there are currently different versions of Ubuntu available in the Microsoft Store (<em>Ubuntu</em>, or <em>Ubuntu 20.04</em>), as well as other <em>Linux </em>distributions (<em>Kali</em>, <em>Debian</em>, etc). But, we are going to work exclusively with rhe Ubuntu 18.04 version. To date, I do not know if it is possible to effectively install <em>Flow </em>in the other versions of Ubuntu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*DLelrC_1gDQ2Z39CPuA9fQ.png" /></figure><p>After downloading Ubuntu 18.04 it is important to verify an important option since, by default, the folder is <strong>compressed</strong>, and it is necessary to change some properties so that we can install <em>Ubuntu </em>effectively on our machine.</p><p>For this, you must find the location where the “<em>CanonicalGroupLimited.UbuntuonWindows_XXXXXX</em>” folder was installed. In my case, it is under the “<em>Packages</em>” folder (see image).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*-YUtml4CVxCzq_mOLDdW4w.png" /></figure><p>By clicking the right mouse button, we select the <em>Properties </em>of said folder and the following window opens. In this, we must click on the “<em>Advanced …</em>” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*StIRZ1Rte_j0w-wdweVABA.png" /></figure><p>Inside the “<em>Advanced Attributes</em>” window we must verify that the “<em>Compress contents to save disk space</em>” option is disabled. Then we can simply click on the <em>OK </em>button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*ciEqg_vAUzqLLHywMPovUQ.png" /></figure><p>Now, we can install Ubuntu on our machines following the instructions and commands that the system suggests, where we must assign a UNIX <em>username</em>, as well as a system <em>password</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*VKJeIHARVVjS681zojvpEA.png" /><figcaption>Next, we can open Windows Terminal, and a screen opens with a tab with the title “Windows PowerShell”, in which we can view the working directory in which we are.</figcaption></figure><p>It is important to note that this password is the one that must be entered each time we add the <em>sudo </em>command (which means SuperUser DO) and is used to access restricted files and operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8EuNKF8gm4WX997UjgOBA.png" /></figure><p>To verify that Ubuntu was installed correctly on our machines, we can enter the following command:</p><pre>wsl --list --verbose</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RNQbFwoXilCrdgmJZKRGQw.png" /></figure><p>If the result looks like the one shown in the following image, everything is fine. In my case, I have two versions of Ubuntu on my machine (Ubuntu 18.04 and Ubuntu 20.04, which is simply displayed as Ubuntu).</p><p>The version associated with both is 1, which refers to the associated WSL 1 or WSL2 version. As mentioned in the <a href="https://docs.microsoft.com/en-us/windows/wsl/compare-versions#:~:text=Whereas%20WSL%201%20used%20a,are%20immediately%20ready%20for%20use.">Microsoft documentation</a>, the difference between working with WSL1 and WSL2 is that <em>whereas WSL 1 used a translation layer that was built by the WSL team, WSL 2 includes its own Linux kernel with full system call compatibility</em>. In my case, I prefer to work with the WSL1 version, and for this tutorial, and the Flow installation there is no major difference.</p><p>There are two ways to start an Ubuntu session. To activate our Ubuntu, it is necessary to write the following command, in which the version that you want to start is specified (in our case it is the Ubuntu 18.04 version):</p><pre>wsl -d Ubuntu-18.04</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3OE9JU-SpDckg-tdqTM1Hw.png" /></figure><p>The second option is to click on tab (1) of the Windows Terminal, and as can be seen in the image, all the options available to us are shown. We selected Ubuntu 18.04 (2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rBi43vnDCST69VbJ4XAKmQ.png" /></figure><p>In both cases, we get the same result. As we can see, the machine is pointing to a specific directory (in my case it is <em>/mnt/c/Users/RODERICK</em>). This is one of the advantages of working in this way since the Ubuntu operating system is configured to access our C: disk in Windows, and we can navigate within the system from Ubuntu, without friction or problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YmfAmp7tN5odwp8O8ymXBg.png" /></figure><p>A recommendation is always that when starting the Ubuntu session we can make the necessary package and library updates through the command:</p><pre>sudo apt-get update</pre><p>This process should be done routinely, at the beginning of each session, or after installing new packages and libraries (as we will do during this tutorial).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UTyC5p4DhtGI_LqY0hLnrg.png" /></figure><p>This command makes a scan of all the libraries and packages installed (or those that are necessary to install) in our system. Then, we indicate that we want to update these packages and libraries, through the command:</p><pre>sudo apt-get upgrade</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RvtJPQs-RMy0SlXEEVdyxg.png" /></figure><p>If there are pending updates, the system will ask us if we want to continue with said installations, which we will indicate yes, simply by typing the letter <em>Y </em>on our keyboard.</p><h3>Generate directory/folder and visualize it on Windows</h3><p>I understand that for many people working on Linux (Ubuntu) can be challenging. However, before finishing this tutorial, I want to share with you the advantages of using it in WSL.</p><p>In Linux, we can perform the functions in a Windows environment, but through commands. There is an infinity of commands that will be useful to have on hand from now on, but before finishing I would like us to visualize how to create a folder/directory from Ubuntu, and view the results from Windows Explorer.</p><p>Within Linux, the cd command refers to changing the directory. In my case, I am going to change from my <em>base directory</em> (<em>/mnt/c/Users/RODERICK/</em>) to my <em>Documents </em>directory (remember we are working on our hard drive C:) through the command:</p><pre>cd Documents/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLmObSlxLwz1NZ0zap-9nw.png" /></figure><p>Now, inside the Documents folder, we can create a new directory called “Ubuntu” using the command mkdir (make directory) followed by the desired folder name that we would like to assign into it:</p><pre>mkdir Ubuntu</pre><p>and then we can access said new folder, using the <em>cd </em>command as we did previously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5J_uY8ZonE_eN5OCMuM7Qw.png" /></figure><p>Finally, within Windows Explorer, we can navigate within our C: disk and indeed we can verify that a new folder has been created within Documents, called Ubuntu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_5CJ5CtA957lIl7FcbxOw.png" /></figure><h3>Summary</h3><p>In this tutorial, we downloaded and installed <em>Windows Terminal</em>, as well as Ubuntu version 18.04, and we learned how to start a Linux (Ubuntu) session from Windows. Then we used two very important commands within Linux, to change the directory (<em>cd</em>) and to generate a new folder/directory (<em>mkdir</em>), which allowed us to create a folder called Ubuntu, and which we verified was created within Windows Explorer.</p><p>In the next <a href="https://roderickperez.medium.com/run-hydrocarbon-flow-simulator-in-windows-ubuntu-18-04-part-ii-68465a12518f">tutorial</a>, we will install <em>Flow </em>in Ubuntu, and we will view the results of our simulation in ResInsight from Windows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2d4a9de952a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Download ResInsight and load Volve Dataset — Part III]]></title>
            <link>https://roderickperez.medium.com/download-resinsight-and-load-volve-dataset-part-iii-c6c7ad028ce2?source=rss-73ef16b20f15------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6c7ad028ce2</guid>
            <category><![CDATA[volve]]></category>
            <category><![CDATA[resinsight]]></category>
            <dc:creator><![CDATA[Roderick Perez]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 13:20:38 GMT</pubDate>
            <atom:updated>2021-04-01T13:20:38.037Z</atom:updated>
            <content:encoded><![CDATA[<h4>HYDROCARBON SIMULATOR TUTORIAL SERIES IN WINDOWS</h4><h3>Download ResInsight and load Volve Dataset — Part III</h3><p>Download ResInsight and load Volve Dataset</p><p>I n this third and last post we are going to download a simulation results viewer called ResInsight. This software, which runs entirely on Windows (although it can also be installed directly on Linux) will allow us to view the simulation results generated by the Equinor team for the Volve field.</p><h3>ResInsight</h3><p>ResInsight is a <em>Post Processing of Reservoir Simulations</em>, which among the many advantages it offers is that it is open-source (<em>free</em>). Additionally, it offers a simple and intuitive interaction.</p><p>To download it we must go to its main page, which we can access through the following link: <a href="https://resinsight.org/">https://resinsight.org/</a>. Here, we go to the “Download and Install” section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tltKJyKgSgcFFsQ3eptYiw.png" /></figure><p>In the installation section, we select the Windows Intallation option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z52BtAX_l12u6Krwz8q2Ng.png" /></figure><p>As indicated in the instructions, we must download a compressed folder (ZIP) by accessing the link <a href="https://github.com/OPM/ResInsight/releases">https://github.com/OPM/ResInsight/releases</a>, which contains the binary files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*__m9pjHU-SxTUFuatgOZkw.png" /></figure><p>Because it is an open source program, the developers have a repository on Github, in which they can review and keep updated on the main and continuous improvements that are made to the program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o-0GvqBTNM9y-rfHc7RY_w.png" /></figure><p>At the bottom of this page we go to where the compressed folder (.zip) is located, which in my case corresponds to <a href="https://github.com/OPM/ResInsight/releases/download/v2020.10.1/ResInsight-2020.10.1_oct-4.0.0_win64.zip">ResInsight-2020.10.1_oct-4.0.0_win64.zip</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5YnV9cEN3-U42kkjqJe7yg.png" /></figure><p>After clicking on that folder, the download process should start automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ciEyq7dWKNCf7CkzmEbn0w.png" /></figure><p>Because it is a compressed folder, it is necessary to use some decompression program (in my case I use WinRAR). After selecting the folder, it is necessary to click on the button “Extract To”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*iYuEg7WMEplEy24jFRQEXg.png" /></figure><p>And in our file structure it is necessary to select the location where we want to save our folder. In my case, create a new folder inside the “Program Files” folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*elc5YBABZjnME-RkQG-A0w.png" /></figure><p>After the decompression process we can open the unzipped folder,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YCqdUpdyY5XIRNO8I07Nzw.png" /></figure><p>and we proceed to look for the executable file (ResInsight.exe).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AkyKrLSQj0y-Ssjzw0Vrgg.png" /></figure><p>We already have our program fully installed on our system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*msCb3HbtxndMVaur2xAlcg.png" /></figure><p>Now, we need to go to the File tab, select the <em>Import </em>&gt;&gt; <em>Eclipse Cases</em> option, and select the <em>Eclipse Case option</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NfGrBdEw5dcREVZc8XnxjA.png" /></figure><p>Then, we look for where we save the data downloaded from the Equinor server previously (Part II), which must have a .GRID extension.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ptmoOuFFmdbonjZUM60Ww.png" /></figure><p>Finally, we can visualize the reservoir model and the simulation results. In order to improve the visualization I select the cube (1) and change the vertical scale from 5 to 30 (2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6SOF4OTVl3JPUwmzmwLfJg.png" /></figure><p>Since the simulation was carried out in a time horizon (from December 2007 to August 2016), after selecting the dynamic property to be displayed (in my case select the oil saturation, <em>SOIL</em>), we can click on the <em>Play </em>button (2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wUEltYF_nADKYG7-T_w1w.png" /></figure><p>As we can see, this model is quite large (680,400 cells of which 183,545 are active during the simulation).</p><p>Congratulations, you can now view the results of the simulation of the Volve field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*gLhlFLSPj_LwA-JIxFwBfw.gif" /></figure><h3>Summary</h3><p>Throughout this series of posts, we download the data from the Equinor server (using Azure Store Explorer), and visualize it in a ResInsight.</p><p>In later posts, we will explore the possibilities of downloading a reservoir simulator (OPM-Flow) under Windows Subsystem Linux, and generating our simulations, which we will visualize in Windows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6c7ad028ce2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Download Azure Storage Explorer and connect to Volve Database — Part II]]></title>
            <link>https://roderickperez.medium.com/download-azure-storage-explorer-and-connect-to-volve-database-part-ii-73894aaeb2c2?source=rss-73ef16b20f15------2</link>
            <guid isPermaLink="false">https://medium.com/p/73894aaeb2c2</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[volve]]></category>
            <dc:creator><![CDATA[Roderick Perez]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 13:17:10 GMT</pubDate>
            <atom:updated>2021-04-01T13:19:30.051Z</atom:updated>
            <content:encoded><![CDATA[<h4>HYDROCARBON SIMULATOR TUTORIAL SERIES IN WINDOWS</h4><h3>Download Azure Storage Explorer and connect to Volve Database — Part II</h3><p>Continuing with the process of accessing the reservoir model data from the Volve field, in this post we will focus on downloading and installing Microsoft Azure Storage Explorer, and then use the URL link generated by the system (<a href="https://roderickperez.medium.com/access-volve-datasetaccess-volve-dataset-part-1-1285529488b">Part I</a>) and be able to access the download the data in our machine.</p><h3>Microsoft Azure Storage Explorer</h3><p>Microsoft Azure Storage Explorer is a free tool (available for Windows, macOS, and Linux) that allows us to access databases found in Azure Storage (Blobs, Files, Tables, and Queues) in a simple and fast way.</p><p>To download it you can go to the link <a href="https://azure.microsoft.com/es-es/features/storage-explorer/">https://azure.microsoft.com/es-es/features/storage-explorer/</a>, or write <em>Azure Storage Explorer</em> in your Microsoft Store.</p><p>After selecting your operating system (in my case Windows) we press the download button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*istCiA1TKcruXXVoBQWihw.png" /><figcaption>Image of the Azure Storage Explorer version to download from the Microsoft Store.</figcaption></figure><p>After downloading the file, we proceed to install it, accepting the terms and conditions and pressing the Install button.</p><p>Later, when opening the program, select the connector icon on the left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tYpfpnpR1BuPMYHMbtxpag.png" /></figure><p>A window will then open in which we must select the “Blob container” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GHuvwGIdmlUwJuvzXob1zA.png" /></figure><p>And then, in the next window, select the option “Shared access signature (SAS) and click on the Next button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lf_YVAxmM-qySlfOIR8gCw.png" /></figure><p>In the next section it is necessary to paste the URL link generated by the Equinor system (see <a href="https://roderickperez.medium.com/access-volve-datasetaccess-volve-dataset-part-1-1285529488b">Part I</a>), and click on the Next button. Note that when pasting said link in the corresponding section, the “Display Name” is automatically updated to “return”. This name will be the one that we will identify this data set in our file system later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EVnqCdyj6eNdvBCRDJYgg.png" /></figure><p>Before connecting to the database we verify that we do not have any errors, and we click on the Connect button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HtrTh4xSyXzCyQBYwNZmCg.png" /></figure><p>After waiting a few seconds we can see the 11 folders that contain all the information corresponding to the Volve field. Because in this tutorial we focus on reservoir simulation information, we click on the “<em>Reservoir_Model-Eclipe_Model</em>” folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZx1RzvG_y2VUq7PSiDYZw.png" /></figure><p>Inside this folder we select the folder “<em>Volve_sim_model_PPA-Eclipse Res Model</em>”, and we click on the <em>Download </em>button at the top.</p><p>Depending on your internet connection this process may vary because this information contains 1.58 Gb of information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FII42YRehme_jVHDkWZ7qg.png" /></figure><p>One suggestion is to create a folder on your system (or an external hard drive) and store the data in that folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1hhjwK7wvMYUXX4hYMAeng.png" /></figure><h3>Summary</h3><p>I n this post we continue with the process of downloading the reservoir data of the Volve field, for which it was necessary to download Microsoft Azure Storage Explorer, and access the database of the Volve field (managed by Equinor) using the URL link generated in the <a href="https://medium.com/@roderickperez/access-volve-datasetaccess-volve-dataset-part-1-1285529488b">Part I</a> of this series.</p><p>In the next section, we will download the reservoir simulation viewer, ResInsight, and proceed to view the data that we download in this section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73894aaeb2c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Access Volve DatasetAccess Volve Dataset — Part I]]></title>
            <link>https://roderickperez.medium.com/access-volve-datasetaccess-volve-dataset-part-1-1285529488b?source=rss-73ef16b20f15------2</link>
            <guid isPermaLink="false">https://medium.com/p/1285529488b</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[volve]]></category>
            <dc:creator><![CDATA[Roderick Perez]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 11:40:23 GMT</pubDate>
            <atom:updated>2021-04-02T08:39:52.018Z</atom:updated>
            <content:encoded><![CDATA[<h4>Hydrocarbon Simulator Tutorial Series in Windows</h4><h3>Access Volve Dataset — Part I</h3><h4>Updated (April, 2021)</h4><p>Volve is a decommissioned field located in the central part of the North Sea, discovered in 1993. The development and operation plan (PDO) was approved in 2005 and was operational in 2008, and finally closed in 2016. Equinor and its partners decided to publish the most important subsurface data for the Volve field.</p><p>In this series of post, I will guide you in the process to download the dataset (Part I), download and set-up your access through Microsoft Azure Storage Explorer (<a href="https://roderickperez.medium.com/download-azure-storage-explorer-and-connect-to-volve-database-part-ii-73894aaeb2c2">Part II</a>), as well as download the open-source reservoir visualization software, <strong>ResInsight</strong>, in order to visualize the reservoir modeling results (<a href="https://roderickperez.medium.com/download-resinsight-and-load-volve-dataset-part-iii-c6c7ad028ce2">Part III</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*gLhlFLSPj_LwA-JIxFwBfw.gif" /><figcaption>Volve Field (Equinor) reservoir simulation (oil saturation) animation in ResInsight.</figcaption></figure><h3>Introduction</h3><p>The data set from the Volve field, located in the North Sea, corresponds to one of the most important milestones in modern history in the exploration and exploitation of hydrocarbons. To promote research, study, development, and innovation, in 2018 the company Equinor (former Statoil) has made a complete set of field data available under a modified Creative Commons license, the Equinor Open license.</p><h3>Volve Field</h3><p>The Volve field is located 200 km west of the city of Stavanger (Norway) and remained in operation between 2008 and 2015. Production rates of 56,000 barrels per day were reported, accumulating a total production of 63 million barrels per day. barrels, reaching a recovery rate of 54%.</p><p>Through the use of the Mærsk Inspirer jack-up rig, the Navion Saga ship was used to contain oil before being exported to surface facilities, while gas was channeled to the Sleipner A platform. for final processing and export.</p><h3>Data</h3><p>The data set consists of more than 40,000 files (approximately 5 TB), divided into 11 folders, which contain 9 types of data.</p><ul><li>Geophysical Interpretation</li><li>Geoscience_OW_Archive</li><li>Production data</li><li>Reports</li><li><strong>Reservoir Modelling</strong></li><li>Seismic</li><li>Logging Data</li><li>Well technical data</li><li>Drilling Data</li></ul><p>From this list, in this post, we are going to focus on the <strong>Reservoir Modeling </strong>information, to visualize the results in open-source software called ResInsight.</p><h3>Access to Data</h3><p>The first step to access the data is to enter the official Equinor company page (<a href="https://www.equinor.com/en/what-we-do/digitalisation-in-our-dna/volve-field-data-village-download.html">https://www.equinor.com/en/what-we-do/digitalisation-in-our-dna/volve-field-data-village-download.html</a>), and after reading some interesting data about the project, it is possible to go to the data download page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z0r04Vr34SdxrmLFPhmz5w.png" /><figcaption>Official landing page of Equinor Volve dataset (<a href="https://www.equinor.com/en/what-we-do/digitalisation-in-our-dna/volve-field-data-village-download.html">https://www.equinor.com/en/what-we-do/digitalisation-in-our-dna/volve-field-data-village-download.html</a>).</figcaption></figure><p>To access the data it is necessary to click on the button, as indicated in the image below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XH7Q1oNWDXD0qtS5KAnoaw.png" /><figcaption>Click on “Go to the Volve dataset.data.equinor.com” button.</figcaption></figure><p>This page will lead to another window, in which it is necessary to select the LOG IN B2C option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uw9-oshOVWpSusD_NHbv9g.png" /><figcaption>Click on “LOG IN B2C” button.</figcaption></figure><p>Then, it is necessary to enter your credentials (email, and password). In the case of not having an account, it is necessary to follow the instructions to create an account in the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*6mV8j7UOlfDTtqFmcxIftA.png" /></figure><p>Upon entering, we can have all the data sets that Equinor has collected and made available to everyone over the last few years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ab65Y04xZmIIQyPABc7UXw.png" /></figure><p>At the bottom of the page we can find the data set for the Volve field, on which we click.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmD1l5mqFFoznIgweonnzQ.png" /><figcaption>Click on the ”Volve Data Village” section.</figcaption></figure><p>We must read and accept the disclaimer of the data, where it is stated that we cannot make commercial use of them. We accept, clicking on the <strong>Submit</strong> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*PRO4d7unDRhuG7uzjWsXQA.png" /></figure><p>Finally, the page generates a URL link, which is unique and non-transferable, and that we are going to use in the Windows Azure Store Explorer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5esqvqjJYaeak8jT59z5ow.png" /></figure><p>With this step, we finish the first section of this post series.</p><h3>Summary</h3><p>I n this first post we review a brief information regarding the Volve field, as well as create a user account for the system to generate a URL link, which we will use in <a href="https://roderickperez.medium.com/download-azure-storage-explorer-and-connect-to-volve-database-part-ii-73894aaeb2c2">Part II</a> of this series, in order to visualize the simulation data field reservoir.</p><p>In the next post (<a href="https://roderickperez.medium.com/download-resinsight-and-load-volve-dataset-part-iii-c6c7ad028ce2">Part III</a>), we will continue with the process of downloading and installing Windows Azure Storage Explorer, and using the URL link in this section we will be able to access the data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1285529488b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>