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

stream function & vorticity boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2011, 12:45
Default stream function & vorticity boundary condition
  #1
New Member
 
sara
Join Date: Mar 2011
Posts: 7
Rep Power: 0
sara2115 is on a distinguished road
HI everyone.
I've wrote a code to simulate velocity field over a square cylinder.
I've used vorticity-stream function solver at 0 angle of attack.(not immersed)
but now I don't know how to specify outflow boundary condition for different angles of attack.
I used a rectangular as my domain.
please help me.
thank you for reading my thread.
sara2115 is offline   Reply With Quote

Old   December 5, 2011, 10:10
Default
  #2
Senior Member
 
Andrew
Join Date: Mar 2009
Location: Washington, DC
Posts: 211
Rep Power: 18
mettler is on a distinguished road
I did this for a finite difference method (except I did flow over a step). My exit boundary condition was @x=L, Streamfunction(@x=L) = Streamfunction(@x=L-1). I did this based on assuming that the flow after the step was fully developed and not changing. My vorticity BC was the same. The results were good.
mettler is offline   Reply With Quote

Old   December 6, 2011, 11:53
Default
  #3
New Member
 
sara
Join Date: Mar 2011
Posts: 7
Rep Power: 0
sara2115 is on a distinguished road
Quote:
Originally Posted by mettler View Post
I did this for a finite difference method (except I did flow over a step). My exit boundary condition was @x=L, Streamfunction(@x=L) = Streamfunction(@x=L-1). I did this based on assuming that the flow after the step was fully developed and not changing. My vorticity BC was the same. The results were good.
Thank you for your reply Mettler.
but in my case I have vortex shedding which makes it more complicated.
By the way, did free stream velocity have an angle of attack in your case? or it was simply horizontal?
sara2115 is offline   Reply With Quote

Old   December 6, 2011, 12:08
Default
  #4
Senior Member
 
Andrew
Join Date: Mar 2009
Location: Washington, DC
Posts: 211
Rep Power: 18
mettler is on a distinguished road
it had no angle of attack, but why can't you extend the rectangular grid long enough to where the vortex shedding has dissipated and the flow is fully developed?
mettler is offline   Reply With Quote

Old   December 7, 2011, 18:42
Default
  #5
New Member
 
sara
Join Date: Mar 2011
Posts: 7
Rep Power: 0
sara2115 is on a distinguished road
Quote:
Originally Posted by mettler View Post
it had no angle of attack, but why can't you extend the rectangular grid long enough to where the vortex shedding has dissipated and the flow is fully developed?
Dear Mettler.
Well, I did so.
but still there are lot's of problems.
for example, even if the flow behind the cylinder is fully developed, it still has its angle of attack, so I can't impose the boundary condition you used for outflow.
there are other difficulties in dealing with far field boundaries.
thank you for your reply.
sara2115 is offline   Reply With Quote

Reply


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
vorticity stream function method ztdep Main CFD Forum 0 April 15, 2010 11:17
How to apply a function as boundary condition coompressor OpenFOAM Running, Solving & CFD 0 January 13, 2009 04:50
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 07:38.