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

SIMPLE CODE BC Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2016, 16:45
Smile SIMPLE CODE BC Problem
  #1
New Member
 
Join Date: Nov 2016
Posts: 3
Rep Power: 10
CFD.MAN is on a distinguished road
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.
CFD.MAN is offline   Reply With Quote

Reply

Tags
boundary conditions, cfd, correction, pressure, simple


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
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


All times are GMT -4. The time now is 12:17.