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

2D-flow in a tube: Continuity and Navier-Stokes

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 9, 2017, 12:55
Default 2D-flow in a tube: Continuity and Navier-Stokes
  #1
New Member
 
Join Date: Aug 2017
Posts: 3
Rep Power: 8
Mike Jey is on a distinguished road
Hi people,

I want to do some basic stuff with Python 2.7 an the finite differences method. Now I have the following case:

- 2D-flow in a tube, steady state, not compressible
- at the inlet there ist a constant velocity profile so (\frac{du}{dy}=0)
- the flow is developing into a convex profile

I want to find out the length "L" of the tube, where the velocity profile isn't developing any more.

The basic equation for continuity and Navier-Stokes are:

\frac{du}{dx} + \frac{dv}{dy}= 0

u \frac{du}{dx} + v \frac{du}{dy}= -\frac{1}{\rho} \frac{dp}{dx} +\nu (\frac{d^2u}{dx^2} + \frac{d^2u}{dy^2})

An assumption is, that I say the velocity "v" is everywhere zero. So every term with "v" in the Navier-Stokes and Continuity equation is zero and I have to solve only the u-Momentum (as shown). In addition to this I say that \frac{dp}{dx} is also zero.

After this assumptions I have these equations left (Continuity and navier-stokes):

\frac{du}{dx}= 0

u \frac{du}{dx} = \nu (\frac{d^2u}{dx^2} + \frac{d^2u}{dy^2})

If I look to my continuity equation and insert it into the navier-stokes, there is:

0 = (\frac{d^2u}{dx^2} + \frac{d^2u}{dy^2})

So in my eyes it doesn't make sense ? It means: The velocity profile is not dependent on the fluid. So it doesn't matter, if there is water or air ? I don't think so.(?)

I tried the case without inserting \frac{du}{dx}=0 and I solved the equation u \frac{du}{dx} = \nu (\frac{d^2u}{dx^2} + \frac{d^2u}{dy^2}) in Python. It works and there are meaningful results.

But I don't understand. Actually I have to insert the continuity into the Navier-stokes, isn't it ?
Attached Images
File Type: png Case.png (10.7 KB, 4 views)
Mike Jey is offline   Reply With Quote

 


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
Steady Incompressible Navier Stokes selim CFX 0 October 24, 2007 07:52
continuity & navier stokes.... Louise FLUENT 2 March 2, 2007 10:57
ILU for Navier stokes problems Raju Main CFD Forum 5 July 29, 2006 14:15
Navier stokes compresible viscid flow fea, somebody can help? Jose Choy Main CFD Forum 3 October 24, 2003 02:28
help: I am trying to solve Navier Stokes compressible and viscid flow Jose Choy Main CFD Forum 2 May 18, 2000 05:45


All times are GMT -4. The time now is 14:55.