<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>You may want to ask the author of the tool. This converter is not part of the Nek5000 project.</div><div><br>On 3 Jan 2017, at 14:15, "<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>" <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)">Hi all,</pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)"><br></pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)">I want to convert openfoam mesh to nek5000. As the readme file says, the following scripts should be changed to the other one. May I know why the inlet and outlet types changed to be v and O, respectively?</pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)"><br></pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)">wall
    {
        type            wall;
        nFaces          2400;
        startFace       88300;
    }
    inlet
    {
        type            <b style="background-color:rgb(255,0,0)">patch;</b>
        nFaces          500;
        startFace       90700;
    }
    outlet
    {
        type            <b style="background-color:rgb(255,0,0)">patch;</b>
        nFaces          500;
        startFace       91200;
    }

Because foamToNek will read the boundary condition type in this file. Please change the boundary file to:

  wall
    {
        type            W;
        nFaces          2400;
        startFace       88300
    }
    inlet
    {
        type            <b style="background-color:rgb(255,0,0)">v;</b>
        nFaces          500;
        startFace       90700;
    }
    outlet
    {
        type            <span style="background-color:rgb(255,0,0)"><b>O;</b></span>
        nFaces          500;
        startFace       91200;
    }</pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)"><br></pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)">Kind regards,</pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)"><br></pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)">Jian</pre></div>
<pre>_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
</pre></div></blockquote></body></html>