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

Boundary Conditions for Lid Driven Cavity case (SIMPLE Algorithm)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2015, 02:44
Default Boundary Conditions for Lid Driven Cavity case (SIMPLE Algorithm)
  #1
New Member
 
Mandeep Deka
Join Date: Jun 2013
Posts: 2
Rep Power: 0
Mandeep Deka is on a distinguished road
Hello

I am trying to write a code for solving a lid driven cavity case in finite volume method by SIMPLE algorithm using a staggered grid. I am slightly confused about the boundary conditions!

Firstly, at the boundary, the pressure gradient normal to the wall is zero. How should I implement this condition? Since there is no discrete pressure equation I am solving, should I consider that the gradient of the pressure correction term near the wall be zero??
(i.e the same condition for pressure correction term as for the pressure term!)

Secondly, are all velocities at the walls considered to be zero (except the u velocity at the top wall of course)? Is it necessary to implement any interpolation technique to obtain the velocity at the grid point near the wall?


Thank you!
Mandeep Deka is offline   Reply With Quote

Old   April 7, 2015, 08:01
Smile Look Buddy
  #2
New Member
 
Biswajit Ghosh
Join Date: Oct 2014
Location: Durgapur, India
Posts: 21
Rep Power: 11
Alisha is on a distinguished road
the answer is as following:

suppose the boundary is as given below

|
|
p_out | p_in
|
then, always set p_out(n) = p_in(n) ------> for nth time step

now for next time step as it need to be p_out(n+1) = p_in(n+1),

it is obvious that the correction term at both side should be equal.

so, I guess now u can solve the poisson equetion easily!






for the second question:


if the velocity is not available in the wall you need interpolation. And for stationary wall the velocities are always 0


still confused? mail me : mebiswajithit@gmail.com
Alisha is offline   Reply With Quote

Reply


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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
Solution of Lid driven Cavity problem using SIMPLE algorithm sasank Main CFD Forum 2 May 20, 2012 09:22


All times are GMT -4. The time now is 13:40.