|
[Sponsors] |
Problem Encountered inLid Driven Cavity in Finite Volume Method with SIMPLE Algorithm |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 3, 2015, 19:47 |
Problem Encountered inLid Driven Cavity in Finite Volume Method with SIMPLE Algorithm
|
#1 |
New Member
Join Date: Jul 2015
Posts: 2
Rep Power: 0 |
I have written my code in MATLAB and I need help from the forum on where things could be going wrong, my streamline plot appears not to be properly predicted and I am also not getting vortices on the corners of the cavity.
Please find code attached. Please any help with code modification will be appreciated. Thank you. Last edited by Abdels83; July 4, 2015 at 10:44. Reason: I have updated the .m file and the code is now running. I also added the streamline plot for Reynolds number of 100. |
|
July 4, 2015, 07:55 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
your M-file did not run, you have some errors to correct (Lx is not defined when used, normres is not defined, etc)
|
|
July 4, 2015, 10:46 |
|
#3 | |
New Member
Join Date: Jul 2015
Posts: 2
Rep Power: 0 |
Quote:
Many Thanks. |
||
July 4, 2015, 12:17 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
if you are using primitive variables you must debug your solution (u,v,p).
The streamlines are just a post-processing that can be affected by some factors. However, the figure you attached shows a quite regular pattern for Re=100. Use a fine grid (for example 100x100) to ensure Re_h =1 and check the velocity profiles (Ghia&Ghia paper). |
|
Tags |
finite volume method, lid- driven cavity, matlab, simple staggered grid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
formulation of finite element&finite volume method | ravindra | FLUENT | 0 | June 27, 2007 13:04 |
finite difference method for navier-stokes problem | dallybird | Main CFD Forum | 5 | February 17, 2003 23:00 |
tidal flow simulation using finite volume method | Jason Qiu | Main CFD Forum | 0 | October 20, 2002 03:34 |
SIMPLE Algorithm & Conjugate Gradient Method | Abhijit Tilak | Main CFD Forum | 7 | March 20, 2001 01:01 |