[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:12:14 CST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170103/0ff33990/attachment.html>


More information about the Nek5000-users mailing list