Chapter 5: Problem 28
Plot the velocity profile for pipeflow. A fluid that flows through a (very long) pipe has zero velocity on the pipe wall and a maximum velocity along the centerline of the pipe. The velocity \(v\) varies through the pipe cross section according to the following formula: $$ v(r)=\left(\frac{\beta}{2 \mu_{0}}\right)^{1 / n} \frac{n}{n+1}\left(R^{1+1 / n}-r^{1+1 / n}\right) $$ where \(R\) is the radius of the pipe, \(\beta\) is the pressure gradient (the force that drives the flow through the pipe), \(\mu_{0}\) is a viscosity coefficient (small for air, larger for water and even larger for toothpaste), \(n\) is a real number reflecting the viscous properties of the fluid ( \(n=1\) for water and air, \(n<1\) for many modern plastic materials), and \(r\) is a radial coordinate that measures the distance from the centerline \((r=0\) is the centerline, \(r=R\) is the pipe wall). Make a function that evaluates \(v(r) .\) Plot \(v(r)\) as a function of \(r \in[0, R]\), with \(R=1, \beta=0.02, \mu=0.02\), and \(n=0.1 .\) Thereafter, make an animation of how the \(v(r)\) curves varies as \(n\) goes from 1 and down to \(0.01\). Because the maximum value of \(v(r)\) decreases rapidly as \(n\) decreases, each curve can be normalized by its \(v(0)\) value such that the maximum value is always unity. Name of program file: plot_velocity_pipeflow.py.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.