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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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

Old   August 10, 2017, 15:31
Default
  #2
agd
Senior Member
 
Join Date: Jul 2009
Posts: 357
Rep Power: 18
agd is on a distinguished road
For steady continuity a non-zero gradient du/dx in the flow will have to be accompanied by a non-zero dv/dy, hence v cannot be zero everywhere. I think you have made too many assumptions and the apparent conflict in your results is indicative of this. Once you reach fully developed flow, du/dx is zero and the pressure gradient is balanced by the viscous stress. Then v is zero. But in the development region you cannot make this assumption.
agd is offline   Reply With Quote

Old   August 10, 2017, 16:03
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
What you are trying to do is the study of the developing boundary layer along a flat plate (top and bottom walls), so you have to use the Prandtl equations.
Just consider that the flow evolves until the thickness of the BL is equal to H/2 (H the distance between the two walls). You can use the law delta(x) to compute this lenght that depends on the viscosity of the fluid (or Re number).

A FD solver can be used to check the theory.
FMDenaro is offline   Reply With Quote

Old   August 10, 2017, 16:47
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You've made way too many assumptions. Your solution is u=constant everywhere, which doesn't even make sense.

du/dy=0 is only at the inlet, not everywhere. This should be obvious in a pipe flow because u=something at the inlet but u=0 on walls because of the no-slip condition.
From where do you get dp/dx=0 ? Even for a flat plate dp/dx is not zero and for a pipe it must eventually be a non-zero constant when the flow in the pipe is fully developed.
From where do you get v = 0?


This is the advection-diffusion equation for a parallel flow (flows very small gradients in the y direction). If you solve this equation, you will indeed get a result that looks like a flow because it is an advection equation. But it has limitations. For learning finite differences this is actually a really good equation to try and solve because it contains non-linear advection on top of diffusion. Usually diffusion problems are 1st problem introduced.
LuckyTran is offline   Reply With Quote

Old   August 11, 2017, 09:42
Default
  #5
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
I think you should not make any assumption since the velocity is developing.
ztdep 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
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 19:23.