[Nek5000-users] convert openfoam mesh to nek5000

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Jan 3 05:39:51 CST 2017


Jian,

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


On Jan 3, 2017, at 6:12 AM, nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov> wrote:


Hi all,


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?


wall
    {
        type            wall;
        nFaces          2400;
        startFace       88300;
    }
    inlet
    {
        type            patch;
        nFaces          500;
        startFace       90700;
    }
    outlet
    {
        type            patch;
        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            v;
        nFaces          500;
        startFace       90700;
    }
    outlet
    {
        type            O;
        nFaces          500;
        startFace       91200;
    }


Kind regards,


Jian

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov<mailto:Nek5000-users at lists.mcs.anl.gov>
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170103/d1304d75/attachment-0001.html>


More information about the Nek5000-users mailing list