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

Adjusting velocity using cyclic bc's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2012, 10:08
Default Adjusting velocity using cyclic bc's
  #1
New Member
 
Gregory N de Boer
Join Date: Dec 2011
Posts: 12
Rep Power: 14
gregdB is on a distinguished road
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
gregdB is offline   Reply With Quote

Reply

Tags
cyclic, openfoam 2.0.x


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
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


All times are GMT -4. The time now is 21:37.