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

Lid driven cavity problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2012, 00:59
Default Lid driven cavity problem
  #1
New Member
 
Aniket Sachdeva
Join Date: Mar 2012
Posts: 22
Rep Power: 14
thegodfather is on a distinguished road
I'm trying to develop a finite volume stream function vorticity based solver for a lid driven cavity problem.. I want to use first order upwind scheme for discretization of the advection term... But to use it, the direction of velocities at all cell faces are to be known before hand... How do I incorporate this in my code? Plus, how do I determine the values of velocities at cell faces from cell centre velocities? Is it ok to do linear interpolation for that?
thegodfather is offline   Reply With Quote

Old   December 2, 2012, 05:37
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,760
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
you can use linear interpolation, for example for a generic transport equation, the flux component along x writes

u_face_west = 0.5*(u(i-1,j)+u(i,j))
u_plus = 0.5*(u_face+|u_face|)
u_minus = 0.5*(u_face-|u_face|)
flux_west = u_plus*Phi(i-1,j) + u_minus*Phi(i,j)
FMDenaro is offline   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
Lid Driven Cavity 3D Mathias Krause Main CFD Forum 5 October 17, 2006 07:34
lid driven cavity perumal Main CFD Forum 0 August 31, 2006 02:13
lid driven cavity ani Main CFD Forum 3 April 2, 2006 14:27
2D Driven square cavity problem rvndr Main CFD Forum 6 February 25, 2004 11:35
Driven cavity problem Mukhopadhyay Main CFD Forum 4 May 26, 2001 06:22


All times are GMT -4. The time now is 08:05.