|
[Sponsors] |
April 3, 2015, 10:41 |
Hello
|
#61 |
New Member
deewakar
Join Date: Dec 2011
Posts: 18
Rep Power: 15 |
Hi Hou
I have sent you a mail. Thanks |
|
April 3, 2015, 10:44 |
|
#62 |
Member
Prasanth P
Join Date: May 2009
Posts: 30
Rep Power: 17 |
I have used SIMPLE long back and so I am not familiar with the details. The pressure outflow boundary conditions can be tricky. Incase of divergence of the poisson solver I would recommend that you validate your code for the simple lic driven cavity case where the velocity and pressure boundary conditions are well defined. Your pressure boundary conditions seems to be okay, there could be a typo in your code.
Does it blow up in the very first time step? You could add the mass deficit term to the velocity boundary and set dp/dn=0 at the out flow boundary. This is what is done in fractional step method. And dont set your v velocity outflow as zero, set it as dv/dn=0. v=0 should be an outcome and not something that you impose at the outflow. |
|
April 3, 2015, 10:49 |
|
#63 | |
New Member
deewakar
Join Date: Dec 2011
Posts: 18
Rep Power: 15 |
Quote:
if I set dv/dn =0 , this will imply dv/dx =0 for 2D flow. But from where this condition arises.? If I am not wrong then du/dx=0 from no stress and then I will get dv/dy=0 from continuity. But from where I will get dv/dx=0. when solving for lid driven cavity, do I need to extend velocity and pressure domain outside boundary.? |
||
April 3, 2015, 12:07 |
|
#64 | |
Member
shahrooz
Join Date: Aug 2011
Posts: 41
Rep Power: 15 |
Quote:
however i think I didn't get what you really are asking. |
||
April 3, 2015, 12:13 |
|
#65 |
New Member
deewakar
Join Date: Dec 2011
Posts: 18
Rep Power: 15 |
Hello
I was asking about how dv/dn = 0 at outlet. |
|
April 3, 2015, 15:32 |
|
#66 |
Member
shahrooz
Join Date: Aug 2011
Posts: 41
Rep Power: 15 |
You need to do a scale analysis on continuity equation. Scale of v will be DU/L when L is large enough v reduces to zero and continuity equation will be du/dx= 0. You can find more detailed explanation in adrian bejan's book titled convection heat transfer.
|
|
April 3, 2015, 16:31 |
|
#67 | |
New Member
deewakar
Join Date: Dec 2011
Posts: 18
Rep Power: 15 |
Quote:
Since I am solving flow between parallel plates, then for fully developed case du/dx wil be zero. How does scale of v gives dv/dx=0 at outlet this is what I was asking. I think it should be either dv/dy=0 at outlet or v=0. |
||
April 3, 2015, 20:09 |
|
#68 |
Member
shahrooz
Join Date: Aug 2011
Posts: 41
Rep Power: 15 |
when v = 0 at that region then dv/dx=0, it's obvious. but for boundary condition v=0 is more proper imo.
Last edited by shahrooz.omd; April 4, 2015 at 04:42. |
|
April 5, 2015, 05:04 |
|
#69 | |
Member
Prasanth P
Join Date: May 2009
Posts: 30
Rep Power: 17 |
Quote:
For lid driven cavity, anything you extend beyond the physical domain size would be ghost cells and would depend on how you implement the bondary conditions. Since you are doing FVM you can directly set the fluxes to be zero at the boundaries and so extension beyond the boundary can be avoided. I hope this helps. |
||
October 23, 2015, 08:28 |
|
#70 |
New Member
Join Date: Jun 2015
Posts: 1
Rep Power: 0 |
I need a matlab code for solving incompressible flow in a tube can anybody help me?
|
|
March 23, 2016, 14:32 |
|
#71 |
New Member
Join Date: Mar 2016
Posts: 2
Rep Power: 0 |
Hello I need a matlab code for Roe linearization for 1D shallow water equation with entropy fix.
Is there any one who can help me? |
|
March 24, 2017, 13:40 |
|
#72 |
New Member
Join Date: Mar 2017
Posts: 1
Rep Power: 0 |
Hi everybody,
I am using the Dr. Seibold code for solving the N.S. in 2D. I am going to solve the Navier-Stokes for a 2D rectangular domain where the Dirichlet boundary conditions are applied at north, south and west sides; but on the east-side two boundary conditions should be applied. Part of the east-side has no-slip condition (Dirichlet B.C.) and for the rest of it (dv/dx)=f(y) is held, where v is the vertical (in y-direction) component of the velocity vector. I know how to modify the "boundary conditions" section of the code, where "vE" is specified, to have part of the east-side to follow no slip condition; but I need help about how to apply the Neumann B.C. for the rest of its length. Thanks |
|
May 12, 2017, 19:05 |
|
#73 | |
New Member
umair tariq
Join Date: May 2017
Posts: 1
Rep Power: 0 |
Quote:
|
||
|
|
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 12:33 |
need 3D cylindrical source code for laminar flow | S. D. Ding | Main CFD Forum | 0 | July 23, 2002 03:01 |
What is the Better Way to Do CFD? | John C. Chien | Main CFD Forum | 54 | April 23, 2001 09:10 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |
Flow visualization vs. Calculated flow patterns | Francisco Saldarriaga | Main CFD Forum | 1 | August 3, 1999 00:18 |