CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Doubt about cyclic boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2021, 18:00
Question Doubt about cyclic boundary condition
  #1
New Member
 
Pedro Felix
Join Date: Oct 2019
Posts: 3
Rep Power: 7
Pedro Felix is on a distinguished road
Hello guys!!

I'm trying to leave my simulation with the following boundary condition: The fluid that enters the upper part must come out at the bottom, and the fluid that enters the lower part must come out at the top. My simulation is a channel with cylinders inside, as in the attached image.

How do I do that?

My boundary file looks like this and I was wondering if it is correct::

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1912                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "0.5/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

6
(
    inlet
    {
        type            patch;
        nFaces          34;
        startFace       14819;
    }
    frontandback
    {
        type            empty;
        inGroups        1(empty);
        nFaces          2880;
        startFace       14853;
    }
    cylinders
    {
        type            patch;
        nFaces          1398;
        startFace       17733;
    }
    outlet
    {
        type            patch;
        nFaces          34;
        startFace       19131;
    }
    new_top
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          176;
        startFace       19165;
        matchTolerance  0.1;
        transform       translational;
        neighbourPatch  new_bottom;
        separationVector (0 -5 0);
    }
    new_bottom
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          176;
        startFace       19341;
        matchTolerance  0.1;
        transform       translational;
        neighbourPatch  new_top;
        separationVector (0 5 0);
    }
)

// ************************************************************************* //
Sorry for the mistakes I'm not a native English speaker.
Attached Images
File Type: png Screen.png (98.6 KB, 10 views)
Pedro Felix is offline   Reply With Quote

Reply

Tags
bounday conditions, cyclic boundary


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyclic boundary condition in foam-extend 4.0 rellumeister OpenFOAM Pre-Processing 2 March 3, 2020 09:03
Mixing cyclic and wall boundary condition al_th OpenFOAM Pre-Processing 6 September 20, 2019 05:06
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00


All times are GMT -4. The time now is 19:44.