|
[Sponsors] |
December 2, 2012, 00:59 |
Lid driven cavity problem
|
#1 |
New Member
Aniket Sachdeva
Join Date: Mar 2012
Posts: 22
Rep Power: 14 |
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?
|
|
December 2, 2012, 05:37 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
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) |
|
|
|
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 |