<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Jian,
<div class=""><br class="">
</div>
<div class="">‘v’ and ‘O’ are letters to designate boundary types in Nek5000. ‘v’ is a user defined Dirichlet velocity and ‘O’ is an outflow boundary condition.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 3, 2017, at 6:12 AM, <a href="mailto:nek5000-users@lists.mcs.anl.gov" class="">
nek5000-users@lists.mcs.anl.gov</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<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)" class="">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)" class=""><br class=""></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)" class="">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)" class=""><br class=""></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)" class="">wall
{
type wall;
nFaces 2400;
startFace 88300;
}
inlet
{
type <b style="background-color:rgb(255,0,0)" class="">patch;</b>
nFaces 500;
startFace 90700;
}
outlet
{
type <b style="background-color:rgb(255,0,0)" class="">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)" class="">v;</b>
nFaces 500;
startFace 90700;
}
outlet
{
type <span style="background-color:rgb(255,0,0)" class=""><b class="">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)" class=""><br class=""></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)" class="">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)" class=""><br class=""></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)" class="">Jian</pre>
</div>
_______________________________________________<br class="">
Nek5000-users mailing list<br class="">
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" class="">Nek5000-users@lists.mcs.anl.gov</a><br class="">
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>