diff options
Diffstat (limited to 'Fluid_Mechanics_by_John_F_Douglas')
32 files changed, 5711 insertions, 0 deletions
diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb new file mode 100755 index 00000000..a2dd3e26 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb @@ -0,0 +1,61 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:4a6f98ae985b8e1b6e034e8590a04939cfd519f9354fb6a0851df17e977d9e9f" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 1: Fluid and their Properties" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.1, Page 14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + " #Initialization of Variable\n", + "sigma = 72.7*10**-3; #Surface Tension\n", + "r = 1 *10**-3; #Radius of Bubble\n", + "\n", + " #Calculations\n", + "P = 2*sigma/r;\n", + "print \"Excess Pressure(N/m2) :\",P\n", + "\n", + " " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Excess Pressure(N/m2) : 145.4\n" + ] + } + ], + "prompt_number": 1 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_10.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_10.ipynb new file mode 100755 index 00000000..510f6bab --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_10.ipynb @@ -0,0 +1,341 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:03b40b6d5c44ff714aac13480905f296c46afa917e2740a687e8aa66bb21b428" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 10: Laminar and Turbulent Flows in Bounded System" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 10.1, Page 329" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import symbols,diff,solve\n", + "\n", + " #Initializing the variables\n", + "mu = 0.9;\n", + "rho = 1260;\n", + "g = 9.81;\n", + "x = 45; #theta in degrees\n", + "P1 = 250 * 10**3;\n", + "P2 = 80* 10**3;\n", + "Z1 = 1;\n", + "Z2 = 0; # datum\n", + "U = -1.5;\n", + "Y = 0.01;\n", + "\n", + " #Calculations\n", + "gradP1 = P1+ rho*g*Z1;\n", + "gradP2 = P2+ rho*g*Z2;\n", + "DPstar = (gradP1-gradP2)*math.sin(math.radians(x))/(Z1-Z2);\n", + "A = U/Y; # Coefficient U/Y for equation 10.6\n", + "B = DPstar/(2*mu) # Coefficient dp*/dx X(1/2mu) for equation 10.6\n", + "y = symbols('y')\n", + "v = round((A + B*Y),1)*y -round(B)*y**2\n", + "duBYdy = diff(v,y);\n", + "tau = 0.9*duBYdy;\n", + "stagPnts = solve(duBYdy,y)\n", + "ymax=stagPnts[0] #value of y where derivative vanishes.;\n", + "umax = (A + B*Y)*ymax + B*ymax**2; # Check the value there is slight mistake in books answer\n", + "def u(y):\n", + " z = (A + B*Y)*y -B*y**2;\n", + " return diff(z,y)\n", + "def dif(y):\n", + " return round((A + B*Y)) -2*round(B)*y\n", + "\n", + "taumax=abs(mu*dif(Y))\n", + "\n", + "print \"velocity distribution :\",v\n", + "print \"shear stress distribution :\",mu*dif(y)\n", + "print \"maximum flow velocity (m/s) :\",round(umax,2)\n", + "print \"Maximum Shear Stress (kN/m^2):\",(round(taumax)/1000)\n", + " \n", + "\n", + "print " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "velocity distribution : -71638.0*y**2 + 566.4*y\n", + "shear stress distribution : -128948.4*y + 509.4\n", + "maximum flow velocity (m/s) : 3.36\n", + "Maximum Shear Stress (kN/m^2): 0.78\n", + "\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 10.2, Page 335" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "mu = 0.9;\n", + "rho = 1260;\n", + "d = 0.01;\n", + "Q = 1.8/60*10**-3; #Flow in m**3 per second\n", + "l = 6.5;\n", + "ReCrit = 2000;\n", + " #Calculations\n", + "A = (math.pi*d**2)/4;\n", + "MeanVel = Q/A;\n", + "Re = rho*MeanVel*d/mu/10; # Check properly the answer in book there is something wrong\n", + "Dp = 128*mu*l*Q/(math.pi*d**4)\n", + "Qcrit = Q*ReCrit/Re*10**3;\n", + "\n", + "print \"Pressure Loss (kN/m2) :\",round(Dp/1000,0)\n", + "print \"Maximum Flow rate (litres/s) :\",round(Qcrit,0)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressure Loss (kN/m2) : 715.0\n", + "Maximum Flow rate (litres/s) : 112.0\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 10.3, Page 341" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "mu = 1.14*10**-3;\n", + "rho = 1000;\n", + "d = 0.04;\n", + "Q = 4*10**-3/60; #Flow in m**3 per second\n", + "l = 750;\n", + "ReCrit = 2000;\n", + "g = 9.81;\n", + "k = 0.00008; # Absolute Roughness\n", + "\n", + " #Calculations\n", + "A = (math.pi*d**2)/4;\n", + "MeanVel = Q/A;\n", + "Re = rho*MeanVel*d/mu;\n", + "Dp = 128*mu*l*Q/(math.pi*d**4);\n", + "hL = Dp/(rho*g);\n", + "f = 16/Re;\n", + "hlDa = 4*f*l*MeanVel**2/(2*d*g); # By Darcy Equation\n", + "Pa = rho*g*hlDa*Q;\n", + "\n", + " #Part(b)\n", + "Q = 30*10**-3/60; #Flow in m**3 per second\n", + "MeanVel = Q/A;\n", + "Re = rho*MeanVel*d/mu;\n", + "RR = k/d; # relative roughness\n", + "f = 0.008 #by Moody diagram for Re = 1.4 x 10**4 and relative roughness = 0.002\n", + "hlDb = 4*f*l*MeanVel**2/(2*d*g); # By Darcy Equation\n", + "Pb = rho*g*hlDb*Q;\n", + "\n", + "\n", + "print \"!---- Case (a) ----!\\n\",\"Head Loss(mm) :\",round(hlDa*1000,1)\n", + "print \"Power Required (W) :\",round(Pa,4)\n", + "print \"\\n!---- Case (b) ----!\\n\",\"Head Loss(m) :\",round(hlDb,2)\n", + "print \"Power Required (W) :\",round(Pb,0)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "!---- Case (a) ----!\n", + "Head Loss(mm) : 92.5\n", + "Power Required (W) : 0.0605\n", + "\n", + "!---- Case (b) ----!\n", + "Head Loss(m) : 4.84\n", + "Power Required (W) : 24.0\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 10.4, Page 343" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "w = 4.5;\n", + "d = 1.2 ;\n", + "C = 49;\n", + "i = 1/800;\n", + "\n", + " #Calculations\n", + "A = d*w;\n", + "P = 2*d + w;\n", + "m = A/P;\n", + "v = C*(m*i)**0.5;\n", + "Q = v*A;\n", + "\n", + "print \"Mean Velocity (m/s):\",round(v,2)\n", + "print \"Discharge (m3/s) :\",round(Q,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean Velocity (m/s): 1.53\n", + "Discharge (m3/s) : 8.28\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 10.5, Page 348" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import sympy\n", + "from sympy import symbols\n", + "\n", + " #Initializing the variables\n", + "r,R = symbols('r R')\n", + "\n", + "#Calculations\n", + "rbyR=round((1-(49/60)**7),3)\n", + "r = (rbyR)*R \n", + "\n", + "#Result\n", + "print \"radius at which actual velocity is equal to mean velocity is\",r" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "radius at which actual velocity is equal to mean velocity is 0.758*R\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 10.7, Page 355" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "d1 = 0.140;\n", + "d2 = 0.250;\n", + "DpF_DpR = 0.6; #Difference in head loss when in forward and in reverse direction\n", + "K = 0.33 #From table\n", + "g = 9.81;\n", + " #Calculations\n", + "ratA = (d1/d2)**2;\n", + "v =(DpF_DpR*2*g/((1-ratA)**2-K))**0.5;\n", + "\n", + "print \"Velocity (m/s):\",round(v,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Velocity (m/s): 9.13\n" + ] + } + ], + "prompt_number": 8 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_11.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_11.ipynb new file mode 100755 index 00000000..ac453318 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_11.ipynb @@ -0,0 +1,120 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:8adfc21cf4552e14b563ca7c0f2e56ece56cd7f1691cf9486f2cfbd789df7be1" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 11: Boundary Layer" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 11.1, Page 383" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "rho = 860;\n", + "v = 10**-5;\n", + "Us = 3;\n", + "b = 1.25;\n", + "l = 2;\n", + "\n", + " #Calculations\n", + "x = 1; # At x =1 \n", + "Rex = Us*x/v;\n", + "ReL = Us*l/v ;\n", + "mu = rho*v;\n", + "T0 = 0.332*mu*Us/x*Rex**0.5;\n", + "Cf = 1.33*ReL**-0.5;\n", + "F = rho*Us**2*l*b*Cf ;\n", + "print \"shear stress (N/m^2) :\" ,round(T0,1)\n", + "print \"Total, double-sided resistance of the plate (N) :\",round(F,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "shear stress (N/m^2) : 4.7\n", + "Total, double-sided resistance of the plate (N) : 33.224\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 11.2, Page 387" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Us = 6;\n", + "b = 3;\n", + "l = 30;\n", + "rho = 1000;\n", + "mu = 10**-3;\n", + "T = 20+273; # Temperature in Kelvin\n", + "\n", + " #Calculations\n", + " \n", + "ReL = rho*Us*l/mu; \n", + "Cf = 0.455*math.log10(ReL)**-2.58 ;\n", + "\n", + "F = rho*Us**2*l*b*Cf ;\n", + "Lt = 10**5*mu/(rho*Us); # Assuming transition at Rel = 10**5\n", + "\n", + "print \"Drag Force (kN) :\", round(F/1000,2)\n", + "print \"Transition length (m) :\",round(Lt,4)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Drag Force (kN) : 6.36\n", + "Transition length (m) : 0.0167\n" + ] + } + ], + "prompt_number": 2 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_12.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_12.ipynb new file mode 100755 index 00000000..745a2241 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_12.ipynb @@ -0,0 +1,319 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:24438326f2aac267ced1e2e3aa21e094819eefb50d5f8862608b62208400992d" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 12: Incompressible Flow around a Body" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 12.1, Page 399" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "x =35;\n", + "T = 50;\n", + "m = 1;\n", + "g =9.81;\n", + "rho = 1.2;\n", + "A = 1.2;\n", + "U0 = 40*1000/3600; # Velocity in m/s\n", + "\n", + " #Calculations\n", + "L = T*math.sin(math.radians(x))+m*g;\n", + "D =T*math.cos(math.radians(x));\n", + "Cl = 2*L/(rho*U0**2*A);\n", + "Cd = 2*D/(rho*U0**2*A); \n", + "\n", + "print \"Lift Coefficient :\",round(Cl,3)\n", + "print \"Drag Coefficient :\",round(Cd,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Lift Coefficient : 0.433\n", + "Drag Coefficient : 0.461\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 12.2, Page 406" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Vp =12;\n", + "lp = 40;\n", + "lm = 1;\n", + "As = 2500;\n", + "Dm = 32;\n", + "rhoP = 1025;\n", + "rhoM = 1000;\n", + "Ap = As;\n", + "\n", + " #Calculations\n", + "Am = As/40**2;\n", + "Vm = round(Vp*(lm/lp)**0.5,2);\n", + "Dfm = round(3.7*Vm**1.95*Am,1);\n", + "Rm = Dm - Dfm;\n", + "Rp = Rm *(rhoP/rhoM)*(lp/lm)**2*(Vp/Vm)**2;\n", + "Dfp = 2.9*Vp**1.8*Ap;\n", + "Dp = Rp + Dfp;\n", + "\n", + "print \"Expected total resistance (kN) :\",round(Dp/1000,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Expected total resistance (kN) : 1407.07\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 12.3, Page 410" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "U0 = 80*1000/3600;\n", + "d = 0.02;\n", + "rho =1.2;\n", + "mu = 1.7*10**-5;\n", + "A = 0.02*500; # Projected area of wire\n", + "N = 20; # No of cables\n", + "\n", + " #Calculations\n", + "Re = rho*U0*d/mu;\n", + "Cd = 1.2 # From figure 12.10 for given Re; \n", + "D = 0.5*rho*Cd*A*U0**2\n", + "F = N*D; \n", + "f = 0.198*(U0/d)*(1-19.7/Re);\n", + "\n", + "print \"Total force on tower (kN) :\",round(F/1000,2)\n", + "print \"Frequency (Hz) :\",round(f,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total force on tower (kN) : 71.11\n", + "Frequency (Hz) : 219.9\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 12.4, Page 415" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "mu = 0.03;\n", + "d = 10**-3;\n", + "rhoP = 1.1*10**3;\n", + "g = 9.81;\n", + "rho0 = 0.9*10**3;\n", + " #Calculations\n", + "B = 18*mu/(d**2*rhoP);\n", + "t = round(4.60/B,4);\n", + "Vt = round(d**2*(rhoP - rho0)*g/(18*mu),5);\n", + "Re = rho0*Vt*d/mu;\n", + "\n", + "print \"Time taken by the particle take to reach 99 per cent of its terminal velocity (s):\",t\n", + "print \"\\nReynolds No corrosponding to the velocity :\",Re" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Time taken by the particle take to reach 99 per cent of its terminal velocity (s): 0.0094\n", + "\n", + "Reynolds No corrosponding to the velocity : 0.1089\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 12.5, Page 417" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "muO = 0.0027;\n", + "Vt = 3*10**-3;\n", + "rhoW = 1000;\n", + "rhoP = 2.4*rhoW;\n", + "rhoO = 0.9*rhoW;\n", + "g = 9.81;\n", + "muA = 1.7*10**-5;\n", + "rhoA = 1.3;\n", + "\n", + " #Calculations\n", + "d = (18*muO*Vt/(rhoP-rhoO)/g)**0.5;\n", + "Re = Vt*d*rhoO/muO;\n", + "\n", + " #Movement of particle in upward direction\n", + "if(Re < 1):\n", + " v = 0.5;\n", + " \n", + " Re=5; # from fig 12.15\n", + " vt = muA*Re/(rhoA*d);\n", + " u = vt+v;\n", + " print \"Velocity of air stream blowing vertically up (m/s) :\",round(u,3) \n", + "else:\n", + " print \"strokes law is not valid\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Velocity of air stream blowing vertically up (m/s) : 1.157\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 12.6, Page 429" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "c = 2;\n", + "s = 10;\n", + "rho = 5.33;\n", + "rho_ellip = 1.2;\n", + "D = 400;\n", + "L = 45000;\n", + "scale = 20;\n", + "U_windTunnel = 500;\n", + "U_proto = 400*1000/3600;\n", + "\n", + " #Calculations\n", + "A = c*s;\n", + "U_model = U_windTunnel/scale;\n", + "Cd = D/(0.5*rho*U_model**2*A);\n", + "Cl = L/(0.5*rho_ellip*U_proto**2*A); # Considering elliptical Lift model\n", + "Cdi = Cl**2/(math.pi*s/c); # Aspect Ratio = s/c \n", + "Cdt = Cd + Cdi;\n", + "Dw = 0.5*Cdt*rho_ellip*U_proto**2*A;\n", + "print \"Total drag on full sized wing (kN) :\",round(Dw/1000,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total drag on full sized wing (kN) : 2.65\n" + ] + } + ], + "prompt_number": 6 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_13.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_13.ipynb new file mode 100755 index 00000000..664b4abf --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_13.ipynb @@ -0,0 +1,142 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:1f446f61d8838d40d2e31fd72ef3a0bc1e1a7f291c54a48c1366aef232ac3797" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 13: Compressible Flow around a Body" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 13.1, Page 444" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "rho0 = 1.8;\n", + "R = 287;\n", + "T = 75+273; # Temperature in kelvin \n", + "gma = 1.4; \n", + "Ma = 0.7;\n", + "\n", + " #Calculations\n", + "P0 = rho0*R*T;\n", + "c = (gma*R*T)**0.5;\n", + "V0 = Ma*c;\n", + "Pt = (P0**((gma-1)/gma) + rho0*((gma-1)/gma)*(V0**2/(2*P0**(1/gma))))**(gma/(gma-1));\n", + "rhoT = rho0*(Pt/P0)**(1/gma);\n", + "Tt = Pt/(R*rhoT)-273;\n", + "\n", + "print \"Staganation Pressure (kN/m2 ) :\",round(Pt/1000,1)\n", + "print \"Temperature (Degree Celcius) :\",round(Tt,1)\n", + "print \"Density of airstream (kg/m3) :\",round(rhoT,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Staganation Pressure (kN/m2 ) : 249.4\n", + "Temperature (Degree Celcius) : 109.1\n", + "Density of airstream (kg/m3) : 2.274\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 13.2, Page 454" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "R = 287;\n", + "T = 28+273;\n", + "gma = 1.4;\n", + "P = 1.02*10**5;\n", + "rhoHg = 13.6*10**3;\n", + "g = 9.81;\n", + "\n", + " #Calculations\n", + " #Case(a)\n", + "U0 = 50;\n", + "c = (gma*R*T)**0.5;\n", + "Ma = U0/c;\n", + "rho = P/(R*T);\n", + "DelP = 0.5*rho*U0**2; #Pt-P\n", + "ha = DelP/(rhoHg*g);\n", + "\n", + " #Case(b)\n", + "U0 = 250;\n", + "Ma = U0/c;\n", + "Pt = P*(1+(gma-1)*Ma**2/2)**(gma/(gma-1)); \n", + "DelP = Pt-P\n", + "hb = DelP/(rhoHg*g);\n", + "\n", + " #Case (c)\n", + "U0 = 420;\n", + "Ma1 =U0/c;\n", + "P2 = P*((2*gma/(gma+1))*Ma1**2 - ((gma-1)/(gma+1)));\n", + "N = Ma1**2 +2/(gma-1); # Numerator\n", + "D = 2*gma*Ma1**2/(gma-1)-1;\n", + "Ma2 = (N/D)**0.5;\n", + "Pt2 = P2*(1+(gma-1)*Ma2**2/2)**(gma/(gma-1));\n", + "hc = (Pt2-P2)/(rhoHg*g) ; \n", + "\n", + "print \"Difference in height of mercury column in case (a) in mm :\",round(ha*1000,2)\n", + "print \"Difference in height of mercury column in case (b) in mm :\",round(hb*1000,1)\n", + "print \"Difference in height of mercury column in case (c) in mm :\",round(hc*1000,0)\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Difference in height of mercury column in case (a) in mm : 11.06\n", + "Difference in height of mercury column in case (b) in mm : 314.2\n", + "Difference in height of mercury column in case (c) in mm : 684.0\n" + ] + } + ], + "prompt_number": 2 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_14.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_14.ipynb new file mode 100755 index 00000000..2e55c7c8 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_14.ipynb @@ -0,0 +1,365 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:75785fe7e68940de5df81a115443b8d5c78793053ae837735e58f86a072c05cc" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 14: Steady Incompressible Flow in Pipe and Duct System" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 14.1, Page 468" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "L1 = 5;\n", + "L2 = 10;\n", + "d = 0.1;\n", + "f = 0.08;\n", + "Za_Zc = 4; #difference in height between A and C \n", + "g = 9.81 ;\n", + "Pa = 0;\n", + "Va = 0; \n", + "Za_Zb = -1.5;\n", + "V = 1.26;\n", + "rho = 1000;\n", + "\n", + " #Calculations\n", + "D = 1.5 + 4*f*(L1+L2)/d ; # Denominator in case of v**2 \n", + "v = (2*g*Za_Zc/D)**0.5;\n", + "Pb = rho*g*Za_Zb - rho*V**2/2*(1.5+4*f*L1/d);\n", + "print \"Pressure in the pipe at B (kN/m2):\",round(Pb/1000,2)\n", + "print \"Mean Velocity at C (m/s) :\",round(v,2)\n", + "\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressure in the pipe at B (kN/m2): -28.61\n", + "Mean Velocity at C (m/s) : 1.26\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 14.3, Page 473" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from sympy import symbols,solve\n", + "import sympy\n", + "\n", + "\n", + " #Initializing the variables\n", + "Za_Zb = 10;\n", + "f = 0.008;\n", + "L = 100;\n", + "d1 = 0.05;\n", + "g = 9.81;\n", + "d2 = 0.1;\n", + "\n", + " #Calculations\n", + "\n", + "def flowRate(d):\n", + " D = 1.5 + 4*f*L/d ; # Denominator in case of v1**2\n", + " A = math.pi*d**2/4;\n", + " v = (2*g*Za_Zb/D)**0.5;\n", + " z = A*v;\n", + " return z \n", + "Q1 = flowRate(d1);\n", + "Q2 = flowRate(d2);\n", + "Q=round(Q1+Q2,4)\n", + "\n", + "\n", + "D=symbols('D')\n", + "roots=solve(241212*D**5 -3.2, D)\n", + "dia=roots[0]\n", + "\n", + "print \"Rate flow for pipe 1 (m^3/s) :\",round(Q1,4)\n", + "print \"Rate flow for pipe 2 (m^3/s) :\",round(Q2,4)\n", + "print \"Combined Rate flow (m^3/s) :\",round(Q,4)\n", + "print \"Diameter of single equivalent pipe (mm) :\",round(dia,3)*1000\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Rate flow for pipe 1 (m^3/s) : 0.0034\n", + "Rate flow for pipe 2 (m^3/s) : 0.019\n", + "Combined Rate flow (m^3/s) : 0.0224\n", + "Diameter of single equivalent pipe (mm) : 106.0\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 14.4, Page 476" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import solve,symbols\n", + "\n", + " #Initializing the variables\n", + "Za_Zb = 16;\n", + "Za_Zc = 24;\n", + "f = 0.01;\n", + "l1 = 120;\n", + "l2 = 60;\n", + "l3 = 40;\n", + "d1 = 0.12;\n", + "d2 = 0.075;\n", + "d3 = 0.060;\n", + "g = 9.81;\n", + " #Calculations\n", + "\n", + "v1=symbols('v1')\n", + "ash=solve(v1-0.3906*(g-1.25*v1**2)**0.5-0.25*(17.657-1.5*v1**2)**0.5,v1)\n", + "v1=round(abs(ash[0]),2)\n", + "Q1=math.pi/4*d1**2*v1\n", + "\n", + "v2=(g-1.25*v1**2)**0.5\n", + "Q2=math.pi/4*d2**2*v2\n", + "\n", + "v3=(17.657-1.5*v1**2)**0.5\n", + "Q3=math.pi/4*d3**2*v3\n", + "\n", + "print \"Flow rate in pipe 1 (m^3/s):\",round(Q1,4)\n", + "print \"Flow rate in pipe 2 (m^3/s):\",round(Q2,4)\n", + "print \"Flow rate in pipe 3 (m^3/s):\",round(Q3,4)\n", + "print \"continuity condition satisfied as Q1=Q2+Q3\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Flow rate in pipe 1 (m^3/s): 0.0206\n", + "Flow rate in pipe 2 (m^3/s): 0.0105\n", + "Flow rate in pipe 3 (m^3/s): 0.0101\n", + "continuity condition satisfied as Q1=Q2+Q3\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 14.5, Page 480" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "D = 0.3;\n", + "Q = 0.8;\n", + "rho = 1.2;\n", + "f = 0.008;\n", + "L_entry = 10;\n", + "L_exit = 30;\n", + "Lt = 20*D #Transition may be represented by a separation loss equivalent length of 20 * the approach duct diameter\n", + "K_entry = 4;\n", + "K_exit = 10\n", + "l = 0.4; # length of cross section\n", + "b = 0.2; # width of cross section\n", + "\n", + " #Calculations\n", + "A = math.pi*D**2/4;\n", + "Dp1 = 0.5*rho*Q**2/A**2*(K_entry + 4*f*(L_entry+Lt)/D);\n", + "area = l*b;\n", + "perimeter =2*(l+b);\n", + "m = area/perimeter;\n", + "Dp2 = 0.5*rho*Q**2/area**2*(K_exit + f*L_exit/m);\n", + "Dfan = Dp1+Dp2;\n", + "\n", + "print \"fan Pressure input (N/m2) :\",round(Dfan,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "fan Pressure input (N/m2) : 1254.6\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 14.6, Page 482" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "D = [0.15 , 0.3];\n", + "rho = 1.2;\n", + "f = 0.008;\n", + "L_entry = 10;\n", + "L_exit = 20;\n", + "Lt = 20*D[1] \n", + "K = 4;\n", + "Q1 = 0.2;\n", + "\n", + " #Calculations\n", + "Q2 = 4*Q1;\n", + "A=[0.0,0.0]\n", + "A[0] = math.pi*D[0]**2/4;\n", + "A[1] = math.pi*D[1]**2/4;\n", + "Dp1 = 0.5*rho*Q1**2/A[0]**2*(K + 4*f*L_entry/D[0]);\n", + "Dp2 = 0.5*rho*Q2**2/A[1]**2*(4*f*(L_exit + Lt)/D[1]);\n", + "Dfan = Dp1+Dp2;\n", + "\n", + "print \"fan Pressure input (N/m2) :\",round(Dfan,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "fan Pressure input (N/m2) : 684.51\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 14.7, Page 487" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from scipy.optimize import fsolve\n", + " \n", + " \n", + " \n", + " #Initializing the variables\n", + "d = [0.1 , 0.125, 0.15, 0.1, 0.1 ]; # Corrosponding to AA1B AA2B BC CD CF\n", + "l = [30 , 30 , 60, 15, 30]; # Corrosponding to AA1B AA2B BC CD CF\n", + "rho = 1.2;\n", + "f = 0.006;\n", + "Ha = 100;\n", + "Hf = 60;\n", + "He = 40;\n", + "K = [0.0, 0.0, 0.0, 0.0, 0.0]\n", + " #Calculations\n", + "for i in range(0,len(l)):\n", + " K[i] = f*l[i]/(3*d[i]**5);\n", + "\n", + "\n", + "K_ab = K[0]*K[1]/((K[0])**0.5+(K[1])**0.5)**2;\n", + "K_ac = K_ab + K[2];\n", + "Hc = (K_ac*Hf +K[4]*Ha/4)/(K_ac+K[4]/4);\n", + "Q = ((Ha - Hc)/K_ac)**0.5;\n", + "\n", + "def f(n):\n", + " z = He - Hc + (0.5*Q)**2 *(K[3]+(4000/n)**2);\n", + " return z\n", + "\n", + "n = fsolve(f,1);\n", + "\n", + "print \"total Volume flow rate (m3/s):\",round(Q, 4)\n", + "print \"Head at C (m) :\",round(Hc,2) \n", + "print \"Percentage valve opening (%) :\",round(n,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "total Volume flow rate (m3/s): 0.1016\n", + "Head at C (m) : 75.48\n", + "Percentage valve opening (%) : 38.58\n" + ] + } + ], + "prompt_number": 8 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_15.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_15.ipynb new file mode 100755 index 00000000..95bd78ec --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_15.ipynb @@ -0,0 +1,114 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:4f421cc7413696fe7c281427d95aff4b53c3ab081abe9cd6d31d1e2df1133e5a" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + " Chapter 15: Uniform Flows in Open Channels" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 15.1, Page 516" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "B =4;\n", + "D = 1.2;\n", + "C = 7.6;\n", + "n = 0.025;\n", + "s = 1/1800;\n", + "\n", + " #Calculations\n", + "W = B + 2*1.5*D;\n", + "A = D*(B+C)/2; # Area of parallelogram formed\n", + "P = B +2*1.2*(D**2+(1.5)**2)**0.5;\n", + "m =A/P;\n", + "i=s;\n", + "C = (23+0.00155/i+1/n)/(1+(23+0.00155/i)*n/(m)**0.5); # By Kutter formula\n", + "Q1 = C*A*(m*i)**0.5;\n", + "Q2 = A*(1/n)*m**(2/3)*(i)**0.5;\n", + "\n", + "print \"Q using Chezy formula with C determined from the Kutter formula (m^3/s) :\",round(Q1,2)\n", + "print \"Q using the Manning formula (m^3/s) :\",round(Q2,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Q using Chezy formula with C determined from the Kutter formula (m^3/s) : 5.65\n", + "Q using the Manning formula (m^3/s) : 5.69\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 15.2, Page 518" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "Q = 0.5;\n", + "C = 80;\n", + "i = 1/2000;\n", + "\n", + " #Calculations\n", + "\n", + "# A = D**2+(3/4)*D**2 = (7/4)*D**2\n", + "D = ((4/7)*(Q/C)*(2/i)**0.5)**(2/5)\n", + "\n", + "#Result\n", + "print \"Optimum depth = Optimum Width (in metres):\",round(D,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Optimum depth = Optimum Width (in metres): 0.552\n" + ] + } + ], + "prompt_number": 1 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_16.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_16.ipynb new file mode 100755 index 00000000..73f04778 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_16.ipynb @@ -0,0 +1,144 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:130e6e124bfc557e016f12e2356b74f1d97ea210c47b1944be1ebda3297e63a8" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 16: Non-Uniform Flow in Open Channels" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 16.2, Page 541" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "B = [1.4 ,0.9];\n", + "D = [0.6 ,0.32];\n", + "g = 9.81;\n", + "h = 0.03;\n", + "Z = 0.25; \n", + "\n", + " #Calculations\n", + "Q1 = B[1]*D[1]*(2*g*h/(1-(B[1]*D[1]/B[0]*D[0])**2))**0.5\n", + "E = D[0]-Z;\n", + "Q2 = 1.705*B[1]*E**1.5;\n", + "\n", + "print \"Volume flow rate (m3/s) :\",round(Q2,4) " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Volume flow rate (m3/s) : 0.3177\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 16.3, Page 546" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "a =0.5;\n", + "b = 0.5;\n", + "Dn = 1.2;\n", + "s = 1/1000;\n", + "C = 55;\n", + "g = 9.81;\n", + "\n", + " #Calculations\n", + "c = (1+a)/b; \n", + "QbyB = Dn*C*(Dn*s)**0.5;\n", + "q = QbyB;\n", + "Dc = (q**2/g)**(1/3);\n", + "\n", + "header = \"Mean Depth(Dm) Numenator Denominator\\t L\"\n", + "unit = \" (m) \\t \\t \\t \\t(m)\"\n", + "\n", + "m=[]\n", + "Dm=[]\n", + "N=[]\n", + "D=[]\n", + "Lm=[]\n", + "total=0\n", + "for c in range(7): \n", + " m.append(2.4-0.15*c);\n", + " Dm.append((m[c]+m[c]-0.15)/2); \n", + " N.append(1 - (Dc/Dm[c])**3) ; # Numerator\n", + " D.append(1 - (Dn/Dm[c])**3); # Denominator\n", + " Lm.append(150*(N[c]/D[c]));\n", + " total = total +Lm[c];\n", + "\n", + "print header\n", + "print unit\n", + "for c in range(7):\n", + " mm=str(Dm[c])+'\\t '+str(round(N[c],4))+' '+str(round(D[c],4))+' \\t'+str(round(Lm[c],2))\n", + " print mm\n", + " \n", + "print \"\\ndistance upstream covered (approx in m):\",round(total)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean Depth(Dm) Numenator Denominator\t L\n", + " (m) \t \t \t \t(m)\n", + "2.325\t 0.9576 0.8625 \t166.54\n", + "2.175\t 0.9482 0.8321 \t170.94\n", + "2.025\t 0.9358 0.7919 \t177.26\n", + "1.875\t 0.9192 0.7379 \t186.86\n", + "1.725\t 0.8962 0.6634 \t202.65\n", + "1.575\t 0.8636 0.5577 \t232.27\n", + "1.425\t 0.8159 0.4028 \t303.8\n", + "\n", + "distance upstream covered (approx in m): 1440.0\n" + ] + } + ], + "prompt_number": 2 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_17.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_17.ipynb new file mode 100755 index 00000000..2791e2c2 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_17.ipynb @@ -0,0 +1,274 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:c21785277c0a99c3eb4c310a9e20c477f6ab2a0a22da1b2d3844df1699a78d21" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 17: Compressible Flow in Pipes" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 17.1, Page 566" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import solve,symbols\n", + "\n", + " #Initializing the variables\n", + "g = 9.81;\n", + "rho = 1000;\n", + "rhoHg = 13.6*rho;\n", + "d1 = 0.075;\n", + "d2 = 0.025;\n", + "Pi = 0.250;\n", + "Pt = 0.150;\n", + "P_Hg = 0.760;\n", + "rho1 = 1.6;\n", + "gma = 1.4;\n", + "\n", + " #Calculations\n", + "P1 = (Pi+P_Hg)*rhoHg*g;\n", + "P2 = (Pt+P_Hg)*rhoHg*g;\n", + "rho2 = rho1*(P2/P1)**(1/gma);\n", + "V0=symbols('V0')\n", + "V1=symbols('V1')\n", + "Velo = solve([d2**2*V1*rho2-d1**2*V0*rho1,0.5*(V1**2 - V0**2)*((gma-1)/gma)*(rho2*rho1/(rho2*P1-rho1*P2))-1],[V0,V1])\n", + "s=(Velo[1])[0]\n", + "Flow = math.pi*d1**2/4*s;\n", + "\n", + "print \"Volume of flow (m3/s):\",round(Flow,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Volume of flow (m3/s): 0.06\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 17.2, Page 571" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Ma = 4;\n", + "gma = 1.4;\n", + "At = 500; # in mm\n", + "\n", + " #Calculations\n", + "N = 1 + (gma-1)*Ma**2/2;\n", + "D = (gma+1)/2 ;\n", + "#ratio of A/At ==R\n", + "R = round( (N/D)**((gma+1)/(2*(gma-1)))/Ma,2);\n", + "A=At*R\n", + "print \"Area of test section (mm^2):\",A" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Area of test section (mm^2): 5360.0\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 17.3, Page 575" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Ma1 = 2;\n", + "gma = 1.4;\n", + "T1 = 15+273; # In kelvin\n", + "P1 = 105; \n", + "\n", + " #Calculations\n", + "Ma2 = (((gma-1)*Ma1**2 +2)/(2*gma*Ma1**2-gma+1))**0.5;\n", + "P2 = P1*(1+gma*Ma1**2)/(1+gma*Ma2**2);\n", + "T2 = T1*(1 +(gma-1)/2*Ma1**2)/(1 +(gma-1)/2*Ma2**2);\n", + "\n", + "\n", + "print \"Mach No downstream shock wave :\",round(Ma2,3)\n", + "print \"Pressure (bar) of downstream shock wave :\",round(P2)\n", + "print \"Temperature (Degree C) of downstream shock wave :\",T2 - 273" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mach No downstream shock wave : 0.577\n", + "Pressure (bar) of downstream shock wave : 473.0\n", + "Temperature (Degree C) of downstream shock wave : 213.0\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 17.4, Page 581" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "gma = 1.4;\n", + "f = 0.00375;\n", + "d = 0.05;\n", + "\n", + " #Calculations\n", + "m = d/4;\n", + "def x(Ma):\n", + " A =(1 -Ma**2 )/(gma*Ma**2);\n", + " B = (gma+1)*Ma**2/(2+(gma-1)*Ma**2); \n", + " y = m/f*(A+ (gma+1)*math.log(B)/(2*gma));\n", + " return y\n", + "\n", + "X1 = x(0.2); # At entrance Ma = 0.2;\n", + "X06_X1 =x(0.6); # Section(b) Ma = 0.6;\n", + "\n", + "X06 = X1-X06_X1;\n", + "\n", + "print \"The Distance X1 at which the Mach number is unity (m) :\",round(X1,2)\n", + "print \"Distance from the entrance (m) :\",round(X06,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "The Distance X1 at which the Mach number is unity (m) : 48.44\n", + "Distance from the entrance (m) : 46.81\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 17.5, Page 585" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from scipy.optimize import fsolve\n", + "\n", + " #Initializing the variables\n", + "gma = 1.4;\n", + "Q = 28/60; # m3/s\n", + "d = 0.1;\n", + "p1 = 200*10**3;\n", + "f = 0.004;\n", + "x_x1 = 60;\n", + "R = 287;\n", + "T = 15+273;\n", + "\n", + " #Calculations\n", + "A = math.pi*d**2/4;\n", + "m = d/4;\n", + "v1 = Q/A;\n", + "pa = p1*(1-f*(x_x1)*v1**2/(m*R*T))**0.5;\n", + "\n", + "def g(p):\n", + " A = (v1*p1)**2/(R*T)\n", + " B = f*A*x_x1/(2*m);\n", + " y = (p**2 - p1**2)/2 -A*math.log(p/p1) +B;\n", + " return y\n", + " \n", + "pb=fsolve(g,pa) # Guessing solution around pa\n", + "pb=pb[0]\n", + "print \"Pressure at the outlet, neglecting velocity changes (kN/m2) :\",round(pa/1000,1)\n", + "print \"Pressure at the outlet, allowing for velocity changes (kN/m2) :\",round(pb/1000,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressure at the outlet, neglecting velocity changes (kN/m2) : 153.6\n", + "Pressure at the outlet, allowing for velocity changes (kN/m2) : 150.4\n" + ] + } + ], + "prompt_number": 6 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_2.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_2.ipynb new file mode 100755 index 00000000..835909e1 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_2.ipynb @@ -0,0 +1,493 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:56204579c9dff23fd133fce17f3b8e6b8ac01dae9f7f133693b953a21d5ed34c" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 2: Pressure and Head" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.1, Page 30" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "z1 = 0; #Taking Ground as reference\n", + "z2 = -30 #Depth\n", + "rho = 1025 #Density\n", + "g = 9.81 #Acceleration due to gravity\n", + "\n", + " #Calculation\n", + "pressureIncrease = -rho*g*(z2-z1);\n", + "\n", + "print \"Increase in Pressure (KN/m2):\",round(pressureIncrease/1000,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Increase in Pressure (KN/m2): 301.7\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.2, Page 34" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "p1 = 22.4*10**3 #Initial Pressure\n", + "z1 = 11000 #Initial Height\n", + "z2 = 15000 #final Height\n", + "g = 9.81 #Acceleration due to gravity\n", + "R = 287; #Gas Constant\n", + "T = 273-56.6 #Temperature \n", + "\n", + " #Calculations\n", + "p2 = p1*math.exp(-g*(z2-z1)/(R*T));\n", + "rho2=p2/(R*T);\n", + " \n", + "print \"Final Pressure (kN/m2):\",round(p2/1000,2)\n", + "print \"Final Density (kg/m3):\",round(rho2,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Final Pressure (kN/m2): 11.91\n", + "Final Density (kg/m3): 0.192\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.3, Page 37" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "p1 = 101*10**3 #Initial Pressure\n", + "z1 = 0 #Initial Height\n", + "z2 = 1200 #Final Height\n", + "T1 = 15+273 #Initial Temperature\n", + "g = 9.81 #Acceleration due to gravity\n", + "gamma = 1.4 #Heat capacity ratio\n", + "R = 287 #Gas Constant\n", + "\n", + " #Calculations\n", + "p2 = p1*(1-g*(z2-z1)*(gamma-1)/(gamma*R*T1))**(gamma/(gamma-1));\n", + "dT_dZ = -(g/R)*((gamma-1)/gamma);\n", + "T2 = T1 + dT_dZ*(z2-z1);\n", + "rho2 = p2/(R*T2);\n", + "\n", + "print \"Final Pressure (kN/m2) :\",round(p2/1000,2)\n", + "print \"Temprature (in degree celcius):\",round(T2-273,1)\n", + "print \"Density (kg/m^3) :\",round(rho2,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Final Pressure (kN/m2) : 87.33\n", + "Temprature (in degree celcius): 3.3\n", + "Density (kg/m^3) : 1.101\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.4, Page 39" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "p1 = 101*10**3 #Initial Pressure\n", + "z1 = 0 #Initial Height\n", + "z2 = 7000 #Final Height\n", + "T1 = 15+273 #Initial Temperature\n", + "g = 9.81 #Acceleration due to gravity\n", + "R = 287 #Gas Constant\n", + "dT = 6.5/1000 #Rate of Variation of Temperature\n", + "\n", + " #Calculations\n", + "p2 = p1*(1-dT*(z2-z1)/T1)**(g/(R*dT));\n", + "T2 = T1 - dT*(z2-z1);\n", + "rho2 = p2/(R*T2);\n", + "\n", + "\n", + "print \"Final Pressure (kN/m^2) :\",round(p2/1000,2)\n", + "print \"Final Density (kg/m^3 ):\",round(rho2,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Final Pressure (kN/m^2) : 40.89\n", + "Final Density (kg/m^3 ): 0.588\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.5, Page 44" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "p = 350*10**3; #Gauge Pressure\n", + "pAtm = 101.3*10**3; #Atmospheric Pressure \n", + "rhoW = 1000; #Density of Water\n", + "sigma = 13.6; #Relative Density of Mercury\n", + "g = 9.81 #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "def Head(rho):\n", + " head = p/(rho*g);\n", + " return head\n", + "rhoM = sigma*rhoW;\n", + "pAbs = p + pAtm;\n", + "\n", + "print \"\\nPart(a)- Equivalent head of water (m) :\",round(Head(rhoW),2)\n", + "print \"\\nPart(b)- Equivalent head of water (m) :\",round(Head(rhoM),2)\n", + "print \"\\nAbsolute pressure (kN/m^2) :\",pAbs/1000" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "Part(a)- Equivalent head of water (m) : 35.68\n", + "\n", + "Part(b)- Equivalent head of water (m) : 2.62\n", + "\n", + "Absolute pressure (kN/m^2) : 451.3\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.6, Page 45" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " \n", + "\n", + " #Initializing the variables\n", + "rho = 10**3; #Density of water\n", + "h = 2; #Height\n", + "g = 9.81; #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "p=rho*h*g; \n", + "\n", + "print \"Gauge pressure (k/m2) :\",p/1000" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gauge pressure (k/m2) : 19.62\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.7, Page 46" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "rho = 0.8*10**3; #Density of fluid\n", + "rhoM = 13.6*10**3; #Density of manometer liquid\n", + "g = 9.81 #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "def fluidPressure(h1,h2):\n", + " P = rhoM*g*h2-rho*g*h1;\n", + " return P\n", + "\n", + "p1=fluidPressure(0.5,0.9)/1000\n", + "p2=fluidPressure(0.1,-0.2)/1000\n", + "\n", + "print \"!-----Part (a)-----! \\nGauge pressure (kN/m2) :\",round(p1,2)\n", + "print \"\\n!-----Part (b)-----! \\nGauge pressure (kN/m2) :\",round(p2,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "!-----Part (a)-----! \n", + "Gauge pressure (kN/m2) : 116.15\n", + "\n", + "!-----Part (b)-----! \n", + "Gauge pressure (kN/m2) : -27.47\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.8, Page 47" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "rho = 10**3; #Density of fluid\n", + "rhoM = 13.6*10**3; #Density of manometer liquid\n", + "g = 9.81; #Acceleration due to gravity\n", + "H = 0.3; # Differnce in height = b-a as in text\n", + "h = 0.7;\n", + "\n", + " #Calculations\n", + "result = rho*g*H + h*g*(rhoM-rho);\n", + "\n", + "print \"Pressure difference (kN/m^2):\", round(result/1000,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressure difference (kN/m^2): 89.467\n" + ] + } + ], + "prompt_number": 10 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.9, Page 50" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "rho = 10**3; #Density of fluid\n", + "rhoM = 0.8*10**3; #Density of manometer liquid\n", + "g = 9.81; #Acceleration due to gravity\n", + "a = 0.25;\n", + "b = 0.15;\n", + "h = 0.3;\n", + " #Calculations\n", + "def PressureDiff(a,b,h,rho,rhoM):\n", + " P = rho*g*(b-a) + h*g*(rho-rhoM);\n", + " return P\n", + "print \"The presure difference,if the top of the manometer is filled with\"\n", + "print \"(a) air :\",PressureDiff(a,b,h,rho,0)/1000, \" N/m^2\"\n", + "print \"(b) oil of relative density 0.8. :\",PressureDiff(a,b,h,rho,rhoM), \"N/m^2\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "The presure difference,if the top of the manometer is filled with\n", + "(a) air : 1.962 N/m^2\n", + "(b) oil of relative density 0.8. : -392.4 N/m^2\n" + ] + } + ], + "prompt_number": 11 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2.10, Page 54" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "phi = 30; #30 degree\n", + "h = 1.2 ; # Height of tank\n", + "l = 2; # Length of tank\n", + "\n", + " #Calculations\n", + "def SurfaceAngle(a,phi):\n", + " g=9.81; # m/s**2 \n", + " Theta = math.atan(-a*math.cos(math.radians(phi))/(g+a*math.sin(math.radians(phi)))); \n", + " return Theta\n", + "\n", + " #case (a) a = 4\n", + "\n", + "print \"ThetaA (degree) :\",round(180 + 180/math.pi*SurfaceAngle(4,phi),2)\n", + "\n", + " #Case (b) a = - 4.5\n", + "tanThetaR = math.tan((SurfaceAngle(-4.5,phi)));\n", + "\n", + "print \"\\nThetaR (degree) :\",round(SurfaceAngle(-4.5,phi)*180/math.pi,2)\n", + "\n", + "Depth = h - l*tanThetaR/2;\n", + "print \"\\nMaximum Depth of tank (m) :\",round(Depth,4)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "ThetaA (degree) : 163.65\n", + "\n", + "ThetaR (degree) : 27.27\n", + "\n", + "Maximum Depth of tank (m) : 0.6845\n" + ] + } + ], + "prompt_number": 4 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_20.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_20.ipynb new file mode 100755 index 00000000..f24f7af6 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_20.ipynb @@ -0,0 +1,115 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:042171008edad2dcea90c81036564026ff0ecc789ee16d3a2ccb0122fde141e9" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 20: Pressure Transient Theory and Surge Control" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 20.3, Page 692" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "c = 1250;\n", + "Dt = 0.02;\n", + "Dv = 0.5;\n", + "rho = 1000;\n", + "v =0.5;\n", + "\n", + " #Calculations\n", + "cDt = c*Dt;\n", + "Dp = rho*c*Dv;\n", + "DOv_DOt = Dv/Dt;\n", + "vDOv_DOt = v*Dv/cDt;\n", + "DOp_DOt = Dp/Dt;\n", + "vDOp_DOx = v*Dp/cDt;\n", + "Error = [vDOv_DOt*100/DOv_DOt ,vDOp_DOx*100/DOp_DOt];\n", + "print \"The percentage errors are :\",Error,\"\\nThese are very small hence can be neglected\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "The percentage errors are : [0.04, 0.04] \n", + "These are very small hence can be neglected\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 20.5, Page 705" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "f = 0;\n", + "Atunnel = 1.227;\n", + "Ashaft = 12.57;\n", + "Q =2;\n", + "L = 200;\n", + "g = 9.81; \n", + "\n", + " #Calculations\n", + "Zmax = (Q/Ashaft)*(Ashaft*L/(Atunnel*g))**0.5;\n", + "T = 2*math.pi*(Ashaft*L/(Atunnel*g))**0.5;\n", + "\n", + "print \"Peak water level (m) :\",round(Zmax,3)\n", + "print \"Mass Oscillation Period (s) :\",round(T,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Peak water level (m) : 2.299\n", + "Mass Oscillation Period (s) : 90.8\n" + ] + } + ], + "prompt_number": 3 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_22.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_22.ipynb new file mode 100755 index 00000000..2c113fed --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_22.ipynb @@ -0,0 +1,191 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:783af12fd7d104e85c7e13e105c7550ca4a0a63a41968e5a9b0312d6fedb23a2" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 22: Theory of Rotodynamic Machine" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 22.1, Page 779" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "Q = 5;\n", + "R1 = 1.5/2;\n", + "R2 = 2/2; \n", + "w = 18;\n", + "rho = 1000;\n", + "rhoA = 1.2;\n", + "Hth = 0.017;\n", + "g=9.81;\n", + "\n", + " #Calculations\n", + "A = math.pi*(R2**2-R1**2);\n", + "Vf = Q/A;\n", + "Ut = w*R2;\n", + "Uh = w*R1;\n", + "B1t = math.atan(Vf/Ut);\n", + "B1h = math.atan(Vf/Uh);\n", + "E = Hth*rho/rhoA;\n", + "def Beta(u):\n", + " y = math.atan(Vf/(u-E*g/u));\n", + " return y\n", + "B2t = Beta(Ut);\n", + "B2h = Beta(Uh);\n", + "\n", + "print \"!----Blade Inlet Angles----!\"\n", + "print \"At tip (in degrees) :\",round(B1t*180/math.pi,1),\"\\nAt Hub (in degrees) :\",round(B1h*180/math.pi,1)\n", + "print \"\\n!----Blade Outlet Angles (Degrees)----!\"\n", + "print \"At tip (in degrees):\",round(B2t*180/math.pi,1),\"\\nAt Hub(in degrees) :\",round(B2h*180/math.pi,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "!----Blade Inlet Angles----!\n", + "At tip (in degrees) : 11.4 \n", + "At Hub (in degrees) : 15.1\n", + "\n", + "!----Blade Outlet Angles (Degrees)----!\n", + "At tip (in degrees): 19.5 \n", + "At Hub(in degrees) : 48.6\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 22.2, Page 793" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "D = 0.1;\n", + "t = 15*10**-3;\n", + "Q = 8.5/3600;\n", + "N = 750/60;\n", + "B2 = 25*math.pi/180; # Beta 2 ind degrees\n", + "g = 9.81;\n", + "z = 16;\n", + "\n", + " #Calculations\n", + "A = round(math.pi*D*t,5);\n", + "V_f2 = round(Q/A,3);\n", + "U2 = round(math.pi*N*D,3);\n", + "V_w2 = round(U2 - V_f2/math.tan(B2),1);\n", + "Hth = round(U2*V_w2/g,2);\n", + "Sf = round(1 - math.pi*math.sin(B2)/(z*(1-(V_f2/U2)/math.tan(B2))),3);\n", + "H = round(Sf*Hth,2);\n", + "\n", + "print \"Part (a) - Head developed (m): \",Hth\n", + "print \"Part (b) - Head developed (m): \",H" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Part (a) - Head developed (m): 1.16\n", + "Part (b) - Head developed (m): 1.03\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 22.3, Page 797" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Ma = 0.6;\n", + "Cl = 0.6;\n", + "tByC = 0.035; # Thickness to chord ratio\n", + "cByC = 0.015; # Camber to chord ratio\n", + "x = 3; # Angle of incidence\n", + "\n", + " #Calculations\n", + "lamda = 1/(1-Ma**2)**0.5;\n", + "Cl# = lamda*Cl;\n", + "tByC1 = tByC*lamda;\n", + "cByC1 = cByC*lamda;\n", + "Cl1 = Cl*lamda**2;\n", + "Ae = x*lamda;\n", + "print \"____Geometric Characterstics____\\n\"\n", + "print \"Thickness to chord ratio :\",tByC1\n", + "print \"Camber to chord ratio :\",cByC1\n", + "print \"Lift Coefficient :\",Cl1\n", + "print \"angle of incidence (Degrees) :\",Ae" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "____Geometric Characterstics____\n", + "\n", + "Thickness to chord ratio : 0.04375\n", + "Camber to chord ratio : 0.01875\n", + "Lift Coefficient : 0.9375\n", + "angle of incidence (Degrees) : 3.75\n" + ] + } + ], + "prompt_number": 3 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_23.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_23.ipynb new file mode 100755 index 00000000..8cb510fa --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_23.ipynb @@ -0,0 +1,302 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:ef9e21b794b8d045cd677d625f05028772e4370ff57190a11a0021b5fe3769e2" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 23: Performance of Rotodynamic Machines" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 23.1, Page 814" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from pylab import *\n", + "%matplotlib inline\n", + "\n", + " #Initializing the variables\n", + "Q = []\n", + "for c in range(9):\n", + " Q.append(7*c)\n", + "H = [40, 40.6, 40.4, 39.3, 38, 33.6, 25.6, 14.5, 0];\n", + "n = [0, 41, 60, 74, 83, 83, 74, 51, 0];\n", + "N1 = 750;\n", + "N2 = 1450;\n", + "D1 = 0.5;\n", + "D2 = 0.35;\n", + "\n", + " #Calculations\n", + "Q2=[]\n", + "H2=[]\n", + "for c in range(9):\n", + " Q2.append(Q[c]*(N2/N1)*(D2/D1)**3);\n", + " H2.append(H[c]*(N2/N1)**2*(D2/D1)**2);\n", + " \n", + "plot(Q,H,label='H1')\n", + "plot(Q,n,label='n1')\n", + "plot(Q2,H2,'--',label='H2')\n", + "plot(Q2,n,'--',label='n2')\n", + "legend( loc='upper right', numpoints = 1 )\n", + "xlabel(\"Q (m3/s)\");\n", + "ylabel(\"H (m of water) and n(percent)\")\n", + "grid(True)\n", + "show()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEMCAYAAAAidwoiAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsnXdYFFcXxt+lCChdYUFFV5EmIsWCXRRBjRGwBEsUbNHk\nM7HFlqqJScSuUdMUBWuCEpUYjVhYxYIiIqAIKFJUYEF6Z9m93x8bDCqwhZ2d3WV+zzNPMrN37rxn\nB+fs3HPvOSxCCBgYGBgY2iYadAtgYGBgYKAPxgkwMDAwtGEYJ8DAwMDQhmGcAAMDA0MbhnECDAwM\nDG0YxgkwMDAwtGEodQK7du1a6uTklNSnT58Hu3btWgoARUVFpl5eXhdtbW3TvL29I0tKSoyp1MDA\nwMDA0DyUOYEHDx702b9//4LY2NgBCQkJzmfPnn03PT3dOigoaK2Xl9fFtLQ0W09Pz8tBQUFrqdLA\nwMDAwNAylDmBlJQUe3d399u6uro1mpqagpEjR14NDw+fEhER4RMYGBgKAIGBgaGnT5/2o0oDAwMD\nA0PLaFHVcZ8+fR588cUX3xcVFZnq6urWnDt37p3+/fvf5fF4bDabzQMANpvN4/F47DfPZbFYzDJm\nBgYGBhkghLCkaU/Zm4C9vX3KmjVrNnl7e0eOHz/+vIuLy31NTU1B4zYsFos098AnhKjttm7dOto1\nMLYx9jH2qd8mC5QGhufNm3fg7t27/a9evTrSxMSk2NbWNo3NZvPy8vIsACA3N9fS3Nw8n0oNykhm\nZibdEihDnW0DGPtUHXW3TxYodQL5+fnmAJCdnd3tzz//nDxz5sxjPj4+EaGhoYEAEBoaGujn53ea\nSg0MDAwMDM1DWUwAAKZOnXqysLCwo7a2Nv+nn376n5GRUenatWuD/P39w4KDg+dzOJzMsLAwfyo1\nKCNz5syhWwJlqLNtAGOfqqPu9skCS9ZxJCphsVhEGXUxMDAwKDMsFgtEWQLDDM3D5XLplkAZ6mwb\nwNin7JiamoLFYqn9ZmpqKrfvjNLhIAYGB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/N4PHlv15mbm9c2NzeP7O/97t+/P1nx+sKFCwvd3NzyAXooyN/fPxmgk5jJZDIzf3//5L17\n936kvIKourra0tbWtry/9yUQBgsJAgTWcubMmUWnT59e4uDgUGJubl7b2Nho8sUXX/z3667R09Pr\nEgqFBffu3XMEXp+TXfm9r7/+eoNQKCxwd3fPO3jw4Afx8fERAJCamjpf8Yu/qanJODAw8GeRSHTb\n29v7mmIuAQCys7O9vL29r6lKO4HQZ7S9PIkYMU1YVlbWdIFAUNCXmtXx8fGrY2Jitg32nm1tbUZ9\nWfrZ0NBg4uHhcVPbfyNiQ9NIFlEC4RXa29sN586dm3716lUfTYzTHzhwYNPo0aPrQkNDj6n7XgTC\nq5AgQCAQCEMYMidAIBAIQxgSBAgEAmEIQ4IAgUAgDGFIECAQCIQhDAkCBAKBMIQhQYBAIBCGMP8P\nIK1PDnOiPzgAAAAASUVORK5CYII=\n", + "text": [ + "<matplotlib.figure.Figure at 0x322b110>" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 23.2, Page 831" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "n = 0.9;\n", + "g = 9.81;\n", + "D = 1.45;\n", + "N = 375/60;\n", + "H = 200; # Real height\n", + "x = 165; # Theta\n", + "P = 3750*10**3;\n", + "rho = 1000;\n", + "\n", + " #Calculations\n", + "h = n*H; #Effective Head\n", + "v1 = (2*g*h)**0.5;\n", + "u = math.pi*D*N;\n", + "\n", + "n_a = (2*u/v1**2)*(v1-u)*(1-n*math.cos(math.radians(x)));\n", + "\n", + "P_b = P/n_a;\n", + "ppj = P_b/2; # Power per jet\n", + "d = (8*ppj/(rho*math.pi*v1**3))**0.5 ;\n", + "print \"the efficiency of runner :\",round(n_a,3)\n", + "print \"Diameter of Jet (m) :\",round(d,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "the efficiency of runner : 0.933\n", + "Diameter of Jet (m) : 0.156\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 23.3, Page 834" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " #Example 23.3 \n", + "\n", + " #Initializing the variables\n", + "g = 9.81;\n", + "H = 12;\n", + "n = 0.8;\n", + "w = 300*2*math.pi/60;\n", + "Q = 0.28;\n", + "\n", + " #Calculations\n", + "V_f1 = 0.15*(2*g*H)**0.5;\n", + "V_f2 =V_f1;\n", + "V_w1 = (n*g*H)**0.5;\n", + "u1 = V_w1;\n", + "theta = math.atan(V_f1/u1);\n", + "u2 =0.5*u1;\n", + "B2 = math.atan(V_f2/u2);\n", + "r1 = u1/w;\n", + "b1 = Q/(V_f2*0.9*2*math.pi*r1); # vanes occupy 10 per cent of the circumference hence 0.9\n", + "b2 = 2*b1;\n", + "\n", + "print \"Guide vane angle (degree) :\",round(theta*180/math.pi,2)\n", + "print \"Vane angle at exit (degree) :\",round(B2*180/math.pi,2)\n", + "print \"Width of runner at inlet (mm) :\",round(b1*1000,1) \n", + "print \"Width of runner at exit (mm) :\",round(b2*1000,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Guide vane angle (degree) : 13.34\n", + "Vane angle at exit (degree) : 25.38\n", + "Width of runner at inlet (mm) : 69.6\n", + "Width of runner at exit (mm) : 139.3\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 23.4, Page 838" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import solve,symbols\n", + "\n", + " #Initializing the variables\n", + "H = 35;\n", + "g = 9.81;\n", + "D = 2;\n", + "N = 145/60;\n", + "z = 30*math.pi/180; # angle between vanes and direction of runner rotation\n", + "y = 28*math.pi/180; # angle between runner blades at the outlet.\n", + "\n", + " #Calculations\n", + "H_net = 0.93*H ; # since 7% head is lost\n", + "v1 = (2*g*H_net)**0.5;\n", + "u = math.pi*N*D;\n", + "\n", + " # from inlet velocity triangle\n", + "V_r1=14.3\n", + "## ash = cos(beta1+z)\n", + "ash = (V_r1**2+v1**2-u**2)/(2*V_r1*v1)\n", + "beta1=(z+math.acos(ash))*180/math.pi # in degrees\n", + "\n", + "V_r2=(1-8/100)*V_r1 #8 % loss due to friction\n", + "V_w1= u + V_r1*math.cos(math.radians(beta1))\n", + "V_w2= u - V_r2*math.cos(y)\n", + "\n", + "E = (u/g)*(V_w1 - V_w2);\n", + "n = E/H;\n", + "print \"Blade angle at inlet :\",round(beta1,1)\n", + "print \"Efficiency (%) :\",round(n*100)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Blade angle at inlet : 62.1\n", + "Efficiency (%) : 81.0\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 23.5, Page 844" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "s = 0.03;\n", + "P = 185*10**3;\n", + "rho = 0.86*10**3;\n", + "A = 2.8*10**-2;\n", + "N = 2250/60;\n", + "D = 0.46;\n", + "\n", + " #Calculations\n", + "R0 = 0.46/2;\n", + "Ws_Wp = 1-s;\n", + "n = Ws_Wp;\n", + "Pf = s*P;\n", + "Q = (2*Pf*A**2/(3.5*rho))**(1/3);\n", + "Wp = 2*math.pi*N; \n", + "Ri = ((1/Ws_Wp)*(R0**2 -P/(rho*Q*Wp**2)))**0.5;# Modified equation for power transmission.\n", + "Di = 2*Ri;\n", + "T = P/(rho*Wp**3 *D**5);\n", + " \n", + "print \"Mean diameter (mm) :\",round(Di*1000)\n", + "print \"Torque Coefficient :\",round(T,4)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean diameter (mm) : 326.0\n", + "Torque Coefficient : 0.0008\n" + ] + } + ], + "prompt_number": 5 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_24.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_24.ipynb new file mode 100755 index 00000000..ef4fb925 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_24.ipynb @@ -0,0 +1,183 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:0997b77d100b3345365d77881e9dcf23833d271e3f7741c8fb4ad6c260c5ffc6" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 24: Positive Displacement Machines" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 24.1, Page 860" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "H_at = 10.3;\n", + "Hs = 1.5;\n", + "Hd = 4.5;\n", + "Ls = 2;\n", + "Ld = 15;\n", + "g = 9.81;\n", + "Ds = 0.4; # Diameter of stroke\n", + "Db = 0.15; # Diameter of bore\n", + "Dd = 0.05; # Diameter of discharge and suction pipe\n", + "nu = 0.2;\n", + "f = 0.01;\n", + "abs_pump_pressure = 2.4;\n", + "\n", + " #Calculations\n", + "A = math.pi*(Db)**2/4;\n", + "a = math.pi*(Dd)**2/4;\n", + "r = Ds/2;\n", + "W = 2*math.pi*nu;\n", + "Hsf = 0; \n", + "def H_suck(n):\n", + " y = H_at - Hs +(-1)**n*(L/g)*(A/a)*W**2*r; \n", + " return y\n", + "\n", + "def H(n,DischargeOrSuction):\n", + " if(DischargeOrSuction == 1):\n", + " y = H_at - Hs +(-1)**n*(Ls/g)*(A/a)*W**2*r;\n", + " elif(DischargeOrSuction == 2):\n", + " y = H_at + Hd +(-1)**n*(Ld/g)*(A/a)*W**2*r;\n", + " else:\n", + " print \"There is something wrong :\"\n", + " return y\n", + "\n", + "def H_mid(DischargeOrSuction,uA):\n", + " if(DischargeOrSuction == 1):\n", + " Hsf = 4*f*Ls/(2*Dd*g)*(uA/a)**2;\n", + " y = H_at - Hs - Hsf;\n", + " elif(DischargeOrSuction == 2):\n", + " Hsf = 4*f*Ld/(2*Dd*g)*(uA/a)**2;\n", + " y = H_at + Hd + Hsf;\n", + " else:\n", + " print \"There is something wrong :\"\n", + " return y\n", + "\n", + "Hs_start = H(1,1); # Inertia head negative hence n = 1\n", + "Hs_end = H(2,1); # Inertia head positive hence n = 2\n", + "Hd_start = H(1,2);\n", + "Hd_end = H(2,2);\n", + "u = W*r;\n", + "Hs_mid = H_mid(1,u*A);\n", + "slip = 0.04;\n", + "Hd_mid = H_mid(2,u*A);\n", + "suction = [Hs_start, Hs_end, Hs_mid];\n", + "discharge = [Hd_start, Hd_end, Hd_mid];\n", + "suction1=[0,0,0]\n", + "discharge1=[0,0,0]\n", + "for c in range(3):\n", + " suction1[c] =round(suction[c],2)\n", + " discharge1[c] =round(discharge[c],2)\n", + "W_max = (abs((abs_pump_pressure - H_at + Hs)*(g/Ls)*(a/A)*(1/r)))**0.5;\n", + "W_max_rev = W_max/(2*math.pi)*60; # maximum rotation speed in rev/min\n", + "\n", + "header = \"Start End Mid\";\n", + "\n", + "print \"\\n!----Part(a)----! Head at \\n\",header\n", + "print suction1\n", + "print \"\\n!----Part(b)----! Head at \\n\",header\n", + "print discharge1\n", + "print \"\\n!----Part(c)----1 \\nDrive speed for s eperation (rev/min) :\",round(W_max_rev)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "!----Part(a)----! Head at \n", + "Start End Mid\n", + "[8.22, 9.38, 8.38]\n", + "\n", + "!----Part(b)----! Head at \n", + "Start End Mid\n", + "[10.45, 19.15, 17.93]\n", + "\n", + "!----Part(c)----1 \n", + "Drive speed for s eperation (rev/min) : 40.0\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 24.2, Page 863" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Example 24.2 \n", + "\n", + " #Initializing the variables\n", + "H_friction = 2.4;\n", + "H_at = 10.3;\n", + "Hs = 1.5;\n", + "L =2;\n", + "f = 0.01;\n", + "d = 0.05;\n", + "g = 9.81; # Diameter of stroke\n", + "Db = 0.15; # Diameter of bore\n", + "r = 0.2;\n", + "\n", + " #Calculations\n", + "A = math.pi*(Db)**2/4;\n", + "a = math.pi*(d)**2/4;\n", + "W= (((H_at - Hs - H_friction )*(2*d*g/(4*f*L)))**0.5)*(a/A)*(math.pi/r); # in rad/s\n", + "W_rev = W/(2*math.pi)*60; # maximum rotation speed in rev/min\n", + "# IMPORTANT : In book conversion from rad/s to rev/min is wrong, so answer will be diffrent from book\n", + " \n", + "print \"speed in (rad/s) :\",round(W,2)\n", + "print \"Increase in speed (rev/min):\",round(W_rev-40,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "speed in (rad/s) : 15.46\n", + "Increase in speed (rev/min): 107.65\n" + ] + } + ], + "prompt_number": 2 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_25.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_25.ipynb new file mode 100755 index 00000000..9b08e6f3 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_25.ipynb @@ -0,0 +1,328 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:2bebadfad4a18ede042a136ada8984e181f57290a23ad4ed8003a1f83445a447" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 25: Machine\u2013Network Interactions" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 25.4, Page 893" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "Pa_P1 = -200; # From previous Question\n", + "Q = 1.4311 ; # From previous questions.\n", + "\n", + " #Calculations\n", + "DpSys = Pa_P1 + 98.9*Q**2;\n", + "print \"System Operating point (m^3/s):\",round(DpSys,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "System Operating point (m^3/s): 2.55\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 25.7, Page 906" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import solve,symbols\n", + " \n", + "\n", + " #Initializing the variables\n", + "Vo = 25.3; #Outlet velocity\n", + "D = 10 ; # Mean hydraulic diameter\n", + "f = 0.008; # friction factor\n", + "X = 1000; # Length of road\n", + "P = 12600; # Absorbing power\n", + "Va = 300; # Tunnel air flow\n", + "K1 = 0.96;\n", + "K2 = 0.9;\n", + "T = 590; #Thrust\n", + "rho = 1.2; # Air density \n", + "\n", + " #Calculations\n", + "alpha = (1/D)**2;\n", + "A = math.pi*D**2/4; # Area of tunnel\n", + "Vt = Va/A;\n", + "W = Vo/Vt; #Omega\n", + "E = (1-alpha*W);\n", + "C = (1-alpha*W)*(1-E)**2 + E**2 - 1;\n", + " # Manipulating equation 25.20;\n", + "LHS = f*X*(E+1)**2/D + C + 1 ;\n", + "\n", + "n1 = symbols('n1')\n", + "result=solve(K1*(2*((alpha*W**2 + (1-alpha)*E**2-1)+(n1-1)*(alpha*W*(W-1)-C/2)))-LHS)\n", + "\n", + "n=result[0]\n", + "\n", + "\n", + " # Alternative approach using equation 25.22\n", + "n2 = (rho*((4*f*X*Vt**2)/(2*D) + 1.5*Vt**2/2))*A/(K1*K2*T); \n", + "Pt = round(n2)*P;\n", + "\n", + "print \"Number of fans required :\",round(n2)\n", + "print \"Total power consumed (KW) :\",Pt/1000" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Number of fans required : 6.0\n", + "Total power consumed (KW) : 75.6\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 25.8, Page 907" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import solve,symbols\n", + " #Initializing the variables\n", + "f = 0.008;\n", + "T = 290;\n", + "L = 750;\n", + "Dt = 9; # Diameter Tunnel\n", + "Df = 0.63; # Diameter fan\n", + "K1 = 0.98;\n", + "K2 = 0.92;\n", + "Vo = 27.9;\n", + "n = 10;\n", + "A=math.pi*Dt**2/4\n", + "rho=1.2\n", + "X=750\n", + " #Calculations\n", + "alpha = (Df/Dt)**2;\n", + " # equation 25.20 becomes when E = 1 nad C = 0\n", + "W=symbols('W')\n", + "omega = solve(2*K1* (alpha*W**2 +(n-1)*alpha*W*(W-1)) - 4*f*L/Dt -1)\n", + " \n", + "\n", + "for i in range(1,len(omega)): # since omega is always positive and real\n", + " if omega[i]>0:\n", + " w = round(omega[i],1);\n", + "Vt = Vo/w;\n", + "\n", + "# by equation 25.22\n", + "VT=(n*(K1*K2*T)/(A*(rho*((4*f*X)/(2*Dt) + 1.5/2))))**0.5\n", + "print \"Tunnel Velocity (m/s) :\",round(VT,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Tunnel Velocity (m/s) : 4.05\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 25.9, Page 914" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Ws = 0.45;\n", + "Ks = 3.2;\n", + "H = 152;\n", + "h = 0;\n", + "Hatm = 10.3;\n", + "Pv = 350; #vapour pressure\n", + "g = 9.81;\n", + "rho = 1000;\n", + " \n", + " #Calculations\n", + "Ht1 = 152*(Ws/Ks)**(4/3); # the value of Ht1 is 11.12 and in book it is taken as 11.2 so there will be a difference in final answer\n", + "Hvap = round(Pv/(rho*g),3);\n", + "Z = Hatm -h -Hvap -Ht1;\n", + "print \"Elevation of pump (m):\",round(Z,3)\n", + " " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Elevation of pump (m): -0.851\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 25.11, Page 927" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import symbols,solve\n", + "import numpy as np\n", + " \n", + "\n", + " #Initializing the variables\n", + "Co = 0;\n", + "Qc = 0.0024;\n", + "V = 5400;\n", + "c = 10;\n", + " #Calculations\n", + "#####--------------------PART(A)-----------------#######\n", + "n1=symbols('n1')\n", + "def partA(n1):\n", + " Ci = 10;\n", + " # t = infinity so e^(-nt) = 0\n", + " Q=10000*Qc/(c-Co)\n", + " n1 = Q*3600/V; \n", + " return n1\n", + "ans=partA(n1)\n", + "\n", + "print \"Part(A) : number of air changes per hour if the garage is in continuous use and the maximum permissible concentration of carbon monoxide is 0.1 per cent. :\",ans,\"\\n\"\n", + "\n", + "#####--------------------PART(B)-----------------#######\n", + "n=symbols('n')\n", + "def partB(n):\n", + " Ci = 0; \n", + " n=[1.5,1.2,0.9,1.0] \n", + " t=1 # time in hours\n", + " error=[]\n", + " mini=100\n", + " ans=0\n", + " for i in range(4): \n", + " Q = V/3600; \n", + " A = 10000*Qc/Q; # as Co=0 \n", + " error.append(abs((A*(1-math.e**(-n[i]*t))/c)-n[i]));\n", + " if(error[i]<mini):\n", + " mini=error[i]\n", + " ans=n[i]\n", + " return ans \n", + "ans=partB(n)\n", + "print \"Part(B) : number of air changes per hour if this maximum level is reached after 1 hour and the garage is out of use :\",ans,'\\n'\n", + " \n", + "#####--------------------PART(C)-----------------#######\n", + "c=symbols('c')\n", + "def partC(c):\n", + " Ci = 0;\n", + " n = 1; \n", + " t = 0.333333 # 20 minutes in hours\n", + " Q = V*n/3600;\n", + " y = (Co + 10000*Qc/Q)*(1-math.e**(-n*t)) + Ci*math.e**(-n*t) ; \n", + " return y\n", + "ans=partC(c)\n", + "print \"Part(C) :the concentration after 20 minutes (Parts per 10000) :\",round(ans,3),'\\n'\n", + "#####--------------------PART(D)-----------------#######\n", + "t=symbols('t')\n", + "def partD(t):\n", + " Ci = 10;\n", + " n = 1; \n", + " c = 0.1;\n", + " t=np.log(100) \n", + " return round(t,2)\n", + "ans=partD(t) \n", + "print \"Part(D) : time necessary to run the ventilation system at the rate calculated in (b) to reduce the concentration to 0.001 per cent (in hours) :\",ans,\"hours\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Part(A) : number of air changes per hour if the garage is in continuous use and the maximum permissible concentration of carbon monoxide is 0.1 per cent. : 1.6 \n", + "\n", + "Part(B) : number of air changes per hour if this maximum level is reached after 1 hour and the garage is out of use : 1.0 \n", + "\n", + "Part(C) :the concentration after 20 minutes (Parts per 10000) : 4.535 \n", + "\n", + "Part(D) : time necessary to run the ventilation system at the rate calculated in (b) to reduce the concentration to 0.001 per cent (in hours) : 4.61 hours\n" + ] + } + ], + "prompt_number": 3 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_3.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_3.ipynb new file mode 100755 index 00000000..68980a40 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_3.ipynb @@ -0,0 +1,372 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:540962ba0b5999b583f0620c9dca124d46f25fe569649c6c842d96cfa42351a3" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 3: Static Forces on Surfaces. Buoyancy" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.1, Page 65" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "a = 2.7; #Upper edge\n", + "b = 1.2 ; #Lower edge\n", + "width = 1.5; #Width of trapezoidal plate\n", + "h = 1.1; #Height of water column above surface\n", + "rho = 1000;\n", + "g = 9.81 #Acceleration due to gravity\n", + "phi = 90 #Angle between wall and surface\n", + "\n", + " #Calculations\n", + "A = 0.5*(a+b)*width; #Area of Trapezoidal Plate\n", + "y = (2*(0.5*width*0.75)*0.5 + (1.2*width)*0.75)/A;\n", + "z = y+h; #Depth of center of pressure\n", + "R = rho*g*A*z #Resultant force\n", + "\n", + "I0 = 1.2*1.5**3/12 +1.2*1.5*1.85**2 + 1.5*1.5**3/36 + 1.5*0.75*1.6**2 #Second moment of area\n", + "D = (math.sin(math.degrees(phi)))**2*I0/(A*z); #depth of center of pressure\n", + "M = R*(1.8533-1.1); #Moment about hinge\n", + "print \"Moment about the hinge line (kN/m):\",round(M/1000)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Moment about the hinge line (kN/m): 38.0\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.2, Page 67" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "w = 1.8; #Width of plate\n", + "h1 = 5; #Height of plate and water in upstream\n", + "h2 = 1.5; #Height of water in downstream\n", + "rho = 1000;\n", + "g = 9.81 ; #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "def waterForce(area,meanHeight):\n", + " F = rho * g * area * meanHeight;\n", + " return F\n", + "\n", + "P = waterForce(w*h1,h1/2)-waterForce(w*h2,h2/2);# Resultant force on gate \n", + "x = (waterForce(w*h1,h1/2)*(h1/3) - waterForce(w*h2,h2/2)*(h2/3))/P;# point of action of p from bottom\n", + "R = P/(2*math.sin(math.radians(20))); # Total Reaction force\n", + "Rt = 1.18*R/4.8; #Reaction on Top\n", + "Rb = R - Rt ; #Reaction at bottom\n", + "\n", + "print \"Reaction at top (kN):\",round(Rt/1000,1)\n", + "print \"Reaction at bottom (kN):\",round(Rb/1000,2)\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reaction at top (kN): 72.2\n", + "Reaction at bottom (kN): 221.45\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.3, Page 70" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "D = 1.8; #Depth of tank\n", + "h = 1.2; #Depth of water\n", + "l = 3; #Length of wall of tank\n", + "p = 35000; #Air pressure\n", + "rho = 10**3; #Density of water\n", + "g = 9.81; #Acceleration due to gravity\n", + "\n", + "\n", + " #Calculations\n", + "Ra = p*D*l; #Force due to air\n", + "Rw = .5*(rho*g*h)*h*l; #Force due to water\n", + "R = Ra + Rw; # Resultant force\n", + "x = (Ra*0.9+Rw*0.4)/R; # Height of center of pressure from base\n", + "print \"Resultant force on the wall (kN) :\",round(R/1000,2)\n", + "print \"Height of the centre of pressure above the base (m) :\",round(x,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resultant force on the wall (kN) : 210.19\n", + "Height of the centre of pressure above the base (m) : 0.85\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.4, Page 72" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " \n", + "\n", + " #Initializing the variables\n", + "R = 6; # Radius of arc\n", + "h = 2*R*math.sin(math.radians(30)); #Depth of water\n", + "rho = 10**3; #Density of water\n", + "g = 9.81; #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "Rh = (rho*g*h**2)/2; # Resultant horizontal force per unit length\n", + "Rv = rho*g*((60/360)*math.pi*R**2 -R*math.sin(math.radians(30))*R*math.cos(math.radians(30)));# Resultant vertical force per unit length\n", + "R = (Rh**2+Rv**2)**0.5; # Resultant force on gate\n", + "theta = 180/math.pi*math.atan(Rv/Rh); #Angle between resultant force and horizontal\n", + "\n", + "print \"Magnitute of resultant force (kN/m) :\",round(R/1000,2)\n", + "print \"Direction of resultant force to the horizontal(Degrees):\",round(theta,2)\n", + "\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Magnitute of resultant force (kN/m) : 179.45\n", + "Direction of resultant force to the horizontal(Degrees): 10.27\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.5, Page 75" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "B = 6; # Width of pontoon\n", + "L = 12; #Length of pontoon\n", + "D = 1.5; #Draught of pontoon\n", + "Dmax = 2; #Maximum permissible draught\n", + "rhoW = 1000; #Density of fresh water\n", + "rhoS = 1025; #Density of sea water\n", + "g = 9.81; #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "def Weight(D):\n", + " W = rhoW*g*B*L*D;\n", + " return W\n", + "\n", + "W = Weight(D); # Weight of pontoon in fresh water = weight of water displaced\n", + "Ds = W/(rhoS*g*B*L); #Draught in sea water\n", + "L = Weight(Dmax) - Weight(D); # maximum load that can be supported\n", + "\n", + "print \"Weight of pontoon (kN) :\",round(W/1000,1)\n", + "print \"Draught in sea (m) :\",round(Ds,2)\n", + "print \"Load (kN) :\",round(L/1000,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Weight of pontoon (kN) : 1059.5\n", + "Draught in sea (m) : 1.46\n", + "Load (kN) : 353.16\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.6, Page 80" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables\n", + "D = 1.8; # Diameter of buoy\n", + "H = 1.2; #Height of buoy\n", + "W = 10*10**3; #Weight of buoy\n", + "L = 2*10**3; #Load\n", + "G = 0.45; # Center of gravity\n", + "rho = 1025; #Density of sea water\n", + "g = 9.81; #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "Z = 4*(W+L)/(rho*g*math.pi*D**2); # Depth of Immersion\n", + "BG = (math.pi*D**4/64)/(math.pi*D**2*Z/4);\n", + "Z = 0.5*Z +BG; # Position of combined center of gravity\n", + "Z1 = ((W+L)*Z-0.45*W)/L; #Maximum height of load above bottom\n", + "\n", + "print \"Maximum height of center of gravity above bottom (m) :\",round(Z1,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum height of center of gravity above bottom (m) : 1.748\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.7, Page 83" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables\n", + "l = 20; # Length of barage\n", + "b = 6; #Width of barage\n", + "r = 3; #Radius of circular top of barage\n", + "W = 200*10**3; #Weight of empty barage\n", + "d1 = 0.8; # Depth of water in 1st half\n", + "d2 = 1; # Depth of water in 2nd half\n", + "rho = 1000; #Density of water\n", + "R = 0.8; #Relative density of liquid\n", + "g = 9.81; #Acceleration due to gravity\n", + "ZG = 0.45; # Center of gravity of barage\n", + "\n", + " #Calculations\n", + "I00 = l*b**3/12 +math.pi*b**4/128;\n", + "ICC = l*(.5*b)**3/12;\n", + "L = d1*rho*g*l*b/2*(d1+d2); # Weight of liquid load\n", + "W = L + W; #Total weight\n", + "A = l*b +math.pi*r**2/2; # Area of plane of waterline\n", + "V = W/(rho*g); # Volume of vessel submerged\n", + "D = V/A ; #Depth submerged\n", + "ZB = .5*D; #Height of center of buoyancy\n", + "NM = ZB-ZG +(1/V)*(I00-R*2*ICC); # Effective metacentric height\n", + "P = R*rho*g*l*b/2*(d2-d1); #overturning moment \n", + "theta = math.atan(P*1.5/(W*NM))*180/math.pi; #Angle of roll\n", + "# converting into degrees and minutes\n", + "thetaD=round(theta-1)\n", + "thetaM=(theta-thetaD)*60/100\n", + "print \"Angle of roll is\",thetaD,\"degrees\",round(thetaM,2),\"minutes\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Angle of roll is 2.0 degrees 0.37 minutes\n" + ] + } + ], + "prompt_number": 7 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_4.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_4.ipynb new file mode 100755 index 00000000..9429e481 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_4.ipynb @@ -0,0 +1,185 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:029b6e47f117cbc4316b9317b5e197658ff26f93dc8874c76dd6b6c464f4fec0" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 4: Motion Fluid Particles and Streams" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 4.1, Page 103" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import math\n", + "from pylab import *\n", + "import numpy as np\n", + "%matplotlib inline\n", + "\n", + " #Initializing the variables\n", + "x = [0, 23, 28, 31, 32, 29, 22, 14, 0]\n", + "y = np.linspace(0,80,9)\n", + "xlabel('Velocity (m/s)')\n", + "ylabel('Distance from one side(mm)')\n", + "title('Velocity Distribution Curve')\n", + "grid(1)\n", + "\n", + " #Calculations\n", + "plot(x,y,'-*')\n", + "show()\n", + "mu=[17.5 , 26.0, 29.6, 31.9, 30.7, 25.4, 18.1, 7.7]\n", + " # mean velocity\n", + "print \"Mean velocity (m/s):\",round(mean(mu),2)\n", + "\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEXCAYAAABLZvh6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlcFOUfB/DPcsqlgMCCICwpeCCXoOaVeCCeCKIoKoKK\nWmZZmoqWSXnhmVZa+pMAMe+D8EYN1LQUEcQrT1ZQAQ9AOZRr5/fHtIkELqzszg5836/XvHL2/Ows\nzbPzfOd5RsAwDAghhDROalwHIIQQwh1qBAghpBGjRoAQQhoxagQIIaQRo0aAEEIaMWoECCGkEaNG\ngNSJWCwWqampSSQSyTv97RgYGBSIxWJRPcWS6aOPPvpp8eLFX9XHa2VkZFgbGBgUMAwjAAAPD4/E\niIiISfXx2gAwaNCgwzExMYH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AA4dOjQ4I8//nj9pUuXOnbq1ClJ\nIpGoAew0wqo6uyXhF2oECC/o6+sX9u7dO2HChAmR0l/gXbp0OX/27Nnud+/ebQWwk/bdvn3bTvoc\ngUDAdO7c+cKpU6d6PXv2rHlFRYX6jh07Rnt4eCS+//77f50+ffoD6a/p3NxcY+DNnbaBgUHBixcv\nmkrXtbW1S7y8vI599NFHP02YMCFSVmYbG5v7lSf0koVhGEFCQkLvPn36/C5dz8jIsPbw8EgMDw8P\nff78ebPCwkJ9gJ2kTXoUQ8i7oEaA8EZAQMD2K1euOEoLpKampk+ioqKCAwICtjs7O1/u1q3buZs3\nb7ap/Bxzc/Ps8PDw0N69eye4uLikuru7Xxw6dOgBExOTp5s2bZoyfPjwfS4uLqmVi67SX9ijR4/e\nsXLlytlubm7J6enptgAwZsyYbWpqapL+/fvHy8rbo0ePPy5evOhe3X01zVN/5MiRgdKuoPLyco3A\nwMAYJyentI4dO16aMWPGuqZNm74A2KvwffDBB6frtgUJ+S+aQI6QOli1atUXBQUFBt98881CWY9l\nGEbQsWPHS+fPn++ipaVVWpvXd3NzS75w4ULnyv3/VUkkErWOHTteunjxorv0zCNC5EWNACG15Ovr\nuz89Pd32999/72NsbJxbm+ds2LBhmo6OzsvadB/VVlxcnHdaWprTV199tbi+XpM0XtQIEEJII0Y1\nAUIIacSoESCEkEaMGgFCCGnEqBEghJBGjBoBQghpxKgRIISQRuz/6K28GkMW+uwAAAAASUVORK5C\nYII=\n", + "text": [ + "<matplotlib.figure.Figure at 0x31fdd50>" + ] + }, + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean velocity (m/s): 23.36\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 4.2, Page 106" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import math\n", + "from pylab import *\n", + "import numpy as np\n", + "\n", + " #Initializing the variables all unknowns are assigned 0\n", + "\n", + "d = [0.0, 0.05, 0.075, 0, 0.030];\n", + "Q = [0, 0, 0, 0, 0];\n", + "V = [0, 0, 2, 1.5, 0];\n", + "A = [0, 0, 0, 0, 0]\n", + " #Calculations\n", + "A2 = math.pi*d[2]**2/4;\n", + "Q[2] =A2*V[2];\n", + "Q = [0,Q[2], Q[2], Q[2]/1.5 , 0.5*Q[2]/1.5];\n", + "d[3] = (Q[3]*4/(V[3]*math.pi))**0.5;\n", + "for i in range(0,5):\n", + " A[i] = math.pi*d[i]**2/4;\n", + "V[1] = V[2]*(A[2]/A[1]);\n", + "V[4]=Q[4]/A[4];\n", + "\n", + "\n", + "header = \"Diameter(mm) Area(m2)\\t Flow Rate(m3/s) Velocity(m/s)\"\n", + "print header\n", + "for c in range(1,5):\n", + " mm=str(round(d[c]*1000,1))+'\\t '+str(round(A[c],6))+' \\t '+str(round(Q[c],6))+' \\t'+str(round(V[c],2))\n", + " print mm" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Diameter(mm) Area(m2)\t Flow Rate(m3/s) Velocity(m/s)\n", + "50.0\t 0.001963 \t 0.008836 \t4.5\n", + "75.0\t 0.004418 \t 0.008836 \t2.0\n", + "70.7\t 0.003927 \t 0.00589 \t1.5\n", + "30.0\t 0.000707 \t 0.002945 \t4.17\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 4.3, Page 108" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "import sympy\n", + "from sympy import diff, Symbol\n", + "\n", + "\n", + "#Initializing the variables \n", + "'''\n", + "def df(x, h=0.1e-5):\n", + " return ( f(x+h/2) - f(x-h/2) )/h\n", + " return df\n", + "\n", + "print df(2*x,h)\n", + "'''\n", + "x = Symbol('x') \n", + "vx = 3-x\n", + "vy = 4+2*x\n", + "vz = 2-x \n", + "\n", + " #Calculations\n", + "delVx = vx.diff(x); \n", + "delVy = vx.diff(x);\n", + "delVz = vx.diff(x); \n", + "\n", + "result = delVx+delVy+delVz;#requirement of continuity equation (result = 0)\n", + "print \"Satisfy requirement of continuity \"\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Satisfy requirement of continuity \n" + ] + } + ], + "prompt_number": 10 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_5.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_5.ipynb new file mode 100755 index 00000000..b12249f7 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_5.ipynb @@ -0,0 +1,517 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:04c1d9ce4358772aaf36727d98b4d1c000b18de791fe80fc4e6e1ac3cabc0050" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 5: The Momentum Equation and its Applications" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.1, Page 119" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables \n", + "\n", + "l = 60 ; #Length of pipeline\n", + "rho = 1000; # Density of liquid\n", + "a = 0.02; #Acceleration of fluid\n", + "\n", + " #Calculations\n", + "delP = rho*l*a; #Change in pressure\n", + "print \"Increase of pressure difference required (kN/m2):\",delP/1000" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Increase of pressure difference required (kN/m2): 1.2\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.2, Page 121" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables \n", + "v = 5; #Velocity of jet \n", + "rho = 1000; #density of water\n", + "d = 0.025; #Diameter of fixed nozzle\n", + "\n", + " #Calculations\n", + " #--Part(a) Variation of force exerted normal to the plate with plate angle--//\n", + "header = \"Theta\\t vcos(x)\\t pAv\\t Force\"\n", + "unit = \"deg\\t m/s\\t kg/s\\t N\"\n", + "\n", + "A = math.pi*d**2/4;\n", + "x = range(0,91,15);\n", + "for c in range(len(x)):\n", + " x[c]=1.0*x[c]\n", + "m = round(rho*A*v,2);\n", + "ma = [m,m,m,m,m,m,m];\n", + "vcomp=[]\n", + "force=[]\n", + "for c in x:\n", + " vcomp.append(round(v*math.cos(math.radians(c)),2))\n", + " force.append(round((rho*A*v**2)*math.cos(math.radians(c)),2))\n", + "\n", + "print header\n", + "print unit\n", + "for c in range(len(x)):\n", + " mm=str(x[c])+' \\t '+str(vcomp[c])+' \\t'+str(ma[c])+' \\t'+str(force[c])\n", + " print mm\n", + "##value = [x,vcomp,ma,force]\n", + "##print value,unit, header\n", + "\n", + " #--Part(b) Variation of force exerted normal to the plate with plate velocity--// \n", + "header =\"Theta\\t v\\t u\\t v-u\\t pA(v-u)\\t Force\\t\"\n", + "unit =\"deg\\t m/s\\t m/s\\t m/s\\t kg/s\\t N\\t\"\n", + "x = [0,0,0,0,0]\n", + "v = [5,5,5,5,5]\n", + "u = range(2,-3,-1);\n", + "D=[]\n", + "Prod=[]\n", + "Force=[]\n", + "for c in range(5):\n", + " D.append(v[c]-u[c])\n", + " Prod.append(round((rho*A*D[c]),2))\n", + " Force.append(round((rho*A*D[c]**2),2))\n", + " \n", + "print '\\n',\"(b)\",\"\\n\",header\n", + "print unit\n", + "for c in range(len(x)):\n", + " mm=str(x[c])+' \\t '+str(v[c])+' \\t '+str(u[c])+' \\t '+str(D[c])+' \\t '+str(Prod[c])+' \\t '+str(Force[c])\n", + " print mm\n", + " \n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Theta\t vcos(x)\t pAv\t Force\n", + "deg\t m/s\t kg/s\t N\n", + "0.0 \t 5.0 \t2.45 \t12.27\n", + "15.0 \t 4.83 \t2.45 \t11.85\n", + "30.0 \t 4.33 \t2.45 \t10.63\n", + "45.0 \t 3.54 \t2.45 \t8.68\n", + "60.0 \t 2.5 \t2.45 \t6.14\n", + "75.0 \t 1.29 \t2.45 \t3.18\n", + "90.0 \t 0.0 \t2.45 \t0.0\n", + "\n", + "(b) \n", + "Theta\t v\t u\t v-u\t pA(v-u)\t Force\t\n", + "deg\t m/s\t m/s\t m/s\t kg/s\t N\t\n", + "0 \t 5 \t 2 \t 3 \t 1.47 \t 4.42\n", + "0 \t 5 \t 1 \t 4 \t 1.96 \t 7.85\n", + "0 \t 5 \t 0 \t 5 \t 2.45 \t 12.27\n", + "0 \t 5 \t -1 \t 6 \t 2.95 \t 17.67\n", + "0 \t 5 \t -2 \t 7 \t 3.44 \t 24.05\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.3, Page 123" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " \n", + "\n", + " #Initializing the variables \n", + "x = 60; #Angle of deflection theta\n", + "rho = 1000; # Density of liquid\n", + "V1 = 30; #Acceleration of fluid\n", + "V2 = 25;\n", + "m = .8; #Discharge through A\n", + "\n", + " #Calculations\n", + "def Reaction(Vin , Vout):\n", + " R = m*(Vin -Vout) ;\n", + " return R\n", + "Rx = Reaction(V1,V2*math.cos(math.radians(x)));\n", + "Ry = -Reaction(0,V2*math.sin(math.radians(x)));\n", + "print \"Reaction in X-direction (N) :\",Rx\n", + "print \"Reaction in Y-direction (N) :\",round(Ry,2)\n", + "print \"Net Reaction (N) :\",round((Rx**2 +Ry**2)**0.5,2)\n", + "print \"Inclination of Resultant Force with x-direction (Degrees):\",round(180/math.pi*math.atan(Ry/Rx),2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reaction in X-direction (N) : 14.0\n", + "Reaction in Y-direction (N) : 17.32\n", + "Net Reaction (N) : 22.27\n", + "Inclination of Resultant Force with x-direction (Degrees): 51.05\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.4, Page 125" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables \n", + "v1 = 36 ; #Exit velocity\n", + "u = 15; #Velocity of vane\\\n", + "x = 30; # Angle between vanes and flow\n", + "rho = 1000; # Density of water\n", + "d = .1; # Diameter of jet\n", + "\n", + " #Calculations\n", + "alp = (180/math.pi)*math.atan((v1*math.sin(math.radians(x))/(v1*math.cos(math.radians(x))-u)));\n", + "v2 = 0.85*v1*math.sin(math.radians(x));\n", + "bta = (180/math.pi)*math.acos((u*math.sin(math.radians(alp))/v2));\n", + "m = (rho*math.pi*v1*d**2)/4;\n", + "Vin = v1*math.cos(math.radians(x));\n", + "Vout = v2*math.cos(math.radians(90));\n", + "Rx = m*(Vin-Vout);\n", + "\n", + "\n", + "print \"Inlet Angle (Degrees) :\", round(alp,2)\n", + "print \"Outlet Angle (Degrees) :\", round(bta,2)\n", + "print \"Force exerted by vanes (N) :\", round(Rx) \n", + " " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Inlet Angle (Degrees) : 48.05\n", + "Outlet Angle (Degrees) : 43.18\n", + "Force exerted by vanes (N) : 8815.0\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.5, Page 127" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables \n", + "rho = 850 ; # Density of liquid\n", + "a = 0.02 #Acceleration of fluid\n", + "x = 45 ;\n", + "d1 = .5 ;\n", + "d2 = .25;\n", + "p1 = 40*10**3;\n", + "p2 = 23*10**3;\n", + "Q = .45;\n", + " \n", + " #Calculations\n", + "A1 = (math.pi*d1**2)/4;\n", + "A2 = (math.pi*d2**2)/4;\n", + "v1 = Q/A1;\n", + "v2 = Q/A2;\n", + "\n", + "Rx = p1*A1 - p2*A2*math.cos(math.radians(x)) - rho*Q*(v2*math.cos(math.radians(x))-v1);\n", + "Ry = p2*A2*math.sin(math.radians(x)) + rho*Q*v2*math.sin(math.radians(x));\n", + "\n", + "print \"Resultant force on the bend (kN) :\",round((Rx**2 +Ry**2)**0.5/1000,3)\n", + "print \"Inclination of Resultant Force with x-direction (Degrees):\",round(math.atan(Ry/Rx)*180/math.pi)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resultant force on the bend (kN) : 6.362\n", + "Inclination of Resultant Force with x-direction (Degrees): 31.0\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.6, Page 129" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + "\n", + " #Initializing the variables \n", + "v = 4.9; #Velocity of Jet\n", + "rho = 1000; # Density of water\n", + "d = 0.05;\n", + "u = 1.2 # Velocity of tank\n", + " #Calculations\n", + "Vout = v;\n", + "Vin = 0;\n", + "m = rho*math.pi*d**2*v/4;\n", + "R = m*(Vout-Vin);\n", + "print \"Reaction of jet on tank (N) :\",round(R,2)\n", + "print \"Work done per second (W) :\",round(R*u,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reaction of jet on tank (N) : 47.14\n", + "Work done per second (W) : 56.57\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.7, Page 130" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from scipy import integrate\n", + " \n", + " \n", + "\n", + " #Initializing the variables \n", + "Vj = 5*10**6; # Velocity of Jet\n", + "Mr = 150000; # Mass of Rocket\n", + "Mf0 = 300000; # Mass of initial fuel\n", + "Vr = 3000; # Velocity of jet relative to rocket\n", + "g = 9.81; # Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "m = Vj/Vr; #Rate of fuel consumption\n", + "T = Mf0/m; # Burning time\n", + "\n", + "def f(t,m,Vr,Mr,Mf0,g):\n", + " return m*Vr /(Mr + Mf0 - m*t) - g;\n", + " \n", + "args = (5000/3,3000,150000,300000,9.81)\n", + "Vt = integrate.quad(f, 0.0, 180, args)\n", + "\n", + "def h(t,Vr,g):\n", + " return -g*t - Vr*math.log(1 - t/269.95);\n", + " \n", + "args = (3000,9.81)\n", + "Z1 = integrate.quad(h, 0.0, 180, args)\n", + "Z2 = Vt[0]**2/(2*g);\n", + "\n", + "print \"(a)Burning time (s) :\",T\n", + "print \"(b)Speed of rocket when all fuel is burned (m/s):\",round(Vt[0],2)\n", + "print \"(c)Maximum height reached (km) :\",round((Z2+Z1[0])/1000,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a)Burning time (s) : 180.0\n", + "(b)Speed of rocket when all fuel is burned (m/s): 1530.04\n", + "(c)Maximum height reached (km) : 203.8\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.8, Page 134" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "V = 200; #Velocity in still air\n", + "Vr = 700; #velocity of gas relative to engine\n", + "mf = 1.1; # Fuel Consumption\n", + "r = 1/40 ; \n", + "P1 =0;\n", + "P2 = 0;\n", + "\n", + " #Calculations\n", + "m1 = mf/r;\n", + "T = m1*((1+r)*Vr -V);\n", + "print \"(a)Thrust (kN) :\",T/1000\n", + "\n", + "W = T*V;\n", + "print \"(b)Work done per second (kW) :\",W/1000\n", + "\n", + "Loss = 0.5*m1*(1+r)*(Vr-V)**2;\n", + "print \"(c)Efficiency (%) :\",round(W/(W+Loss)*100,1) " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a)Thrust (kN) : 22.77\n", + "(b)Work done per second (kW) : 4554.0\n", + "(c)Efficiency (%) : 44.7\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 5.10, Page 140" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables \n", + "rho = 1000; # Density of water\n", + "Q = 10; #Acceleration of fluid\n", + "r2 = 1.6;\n", + "r1 = 1.2;\n", + "V1 = 2.3;\n", + "V2 = 0.2;\n", + "rot = 240; \n", + "\n", + " #Calculations\n", + "Tf = rho*Q*(V2*r2 - V1*r1);\n", + "T = -Tf;\n", + "n = rot / 60;\n", + "P = 2*round(math.pi,3)*n*T;\n", + "\n", + "print \"Torque exerted by fluid (N.m):\",T\n", + "print \"Theoretical power output (kW) :\",round(P/1000,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Torque exerted by fluid (N.m): 24400.0\n", + "Theoretical power output (kW) : 613.32\n" + ] + } + ], + "prompt_number": 9 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_6.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_6.ipynb new file mode 100755 index 00000000..5cde4008 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_6.ipynb @@ -0,0 +1,504 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:df3153eb902c7efba51ed445ceefd3e3c02fa6ed938e4ef53fe06333d531bf11" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 6: The Energy Equation and its Applications" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.1, Page 170" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "Pc = 0; # Atmospheric Pressure\n", + "Z3 = 30+2; #height of nozzle\n", + "Ep = 50 ; #Energy per unit weight supplied by pump\n", + "d1 = 0.150; #Diameter of sump\n", + "d2 = 0.100; #Diameter of delivery pipe\n", + "d3 = 0.075 ; #Diameter of nozzle\n", + "g = 9.81; # Acceleration due to gravity\n", + "Z2 = 2; #Height of pump\n", + "rho = 1000; # Density of water\n", + "\n", + " #Calculations\n", + "U3 = (2*g*(Ep-Z3)/(1+5*(d3/d1)**4 + 12*(d3/d2)**4))**0.5;\n", + "U1 = U3/4;\n", + "Pb = rho*g*Z2 + 3*rho*U1**2;\n", + "print \"Velocity of Jet through nozzle (m/s) :\",round(U3,3)\n", + "print \"Pressure in the suction pipe at the inlet to the pump at B (kN/m^2) :\",round(Pb/1000,3) " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Velocity of Jet through nozzle (m/s) : 8.314\n", + "Pressure in the suction pipe at the inlet to the pump at B (kN/m^2) : 32.58\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.2, Page 183" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + " #Initializing the variables \n", + "x = 45; # Inclination of pipe\n", + "l = 2; #Length of pipe under consideration\n", + "Ep = 50 ; #Energy per unit weight supplied by pump\n", + "d1 = 0.2; #Diameter of sump\n", + "d2 = 0.1; #Diameter of delivery pipe\n", + "g = 9.81; # Acceleration due to gravity\n", + "rho = 1000; # Density of water\n", + "V1 = 2;\n", + "RD_oil = 0.9; # relative density of oil\n", + "RD_Merc = 13.6; # Relative density of Mercury\n", + "\n", + " #Calculations\n", + "V2 = V1*(d1/d2)**2;\n", + "dZ = round(l*math.sin(math.radians(x)),3); # it is used in book as 1.414,by rounding so here also\n", + "rho_Oil = RD_oil*rho;\n", + "rho_Man = RD_Merc*rho;\n", + "dP = 0.5*rho_Oil*(V2**2-V1**2) + rho_Oil*g*dZ;\n", + "h = rho_Oil *( dP/(rho_Oil*g)- dZ)/(rho_Man - rho_Oil);\n", + "\n", + "print \"Pressure Difference(N/m2) : \",round(dP,0)\n", + "print \"Difference in the level of mercury (m):\",round(h,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressure Difference(N/m2) : 39484.0\n", + "Difference in the level of mercury (m): 0.217\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.3, Page 187" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "d1 = 0.25; #Pipeline diameter\n", + "d2 = 0.10; #Throat diameter\n", + "h =0.63; #Difference in height\n", + "rho = 1000; #Density of water\n", + "g = 9.81 #Acceleration due to gravity\n", + "\n", + " #Calculations\n", + "rho_Hg = 13.6*rho;\n", + "rho_Oil = 0.9*rho;\n", + "A1 = (math.pi*d1**2)/4; # Area at entry\n", + "m = (d1/d2)**2; #Area ratio\n", + "Q = (A1/(m**2-1)**0.5)*(2*g*h*(rho_Hg/rho_Oil -1))**0.5;\n", + "\n", + "print \"Thepretical Volume flow rate (m3/s ):\",round(Q,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Thepretical Volume flow rate (m3/s ): 0.105\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.4, Page 190" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "\n", + "x = 1.5;\n", + "y =0.5;\n", + "H = 1.2;\n", + "A = 650*10**-6;\n", + "Q =0.117;\n", + "g = 9.81;\n", + "\n", + " #Calculations\n", + "Cv =(x**2/(4*y*H))**0.5;\n", + "Cd = Q / (60*A*(2*g*H)**0.5);\n", + "Cc = Cd/Cv;\n", + "\n", + "\n", + "print \"Coefficient of velocity :\",round(Cv,3)\n", + "print \"Coefficient of Discharge :\",round(Cd,3)\n", + "print \"Coefficient of contraction :\",round(Cc,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Coefficient of velocity : 0.968\n", + "Coefficient of Discharge : 0.618\n", + "Coefficient of contraction : 0.639\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.5, Page 192" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "B = 0.7;\n", + "H1 = 0.4;\n", + "H2 = 1.9;\n", + "g =9.81;\n", + "z = 1.5 ; # height of opening\n", + "\n", + " #Calculations\n", + "Q_Th = 2/3 *B*(2*g)**0.5*(H2**1.5 - H1**1.5);\n", + "A = z*B;\n", + "h = 0.5*(H1+H2);\n", + "Q = A*(2*g*h)**0.5;\n", + "\n", + "print \"Percentage error in discharge (%):\",round((Q-Q_Th)*100/Q_Th,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Percentage error in discharge (%): 1.98\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.6, Page 195" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "Cd = 0.6; #Coefficient of discharge\n", + "Q = 0.28;\n", + "x = 90; #Theta\n", + "g = 9.81;\n", + "dH = 0.0015;\n", + "\n", + " #Calculations\n", + "H = (Q*(15/8)/(Cd*(2*g)**0.5*math.tan(math.radians(x/2))))**(2/5)\n", + "Frac_Q = 5/2 *( dH/H);\n", + "\n", + "print \"Percentage error in discharge(%)\",round(Frac_Q*100,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Percentage error in discharge(%) 0.72\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.7, Page 196" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "B = 0.9;\n", + "H = 0.25;\n", + "alpha = 1.1;\n", + "g = 9.81; \n", + "\n", + " #Calculations\n", + "Q = 1.84 * B * H**(3/2);\n", + "print \"Q(m3/s) :\",Q\n", + "\n", + "i = 1;\n", + "while(i <= 3):\n", + " v = Q /(1.2* (H+0.2));\n", + " print \"V(m/s) :\",round(v,4)\n", + " k = ((1 + alpha*v**2/(2*g*H))**1.5 -(alpha*v**2/(2*g*H))**1.5 );\n", + " Q = k* 1.84 * B * H**(3/2);\n", + " print \"Q(m3/s) :\",round(Q,4)\n", + " i = i+1;\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Q(m3/s) : 0.207\n", + "V(m/s) : 0.3833\n", + "Q(m3/s) : 0.2161\n", + "V(m/s) : 0.4001\n", + "Q(m3/s) : 0.2168\n", + "V(m/s) : 0.4016\n", + "Q(m3/s) : 0.2169\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.8, Page 197" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "rho = 1000;\n", + "v = 66 ;\n", + "Q = 0.13;\n", + "g = 9.81; \n", + "z =240;\n", + "\n", + " #Calculations\n", + "P_Jet = 0.5*rho*v**2*Q;\n", + "P_Supp = rho*g*Q*z;\n", + "P_Lost = P_Supp -P_Jet;\n", + "h = P_Lost/(rho*g*Q);\n", + "eff = P_Jet/P_Supp;\n", + "\n", + "print \"Part(a) - power of the jet(kW): \",round(P_Jet/1000,2)\n", + "print \"Part(b) - power supplied from the reservoir (kW):\",round(P_Supp/1000,2) \n", + "print \"Part(C) - head used to overcome losses (m): \",round(h,2)\n", + "print \"Part(d) - Efficiency(%) : \",round(eff*100,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Part(a) - power of the jet(kW): 283.14\n", + "Part(b) - power supplied from the reservoir (kW): 306.07\n", + "Part(C) - head used to overcome losses (m): 17.98\n", + "Part(d) - Efficiency(%) : 92.5\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.9, Page 203" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from scipy import integrate\n", + "\n", + " #Initializing the variables \n", + "r1 = 0.2;\n", + "Z1 = 0.500;\n", + "Z2 = 0.340;\n", + "g = 9.81;\n", + "rho = 0.9*1000 ;\n", + "\n", + " #Calculations\n", + "r0 = r1*((2-2*Z2/Z1)**0.5);\n", + "omega = round((2*g*Z1/r0**2)**0.5,1)\n", + "\n", + "def G(r):\n", + " out =r**3 - r*r0**2;\n", + " return out\n", + " \n", + "results = integrate.quad(G, r0, r1)\n", + "\n", + "F = rho*omega**2*math.pi*results[0];\n", + "\n", + "print r0,r1\n", + "print \"Part(a) Speed of rotation (rad/s ):\",round(omega,1)\n", + "print \"Part(b) Upward force on the cover (N): \",round(F,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "0.16 0.2\n", + "Part(a) Speed of rotation (rad/s ): 19.6\n", + "Part(b) Upward force on the cover (N): 56.3\n" + ] + } + ], + "prompt_number": 9 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 6.10, Page 206" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "Ra = 0.2;\n", + "Rb = 0.1;\n", + "H = 0.18;\n", + "Za = 0.125;\n", + "\n", + " #Calculations\n", + "Y = Ra**2*(H-Za);\n", + "Zb = H - Y/Rb**2;\n", + "\n", + "print \"Height above datum of a point B on the free surface at a radius of 100 mm (mm):\",Zb*1000" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Height above datum of a point B on the free surface at a radius of 100 mm (mm): -40.0\n" + ] + } + ], + "prompt_number": 10 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_7.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_7.ipynb new file mode 100755 index 00000000..95848de2 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_7.ipynb @@ -0,0 +1,221 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:58b7373e6785b57ec4db0eaf49754884e3dad15de9e9489fc1c2bb500d413f82" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 7: Two-Dimentional Idea Flow" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.2, Page 235" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables \n", + "x = 120; #Theta\n", + "r = 1;\n", + "v0 = 0.5;\n", + "q = 2;\n", + "theta =120;\n", + "\n", + " #Calculations\n", + "Vr = v0*r*math.cos(math.radians(theta)) +q/(2*math.pi)\n", + "Vth = -v0*math.sin(math.radians(theta))\n", + "V = (Vr**2+Vth**2)**0.5;\n", + "alpha = math.atan(abs(Vth/Vr));\n", + "bet = x-alpha*180/math.pi;\n", + "\n", + "\n", + "print \"Fluid Velocity(m/s) :\",round(V,3)\n", + "print \"Beta (Degree) :\",round(bet,2)\n", + "print \"Alpha (Degree) :\",round(alpha*180/math.pi,2)\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Fluid Velocity(m/s) : 0.438\n", + "Beta (Degree) : 38.96\n", + "Alpha (Degree) : 81.04\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.3, Page 239" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "from scipy.optimize import fsolve\n", + "import sympy\n", + "from sympy import RootOf, I, Symbol\n", + " #Initializing the variables \n", + "q = 10;\n", + "def shi(x,y):\n", + " Z = (q/2/math.pi)*(math.atan(y/(x-1))-math.atan(y/(x+1))) - 25*y;\n", + " return Z\n", + "h = 0.0000001;\n", + "Vinf = 25;\n", + "x=Symbol('x')\n", + " #Calculations\n", + "#f = lambda x : x**2 - 2/(5*math.pi) -1\n", + "result = [RootOf(x**2- 2/(5*math.pi) -1,i) for i in (0,1)] \n", + "\n", + "root1=round(result[0],3)\n", + "root2=round(result[1],3)\n", + "l = abs(abs(root1)+abs(root2));\n", + "Ymax = 0.047;\n", + "width = 2*Ymax;\n", + "Vx = (shi(1-h,1)-shi(1-h,1-h))/h; # At x=1 the function atan is not defined hence taking x a little smaller.\n", + "Vy = -1*(shi(1-2*h,1)-shi(1-h,1))/h; # At x=1 the function atan is not defined hence taking x a little smaller.\n", + "\n", + "V = (Vx**2+Vy**2)**0.5;\n", + "rho = Symbol('rho')\n", + "dP = rho/2*round((V**2 - Vinf**2),2); #difference in pressure\n", + "\n", + "print \"Pressure Difference (N/m2) :\",dP\n", + "print \"Velocity (m/s) :\",round(V,2)\n", + "print \"Length of Rankine Body(m) :\",l\n", + "print \"Width of Rankine Body (m) :\",width" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressure Difference (N/m2) : 16.93*rho\n", + "Velocity (m/s) : 25.67\n", + "Length of Rankine Body(m) : 2.124\n", + "Width of Rankine Body (m) : 0.094\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.4, Page 242" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math #Example 7.4\n", + "\n", + " #Initializing the variables\n", + "a = 0.02;\n", + "r = 0.05;\n", + "V0 = 1;\n", + "x = 135; # Theta\n", + "def shi(r,x):\n", + " Z = V0*math.sin(math.radians(x))*(r-((a**2)/r));\n", + " return Z\n", + "h = 0.0001;\n", + "\n", + " #Calculations\n", + "Vr = 57*(shi(r,x+h)-shi(r,x))/(r*h);\n", + "Vx = -1*(shi(r+h,x)-shi(r,x))/h;\n", + "\n", + "print \"Radial Velocity (m/s) :\",round(Vr,3)\n", + "print \"Normal component of velocity (m/s):\",round(Vx,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Radial Velocity (m/s) : -0.591\n", + "Normal component of velocity (m/s): -0.82\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.5, Page 246" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "rho = 1000;\n", + "r = 2;\n", + "psi = 2*math.log(r);\n", + "\n", + " #Calculations\n", + "y = psi/math.log(r); # y = GammaC / 2*pi\n", + "v = y/r;\n", + "dPbydr = rho*v**2/r;\n", + "print \"Pressuer Gradient (N/m3 ) :\",dPbydr" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pressuer Gradient (N/m3 ) : 500.0\n" + ] + } + ], + "prompt_number": 5 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_8.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_8.ipynb new file mode 100755 index 00000000..cd940a0c --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_8.ipynb @@ -0,0 +1,73 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:b0713ad3f7c2f18448b69f687926b2d86e094144766f7b44f7fc20525a516074" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 8: Dimensional Analysis" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 8.1, Page 268" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "P1 = 57; #Power in SI\n", + "M = 1/14.6; #Ratio of mass in SI/British\n", + "L = 1/0.3048; #Ratio of length in SI/British\n", + "T = 1; #Ratio of time in SI/British\n", + "\n", + "#Calculations\n", + "'''\n", + "n1 is the horsepower and N1 is the corresponding number of British units (ft*lbf/second),\n", + "then N1 = 550*n1.\n", + "Similarly, for the SI system, n2 in kW,\n", + " N2 = 1000*n2\n", + "''' \n", + "N = (T**3)/(M*L**2) # N2/N1\n", + "n = N*550/1000 #n2/n1 \n", + "P2 = n*P1 ; #Power in kW\n", + "\n", + "print \"Power in kW :\",round(P2,1)\n", + "print \"Conversion Factor :\",round(n,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power in kW : 42.5\n", + "Conversion Factor : 0.746\n" + ] + } + ], + "prompt_number": 1 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_9.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_9.ipynb new file mode 100755 index 00000000..5d9fe9d6 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_9.ipynb @@ -0,0 +1,337 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:38d704564aa6536fc6da296a78f2a33e8cb9eb20a3ce0fa8f700546de7fd07b5" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 9: Similarity" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.1, Page 291" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + "\n", + "\n", + " #Initializing the variables\n", + "Vp = 10;\n", + "LpByLm = 20;\n", + "rhoPbyRhoM = 1;\n", + "muPbymuM = 1;\n", + " #Calculations\n", + "Vm = Vp*LpByLm*rhoPbyRhoM*muPbymuM;\n", + " \n", + "print \"Mean water tunnel flow velocity (m/s) :\",Vm" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean water tunnel flow velocity (m/s) : 200\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.2, Page 292" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + "\n", + " #Initializing the variables\n", + "Vp = 3;\n", + "LpByLm = 30;\n", + "rhoPbyRhoM = 1;\n", + "muPbymuM = 1;\n", + "\n", + " #Calculations\n", + "Vm = Vp*LpByLm*rhoPbyRhoM*muPbymuM;\n", + " \n", + "print \"Mean water tunnel flow velocity (m/s):\",Vm" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean water tunnel flow velocity (m/s): 90\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.3, Page 293" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + "\n", + " #Initializing the variables\n", + "Vp = 100;\n", + "cP = 340;\n", + "cM = 295;\n", + "rhoM = 7.7;\n", + "rhoP = 1.2;\n", + "muM = 1.8*10**-5;\n", + "muP = 1.2*10**-5;\n", + "\n", + " #Calculations\n", + "Vm = Vp*(cM/cP);\n", + "LmByLp = 1/((Vm/Vp)*(muM/muP)*(rhoM/rhoP));\n", + "FmByFp = (rhoM/rhoP)*(Vm/Vp)**2*(LmByLp)**2;\n", + "\n", + "print 'Mean wind tunnel flow velocity(m/s) :',round(Vm,2)\n", + "print \"Percentage ratio of forces (%) :\",round(FmByFp*100,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mean wind tunnel flow velocity(m/s) : 86.76\n", + "Percentage ratio of forces (%) : 6.93\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.4, Page 295" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + "\n", + " #Initializing the variables\n", + "def pLossRatio(RatRho,RatMu,RatL):\n", + " Z = RatRho*RatMu**2*RatL**2;\n", + " return Z\n", + "\n", + " #Calculations\n", + " #Case (a) : water is used\n", + "RatRho = 1;\n", + "RatMu = 1;\n", + "RatL = 10;\n", + "print \"(a)Ratio of pressure losses between the model and the prototype if water is used :\",pLossRatio(RatRho,RatMu,RatL)\n", + "\n", + "# Case (b) : air is used\n", + "RatRho = 1000/1.23;\n", + "RatMu = 1.8*10**-5/10**-3;\n", + "\n", + "print \"(b)Ratio of pressure losses between the model and the prototype if air is used :\",round(pLossRatio(RatRho,RatMu,RatL),2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a)Ratio of pressure losses between the model and the prototype if water is used : 100\n", + "(b)Ratio of pressure losses between the model and the prototype if air is used : 26.34\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.5, Page 296" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + " #Initializing the variables\n", + "scale = 1/50;\n", + "ratArea = scale**2;\n", + "Qp = 1200;\n", + "\n", + " #Calculations\n", + "LmByLp = (ratArea)**0.5;\n", + "VmByVp = (LmByLp)**0.5;\n", + "Qm = Qp*ratArea*VmByVp;\n", + "\n", + "print \"Water flow rate (m3/s ):\",round(Qm,3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Water flow rate (m3/s ): 0.068\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.6, Page 298" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + " #Initializing the variables\n", + "Qa = 2;\n", + "Na = 1400;\n", + "rhoA = 0.92;\n", + "rhoS = 1.3;\n", + "DaByDs = 1;\n", + "dPa = 200;\n", + "\n", + " #Calculations\n", + "Ns = Na*(rhoA/rhoS)*(DaByDs);\n", + "Qs = Qa*(Ns/Na);\n", + "dPs = dPa *(rhoS/rhoA)*(Ns/Na)**2*(1/DaByDs)**2;\n", + "\n", + "print \"Fan test speed (rev/s):\",round(Ns,1)\n", + "print \"Flow rate (m3/s) :\",round(Qs,3)\n", + "print \"Pressure rise (N/m2 ) :\",round(dPs,1) " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Fan test speed (rev/s): 990.8\n", + "Flow rate (m3/s) : 1.415\n", + "Pressure rise (N/m2 ) : 141.5\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.8, Page 304" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import math\n", + " \n", + "\n", + " #Initializing the variables\n", + "V = 300 # Volume rate\n", + "w = 3;\n", + "d = 65;\n", + "l = 30;\n", + "scaleH = 30/1000/18;\n", + "scaleV = 1/60;\n", + "ZmByZr = 1/60;\n", + "LmByLr = 1/600;\n", + "rho = 1000;\n", + "mu = 1.14*10**-3;\n", + "\n", + " #Calculations\n", + "Vr = V/(w*d); \n", + "Vm =Vr*(ZmByZr)**0.5;\n", + "m = (w*d*scaleH*scaleV)/(d*scaleH + 2*w*scaleV);\n", + "Rem = rho*Vm*m/mu;\n", + "TmByTr = LmByLr*(1/ZmByZr)**0.5;\n", + "Tm = 12.4*60*TmByTr;\n", + "\n", + "\n", + "\n", + "print \"Tidal Period (minutes):\",round(Tm,1)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Tidal Period (minutes): 9.6\n" + ] + } + ], + "prompt_number": 8 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/README.txt b/Fluid_Mechanics_by_John_F_Douglas/README.txt new file mode 100755 index 00000000..d96dbe87 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/README.txt @@ -0,0 +1,10 @@ +Contributed By: Ashish Kumar +Course: btech +College/Institute/Organization: IITB +Department/Designation: Aerospace Engg. +Book Title: Fluid Mechanics +Author: John F. Douglas +Publisher: Pearson Education +Year of publication: 2005 +Isbn: 978-0-13-129293-2 +Edition: 5th
\ No newline at end of file diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/Screenshot_from_2014-04-24_10_11_42.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/Screenshot_from_2014-04-24_10_11_42.png Binary files differnew file mode 100755 index 00000000..03ac1d9d --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/Screenshot_from_2014-04-24_10_11_42.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch11.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch11.png Binary files differnew file mode 100755 index 00000000..7f1e98ab --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch11.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch3.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch3.png Binary files differnew file mode 100755 index 00000000..1b4c7079 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch3.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch5.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch5.png Binary files differnew file mode 100755 index 00000000..66f3995c --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/ch5.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/incresepressure.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/incresepressure.png Binary files differnew file mode 100755 index 00000000..aaeed6e9 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/incresepressure.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/plot1.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/plot1.png Binary files differnew file mode 100755 index 00000000..caf0a78f --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/plot1.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/plot2.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/plot2.png Binary files differnew file mode 100755 index 00000000..35633e7f --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/plot2.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/veldistrtn.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/veldistrtn.png Binary files differnew file mode 100755 index 00000000..1b513465 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/veldistrtn.png diff --git a/Fluid_Mechanics_by_John_F_Douglas/screenshots/veldistrtn_1.png b/Fluid_Mechanics_by_John_F_Douglas/screenshots/veldistrtn_1.png Binary files differnew file mode 100755 index 00000000..359a0fa5 --- /dev/null +++ b/Fluid_Mechanics_by_John_F_Douglas/screenshots/veldistrtn_1.png |