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

Problem with Lid driven cavity collocated grid SIMPLE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2021, 03:44
Smile Problem with Lid driven cavity collocated grid SIMPLE
  #1
New Member
 
Gao Shangya
Join Date: Oct 2021
Posts: 18
Rep Power: 4
Harlotte is on a distinguished road
Hello everyone,
I am trying to write code about 2D Lid driven cavity in collocated grid with SIMPLE algorithm in MATLAB.

I have tried to write code in staggered grid with SIMPLE and it is sucessful.

But in the collocated, I run the code and the values seem not to be convergent.
I discretize the governing equations with FVM and interpolate using the first-order upwind method.
I follow the steps in the book about the collocated grid SIMPLE but it doesn't work.
I also check my code with the flow chart by @Freewill1 Link:Problematic lid-driven cavity using SIMPLE on collocated grid.
It seems my code is logical correct but it can't run well.

I hope someone can take a look at my code and help me point out my errors.

Thank you!
Attached Files
File Type: zip collocatedgridtest.zip (1.6 KB, 7 views)
Harlotte is offline   Reply With Quote

Reply

Tags
cfd, matlab, matlab code, simple algorithm


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
code for SIMPLE algorithm - 2D Lid driven cavity flow problem - Collocated grid h_amooie OpenFOAM Programming & Development 1 January 22, 2022 11:33
Problem Encountered inLid Driven Cavity in Finite Volume Method with SIMPLE Algorithm Abdels83 Main CFD Forum 3 July 4, 2015 11:17
LId driven cavity problem neralkar Main CFD Forum 0 December 4, 2013 14:31
SIMPLE based FVM lid driven cavity convergence problem akin Main CFD Forum 1 June 16, 2012 07:53
Lid driven cavity flow KK FLUENT 1 December 16, 2009 18:10


All times are GMT -4. The time now is 09:24.