<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>