CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Lid driven cavity problem

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

LinkBack Thread Tools Display Modes
Old   December 2, 2012, 00:59
Default Lid driven cavity problem
New Member
Aniket Sachdeva
Join Date: Mar 2012
Posts: 22
Rep Power: 7
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
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,644
Rep Power: 41
FMDenaro 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


Thread Tools
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 On
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 06:34
lid driven cavity perumal Main CFD Forum 0 August 31, 2006 01:13
lid driven cavity ani Main CFD Forum 3 April 2, 2006 13: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 05:22

All times are GMT -4. The time now is 20:49.