CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Cyclic Boundary Condition (http://www.cfd-online.com/Forums/openfoam-solving/92252-cyclic-boundary-condition.html)

Asgarian September 7, 2011 16:33

Cyclic Boundary Condition
 
Hi,

Does anybody know how one can employ the cyclic boundary condition combined with another constraint in OpenFOAM?
The whole idea is that I want to solve fully developed flow in a pipe but I don't want to model whole developing and fully developed regions. If I can use cyclic boundary condition for inlet and outlet boundaries of short pipe while maintaining the fixed flow rate then the short pipe will also work for me :).

Tanx

chegdan September 9, 2011 11:59

Quote:

If I can use cyclic boundary condition for inlet and outlet boundaries of short pipe while maintaining the fixed flow rate then the short pipe will also work for me.
Not sure if this is what you're looking for, but take a look at channelFoam. It is a solver for channel flow that allows you to fix the flow rate through the domain that has cyclic BC's. Hope this helps.

Dan

Asgarian September 9, 2011 16:44

Hi Dan,

Thanks for your suggestion. I will definitely dig into channel flow solver.
The other way around that I just figured out last night is to use the directMaped boundary condition. I found an example in the following tutorial:
~/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped
Using this boundary condition the user can mapp the velocity field on the downstream plate to the inlet boundary and eventually simulate the infinite channel.
However, I am still looking to find an example for directMappedFlowRate boundary condition which I assume to be the most appropriate one for my case.
I would be happy if someone introduce an example.

Ali

Tarak December 29, 2011 20:45

Hii,

You can give cyclic boundary conditions by using the createPatchDict file, which you have to place inside the systems directory. Refer to http://www.cfd-online.com/Forums/ope...eatepatch.html for further details.

Thanks,
Tarak


All times are GMT -4. The time now is 04:01.