# 2D Lid Driven Cavity Problem in C

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

 April 17, 2014, 11:13 2D Lid Driven Cavity Problem in C #1 New Member   Sathya Narayanan Join Date: Apr 2014 Posts: 16 Rep Power: 4 Hi everybody, I've been trying to solve the 2D Lid Driven cavity problem in C using SIMPLEC algorithm. I'm able to attain a converged solution but not Benchmark solutions for the given Reynolds number. Can anyone help me in correcting the Bug, or identify the problem in my Code. V-Velocity.jpg U-Velocity_RNO100.jpg C Code.txt

 April 19, 2014, 09:03 more information would be helpful #2 Senior Member   Troy Snyder Join Date: Jul 2009 Location: Akron, OH Posts: 133 Rep Power: 10 It would be helpful if you could elaborate on the code (finite difference vs. finite volume, staggered vs. cell-centered variable arrangement, method of convective flux discretization, method of gradient computation etc.). Additionally, if you could narrow down possible locations in the code that are more suspect than others, that would be helpful. Also, it would be helpful if you could show the velocity and pressure fields following one single outer iteration and without the first velocity correction applied. Please also include the color legends on your contour plots.

 April 19, 2014, 09:49 Details #3 New Member   Sathya Narayanan Join Date: Apr 2014 Posts: 16 Rep Power: 4 I'm Using FVM for calculation. I've attached an Paint image of how i've discretized the Central and Staggered Meshes. I've used SOR (TDMA + Gauss Seidal Method) to solve for U- Velocity, V- Velocity and Pressure corrections. I've used the power law scheme to calculate the coefficients. I've previously solved Convection Diffusion equations using the same scheme and have obtained the benchmark solutions. And I've used Node based Computation. So I suspect the errors to be in the pressure correction part or Velocity correction part or the way I iterate. Grid.png And thank you very much for the quick response mate !

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Orkun Main CFD Forum 2 March 3, 2013 17:07 perumal Main CFD Forum 0 August 31, 2006 01:13 ani Main CFD Forum 3 April 2, 2006 13:27 rvndr Main CFD Forum 6 February 25, 2004 11:35 Mukhopadhyay Main CFD Forum 4 May 26, 2001 05:22

All times are GMT -4. The time now is 17:42.