CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Help with cyclic boundary condition needed (https://www.cfd-online.com/Forums/openfoam-solving/236437-help-cyclic-boundary-condition-needed.html)

Clau.77 May 30, 2021 09:18

Help with cyclic boundary condition needed
 
2 Attachment(s)
Hey guys!


as you can see in the attached snapshots, i have have a tray filled with Schokolate inside a windtunnel. In the real windtunnel, there are 3 of these trays on top of each other. So basically where the upper and lower wall is, would actually start another tray.

I want to use the cyclic boundary condition, but i have some problems with it. I tried changing the boundary file but I am confused about some entries, for example the "separation vektor" and the "matchTolerance" one.



My boundaryFile looks like this:

Code:

7
(
    inlet
    {
        type            patch;
        nFaces          1350;
        startFace      2606557;
    }
    outlet
    {
        type            patch;
        nFaces          1350;
        startFace      2607907;
    }
    walls
    {
        type            wall;
        inGroups        List<word> 1(wall);
        nFaces          23802;
        startFace      2609257;
    }
    upperWall
    {
        type            cyclic;
        inGroups        List<word> 1(cyclic);
        nFaces          9000;
        startFace      2633059;

        matchTolerance 0.001;  //?
        transform translational;
        neighbourPatch lowerForm;
      separationVector (0 0 0);    //?

    }
    wallsForm
    {
        type            wall;
        inGroups        List<word> 1(wall);
        nFaces          53516;
        startFace      2642059;
    }
    lowerForm
    {
        type              cyclic;
        inGroups        List<word> 1(cyclic);
        nFaces          60900;
        startFace      2695575;
        matchTolerance 0.001;
        transform translational;
        neighbourPatch upperWall;
        separationVector (0 0 0);
    }
    Schokolade
    {
        type            wall;
        inGroups        List<word> 1(wall);
        nFaces          38520;
        startFace      2756475;
    }
)

Does someone have an idea how to use the cyclic BC in my case?


All times are GMT -4. The time now is 09:53.