CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] failed to impose cyclic BCs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2022, 13:45
Default failed to impose cyclic BCs
  #1
Member
 
Join Date: May 2010
Posts: 74
Rep Power: 16
hewei is on a distinguished road
Dear all,

I am trying to run a channel LES simulation. The channel mesh is generated by gmsh. the front and back are defined as periodic BCs. First I define the cyclic directly in boundary file, but the output shows wrong, as you can see the result.

Then I created the cyclic boundary using createPatch, and I have a new boundary file. However the results still not periodic. I am using v2112.

Thanks!

hewei

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

5
(
inlet
{
type patch;
physicalType patch;
nFaces 120;
startFace 15090;
}
topAndBottom
{
type patch;
physicalType patch;
nFaces 900;
startFace 15210;
}
outlet
{
type patch;
physicalType patch;
nFaces 120;
startFace 16110;
}
front
{
type cyclic;
inGroups 1(cyclic);
nFaces 540;
startFace 16230;
matchTolerance 0.001;
transform unknown;
neighbourPatch back;
}
back
{
type cyclic;
inGroups 1(cyclic);
nFaces 540;
startFace 16770;
matchTolerance 0.001;
transform unknown;
neighbourPatch front;
}
)

// ************************************************** *********************** //
Attached Images
File Type: png result.png (166.9 KB, 4 views)
File Type: png topView.png (78.3 KB, 3 views)
hewei is offline   Reply With Quote

Reply


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
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 sam.ho OpenFOAM Installation 35 April 5, 2014 16:31
simpleFoam with cyclic BCs Ria OpenFOAM 4 October 21, 2013 10:28
Problems with Cyclic & init. BCs for turbulent (k-eps) pipe flow florian_krause OpenFOAM 3 December 1, 2012 05:11
cyclic patch and other BCs zxj160 OpenFOAM 0 June 29, 2012 13:11
[mesh manipulation] Trying to build cyclic BCs on internal faces DrDan OpenFOAM Meshing & Mesh Conversion 1 March 16, 2012 00:38


All times are GMT -4. The time now is 00:57.