CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Cyclic Boundary Condition with unstructured grid

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

LinkBack Thread Tools Display Modes
Old   November 6, 2008, 07:17
Default Hi, I'm new to OpenFOAM and
New Member
Christoph Scheit
Join Date: Mar 2009
Posts: 2
Rep Power: 0
chris_scheit is on a distinguished road

I'm new to OpenFOAM and would like to know how to set up a simulation which uses periodic boundary condition for the side walls. I have an unstructured grid generated by ICEM and convert this with starToFoam.
I would be thankfull for any help. Maybe there is already a tutorial case for unstructured meshes and periodic b.c.?

Thanks in advance,

chris_scheit is offline   Reply With Quote

Old   November 7, 2008, 20:07
Default Hello Christoph, You might
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 15
mbeaudoin will become famous soon enough
Hello Christoph,

You might want to give it a try using the cgnsToFoam converter we have uploaded on openfoam-extend.

One of the test cases (test1) that comes with the converter source code is based on a CGNS to OpenFOAM conversion using a CGNS file generated from ICEM.

Another test (test3) case shows how the cgnsToFoam converter can deal with periodic BCs.

In order to retrieve the source code for the CGNS converters, simply refer to this thread on the Forum:

mbeaudoin is offline   Reply With Quote

Old   March 30, 2010, 11:33
New Member
Michael Buchmayr
Join Date: Mar 2010
Posts: 16
Rep Power: 9
MichiB is on a distinguished road
Hello guys,

I'm trying to convert a cgns-file, that I obtain from my own tailor-maid asciiToCgns converter, to OpenFOAM.
I've got simple 1To1-Interfaces in it, and periodic 1To1-Interfaces.

The 1To1-Interfaces do not appear in OF after conversion. I guess OF stiches them together automatically, without introducing a new bc patch in <boundary>.

As for the periodic interfaces, I consulted Martin's test3 for cgnsToFOAM, and tried the following line:

cgnsToFoam ../../../../result.cgns -cyclicRotZ 60.0 -matchCyclicBC 1To1_INTERFACE_10A:1To1_INTERFACE_10B

Which doesn't work.

What disturbs me is that I have already put the variables rotCentre(0,0,0) and rotAngle(0,0,1.047) in my cgns-converter.

I would like to have an adfviewer-glimpse at the mesh.cgns file, that should be part of the <test2> tutorial directory, but when I do a svn-checkout, the tutorial doesn't contain the cgns-file.

Can you tell me where I can get that file from?
Do you have an idea of what I may do wrong?

Thanks - Michi
MichiB is offline   Reply With Quote

Old   March 30, 2010, 11:57
Default you can use fluent3DmshTofoam
Senior Member
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 308
Rep Power: 11
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
I out put fluent .msh file from ICEM ,but before that you may need re-order the face element of periodic boudary
waynezw0618 is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 12:23
Cyclic jump boundary condition hjasak OpenFOAM Running, Solving & CFD 10 April 16, 2010 15:35
Cyclic boundary condition qtian OpenFOAM Running, Solving & CFD 3 November 12, 2008 22:23
Cyclic Boundary Condition SG Siemens 0 June 1, 2008 14:56
periodic Boundary Condition for unstructured grid MLJ Main CFD Forum 2 June 16, 2000 05:57

All times are GMT -4. The time now is 14:40.