CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Cyclic (Periodic) Boundary Condition

Register Blogs Members List Search Today's Posts Mark Forums Read

In this blog, quick reference notes about OpenFOAM are posted in a form of a summary to address a specific topic per post, which I think could be helpful as a reminder for my Alzheimer condition
Rate this Entry

Cyclic (Periodic) Boundary Condition

Posted April 11, 2012 at 16:57 by Hisham
Updated April 12, 2012 at 06:12 by Hisham

OF V.2.x
Cyclic (periodic) boundary condition is used to model repetitive geometries by joining two patches as if they were physically attached to each other!
The "simplest" way to apply a cyclic BC is to have two patches that are identical and define them in the ./constant/polyMesh/boundary as:
Code:
 RightPatch
    {
        type            cyclic;
        nFaces          49;
        startFace       9506;
        neighbourPatch  LeftPatch;
    }

LeftPatch
    {
        type            cyclic;
        nFaces          49;
        startFace       9604;
	neighbourPatch  RightPatch; 
    }
In other time folders for any variable (e.g. U):

Code:
 RightPatch
    {
        type            cyclic;
    }
    LeftPatch
    {
        type            cyclic;
    }
The foamUpdateCyclics utility splits BCs of the aforementioned style to split the cyclic boundaries like the tutorial /tutorials/incompressible/channelFoam/channel395
Posted in Uncategorized
Views 625 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

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