|
[Sponsors] |
January 25, 2012, 10:08 |
Adjusting velocity using cyclic bc's
|
#1 |
New Member
Gregory N de Boer
Join Date: Dec 2011
Posts: 12
Rep Power: 14 |
Hi all,
I have a question about the implementation of cyclic bc's using OpenFOAM. I have a very simple case which is that of a non-conformal pipe geometry where flow is driven by a moving wall. The inlet of the pipe is smaller than at outlet but there is the same number of nodes on both faces. I have been able to apply the fan bc such that there is a pressure change across my domain whilst the other field variables are modeled as true periodic (where the outlet and inlet are equal in size). But I wish to scale the velocity at outlet according to the distance between corresponding nodes on the inlet. That is: Inlet: p = p1 (calculated from the cyclic condition) U = U1 (calculated from the cyclic condition) Outlet: p = p1+dp (dp is specified) U = U1*(y2/y1) (y2/y1 is the scale factor) I have been unable to find any derived class of the cyclic bc which seems capable of modeling this condition. Can anyone suggest how I may be able to implement such a condition? I have already looked into groovyBC but because it is a patch type rather than cyclic the solver does not maintain periodicity as required. Another solution to my problem would be to transform unit vectors in the governing equations. But I doubt this can be done easily? Any help with any of this would be much appreciated. Cheers, Greg |
|
Tags |
cyclic, openfoam 2.0.x |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cyclic bc. and overlapGgi | Pekka | OpenFOAM | 12 | February 15, 2012 08:10 |
Cyclic BCs using createPatch in OF 1.6.x | SunnyPP | OpenFOAM | 2 | August 6, 2010 11:21 |
how to compute relative velocity from absolute? | spk | Main CFD Forum | 3 | July 9, 2010 09:42 |
Velocity in Porous medium : HELP! HELP! HELP! | Kali Sanjay | Phoenics | 0 | November 6, 2006 07:10 |
Transient Velocity BCs | Chris Morgan | Main CFD Forum | 1 | May 13, 1999 16:19 |