<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="Using Multiflash|Exchanging data with other programs" MadCap:medium="non-print" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-ca" xml:lang="en-ca" MadCap:PathToHelpSystem="../../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <!-- saved from url=(0016)http://localhost -->
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Exporting OLGA files</title>
        <link href="../../SkinSupport/Slideshow.css" rel="stylesheet" MadCap:generated="True" />
        <link href="../../SkinSupport/MadCap.css" rel="stylesheet" MadCap:generated="True" />
        <link href="../../Resources/Stylesheets/mfwman.css" rel="stylesheet" />
        <script src="../../SkinSupport/jquery.min.js">
        </script>
        <script src="../../SkinSupport/MadCapAll.js">
        </script>
        <script src="../../SkinSupport/MadCapTopicAll.js">
        </script>
    </head>
    <body>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><span class="MCBreadcrumbsSelf">Using Multiflash</span><span class="MCBreadcrumbsDivider"> &gt; </span><a class="MCBreadcrumbsLink" href="ExchangingData.htm">Exchanging data with other programs</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Exporting OLGA files</span>
        </div>
        <h1><a name="kanchor113"></a>Exporting OLGA files</h1>
        <p class="para">Multiflash exports a file containing all the physical property data required by OLGA. The format of the exported file is keyword-based and the data consists of a set of flash calculations performed at a series of pressure and temperature values. The information exported includes all the properties required by OLGA for either two-phase or three-phase problems. </p>
        <p class="caption">To generate the export file:</p>
        <ol>
            <li class="listnum" value="1">
                <p>Specify your model and fluid composition in the usual way.</p>
                <p>
                    <SPAN class="emphasisbold">Requirement: </SPAN>The model specified for your fluid must include models for surface tension and viscosity.</p>
            </li>
            <li class="listnum" value="2">On the <SPAN class="GUI">Import/Export </SPAN>ribbon, click <SPAN class="GUI">PVT Tables</SPAN>.</li>
            <li class="listnum" value="3">
                <p>Click the <MadCap:conditionalText MadCap:conditions="Default.ExportOLGAonly"><SPAN class="GUI">OLGA </SPAN></MadCap:conditionalText>tab.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../Resources/Images/exportToOlga.png" MadCap:popupWidth="508" MadCap:popupHeight="653" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../Resources/Images/exportToOlga_thumb_500_0.png" style="width: 500px;height: 643px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="4">
                <p>Enter an export file name, by typing or using the <SPAN class="GUI">Browse </SPAN>button.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>Use a file extension of .<MadCap:conditionalText MadCap:conditions="Default.ExportOLGAonly">tab</MadCap:conditionalText>. If you do not use the the Browse button, the file is saved in the folder specified for PVT export files.</p>
                <p style="font-style: normal;" MadCap:conditions="Default.ExportOLGAonly">
                    <SPAN class="emphasisbold">Tip: </SPAN> The option <i>Append to existing file</i> can be used to append a new PVT table to a file that already has previously calculated OLGA PVT&#160;tables.</p>
            </li>
            <li class="listnum" value="5">
                <p>Optionally, specify a fluid ID.</p>
                <p MadCap:conditions="Default.ExportOLGAonly">
                    <SPAN class="emphasisbold">Tip: </SPAN>If you do not enter an ID, Multiflash generates one automatically. The ID must start with a letter.</p>
            </li>
            <li class="listnum" MadCap:conditions="Default.ExportOLGAonly" value="6">Before generating the OLGA table, the fluid can be modified and a Water Analysis can be added. This follows the same procedure as the <a href="../WorkingWithHydrates/AddingInhibitors.htm">Inhibitor calculator</a>. Several tables can be generated using different compositions for the aqueous phase without modifying the original composition.</li>
            <li class="listnum" MadCap:conditions="Default.ExportOLGAonly" value="7">The OLGA&#160;flow simulator relies on the fact that tables contain properties for non existing phases.  Since Multiflash 6.1 a new extrapolation method is available, which is enabled by default. If you prefer to use the old method, uncheck the <b>Advanced Extrapolation</b> option. The new advanced extrapolation method directly extrapolates from the point where the phase exists to ensure continuity of the property values. The previous method did not fully ensure continuity for some fluids with sudden property changes at the phase boundaries. </li>
            <li MadCap:conditions="Default.ExportOLGAonly" class="listnum" value="8">
                <p>To output an OLGA&#160;hydrate file, which defines the boundary of the hydrate forming region, enter a file name for the <SPAN class="GUI">Hydrate Table </SPAN>by typing or using the <SPAN class="GUI">Browse </SPAN>button.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>Use a file extension of .hyd. If you do not use the the Browse button, the file is saved in the folder specified for PVT export files.</p>
                <p>
                    <SPAN class="emphasisbold">Requirement: </SPAN>You must have specified the hydrate model and one or more hydrate phases to output a hydrate file.</p>
            </li>
            <li MadCap:conditions="Default.ExportOLGAonly" class="listnum" value="9">
                <p>To output an OLGA&#160;wax file, which defines the paraffin wax precipitation, enter a file name for the <SPAN class="GUI">Wax Table </SPAN>by typing or using the <SPAN class="GUI">Browse </SPAN>button.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>Use a file extension of .wax. If you do not use the the Browse button, the file is saved in the folder specified for PVT export files.</p>
                <p>
                    <SPAN class="emphasisbold">Requirement: </SPAN>You must have specified the wax model and wax phase to output a wax file.</p>
            </li>
            <li class="listnum" MadCap:conditions="Default.ExportPIPESIMonly,Default.ExportOLGAonly" value="10">
                <p>For each temperature and pressure at which you want to generate data for the export file, enter the values into the table.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>The values are used to generate a grid of points comprising each temperature at each pressure. For example, when you enter three temperatures and four pressures, you generate twelve points.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>Use <SPAN class="GUI">Add equidistant points </SPAN>to generate a regular grid of points. Enter a start and end value for each variable, and the number of points to generate for each variable. For example, enter 50, 250, 5 for temperature (°C), and 10, 100, 10 for pressure (bar), to generate 50 sets of data, the five temperatures 50, 100, 150, 200 and 250 °C, each at a pressure of 10, 20, 30, 40, 50, 60, 70, 80, 90 and 100 bar.</p>
            </li>
            <li class="listnum" value="11">
                <p>If required, click <SPAN class="GUI">Units </SPAN>to change the temperature and pressure units used.</p>
                <p>
                    <SPAN class="emphasisbold">Restriction: </SPAN> You cannot specify the units for the output data. Multiflash outputs the data with the units required  by <MadCap:conditionalText MadCap:conditions="Default.ExportOLGAonly">OLGA</MadCap:conditionalText>.</p>
            </li>
            <li class="listnum" value="12">Click <SPAN class="GUI">Calculate Table</SPAN>.</li>
            <li class="listnum" MadCap:conditions="Default.ExportOLGAonly" value="13">When the OLGA&#160;table is created, you have the option to load it in the PVT&#160;table viewer for inspection.</li>
            <li class="listnum" value="14">If required, the <SPAN class="GUI">Clear</SPAN> button can be used to restart the data input.</li>
        </ol>
        <p class="reltopimg" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/reltop.gif" />
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="../../Configuration/SpecifyingFolderLocations.htm">Specifying folder locations</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="../../Configuration/SpecifyingUnitsDuringSession.htm">Specifying units during a session</a>
        </p>
        <p class="page_footer">© 2015 <span class="VariablesCompanyName">KBC Advanced Technologies ltd</span>. All rights reserved.</p>
        <script type="text/javascript" src="../../SkinSupport/MadCapBodyEnd.js">
        </script>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkBottom"><a href="../../../Default_CSH.htm#Using_Multiflash/ExchangingData/OLGAFiles.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>