|
[Sponsors] |
November 2, 2016, 16:45 |
SIMPLE CODE BC Problem
|
#1 |
New Member
Join Date: Nov 2016
Posts: 3
Rep Power: 10 |
Hi my friends.
I have prepared a 2D Cfd code to solve duct flow. The inlet is constant velocity and the outlet is no-gradient velocity. The problem is that the calculated pressure is increasing toward the flow direction. So it creates a flow reveres. from the middle of the duct. I have checked the code completely, but I think I may have to consider something about the boundary conditions. Would you please help me for the boundary condition considerations? Shall I set some value for the p or p-prime? I have changed the inlet-outlet boundaries with each other, and everything got OK. the solution was good. I wonder why for the first case there is a positive pressure gradient? Thanks in advance. Last edited by CFD.MAN; November 3, 2016 at 02:13. |
|
Tags |
boundary conditions, cfd, correction, pressure, simple |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A algorithm problem meets in the FTC3D code | liaoyun0126 | Main CFD Forum | 0 | September 14, 2015 11:24 |
Can anyone help locating an error in my 2-D MATLAB SIMPLE code? | Hoggs17 | Main CFD Forum | 7 | July 9, 2013 04:02 |
access the source code for SIMPLE | nikesh | OpenFOAM Running, Solving & CFD | 1 | March 7, 2013 03:37 |
Proof reading matlab code for SIMPLE and FVM | michaelmoor.aero | Main CFD Forum | 0 | July 3, 2012 17:06 |