|
[Sponsors] |
January 8, 2021, 18:00 |
Doubt about cyclic boundary condition
|
#1 |
New Member
Pedro Felix
Join Date: Oct 2019
Posts: 3
Rep Power: 7 |
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); } ) // ************************************************************************* // |
|
Tags |
bounday conditions, cyclic boundary |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |