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

streamfunction-vorticity

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2000, 06:36
Default streamfunction-vorticity
  #1
Christophe
Guest
 
Posts: n/a
Dear all,

I want to develop a simple streamfunction-vorticity code operating in a rectangular domain (chanel).

If you have experience with such things, in particular with inflow/outflow boundary conditions please share your knowledge with me.

If you have experience in general with inflow/outflow boundary conditions, please also share your knowledge with me.

many thanks,

Christophe
  Reply With Quote

Old   August 21, 2000, 12:08
Default Re: streamfunction-vorticity
  #2
John C. Chien
Guest
 
Posts: n/a
(1). Since it is a channel flow, the outflow condition can be used at the exit, that is zero gradient of all variables. The first order method would be VARI(i=imax,j)=VARI(i=imax-1,j) for j=1 to jmax (1). (2).For the inlet conditions, you can specify the velocity profile (uniform or non-uniform), and calculate the vorticity and streamfunction based on the definition there. (by differentiation and integration).
  Reply With Quote

Old   August 21, 2000, 12:33
Default Re: streamfunction-vorticity
  #3
Christophe
Guest
 
Posts: n/a
Hello John,

thank you for your help. I have heard that zero gradient is only a very basic method, that why you call it first order?

In fact it is not quite a channel flow I am doing. I will use FFT in the cross-streamwise direction, so it is a two-pi periodic domain along this one.

In the streamwise direction I will use finite differences just because I want to have an open domain problem, this is the point of my modelling effort.

I know all variables at the inlet, but I have read that one usually does not specify all variables there, rather one variable is left to fluctuate and is computed self-consistently from the numerical scheme being used.

Christophe
  Reply With Quote

Old   August 21, 2000, 12:59
Default Re: streamfunction-vorticity
  #4
John C. Chien
Guest
 
Posts: n/a
(1). The downstream condition I mentioned is first order, because you can also use three-point formula to get the same zero gradient condition. So, it is first order two point formula. (2). In stream function-vorticity formulation, you have two variables and two governing equations, therefore, you have to specify both the stream function and the vorticity there. The same is true for the downstream condition. The velocity in this case is just the intermediate variable. It is always derived from the current stream function. (3). I guess you are free to do your own experiments in setting the boundary conditions. It is only my suggestion.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem of streamFunction in buoyantBoussinesqSimpleFoam jignesh_thaker2007 OpenFOAM 5 July 9, 2019 06:58
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 12:32
UDF for streamfunction nisha Fluent UDF and Scheme Programming 0 September 15, 2009 07:55
vorticity calculation at symmetryplane benconnell OpenFOAM 0 April 14, 2009 19:45
Vorticity Iso-Surface John Main CFD Forum 0 April 5, 2009 00:10


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