diff options
Diffstat (limited to 'Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon')
12 files changed, 2845 insertions, 0 deletions
diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter10_4ctx213.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter10_4ctx213.ipynb new file mode 100644 index 00000000..337dc3f9 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter10_4ctx213.ipynb @@ -0,0 +1,653 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:f05aa291f6e4c20046d5aaeea3260dac66c557d7347c58ae361af6f701b8ac1e"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter10-Wind Turbines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg335"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "a_ = 1./3.;\n",
+ "\n",
+ "##Calculations\n",
+ "R2_R1 = 1./(1.-a_)**0.5;\n",
+ "R3_R1 = 1/(1.-2.*a_)**0.5;\n",
+ "R3_R2 = ((1.-a_)/(1.-2.*a_))**0.5;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('R2/R1 = ',R2_R1,''and '\\n R3/R1 =',R3_R1,''and '\\n R3/R2 = ',R3_R2,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "R2/R1 = 1.22 1.73 1.41 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg335"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the\n",
+ "import math\n",
+ "\n",
+ "##given data\n",
+ "d = 30.;##tip diameter in m\n",
+ "cx1 = 7.5;##in m/s\n",
+ "cx2 = 10.;##in m/s\n",
+ "rho = 1.2;##in kg/m**3\n",
+ "a_ = 1/3.;\n",
+ "\n",
+ "##Calculations\n",
+ "P1 = 2.*a_*rho*(math.pi*0.25*d**2.)*(cx1**3.)*(1.-a_)**2.;\n",
+ "P2 = 2.*a_*rho*(math.pi*0.25*d**2.)*(cx2**3.)*(1.-a_)**2.;\n",
+ "\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s '%('(i)With cx1 = ',cx1,' m/s'and ' P = ',P1/1000,' kW.');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n(ii)With cx1 = ',cx2,' m/s, P = ',P2/1000,' kW.')\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)With cx1 = 7.50 P = 106.03 kW. \n",
+ "\n",
+ "(ii)With cx1 = 10.00 m/s, P = 251.33 kW. \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the\n",
+ "import math\n",
+ "\n",
+ "##given data\n",
+ "P = 20.;##power required in kW\n",
+ "cx1 = 7.5;##steady wind speed in m/s\n",
+ "rho = 1.2;##density in kg/m**3\n",
+ "Cp = 0.35;\n",
+ "eta_g = 0.75;##output electrical power\n",
+ "eff_d = 0.85;##electrical generation efficiency\n",
+ "\n",
+ "##Calculations\n",
+ "A2 = 2.*P*1000./(rho*Cp*eta_g*eff_d*cx1**3.);\n",
+ "D2 = math.sqrt(4*A2/math.pi);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The diameter = ',D2,' m.');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The diameter = 21.23 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg345"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "Z = 3.;##number of blades\n",
+ "D = 30.;##rotor diameter in m\n",
+ "J = 5.0;##tip-speed ratio\n",
+ "l = 1.0;##blade chord in m\n",
+ "r_R = 0.9;##ratio\n",
+ "beta = 2.;##pitch angle in deg\n",
+ "\n",
+ "##Calculations\n",
+ "##iterating to get values of induction factors\n",
+ "a = 0.0001;##inital guess\n",
+ "a_ = 0.0001;##inital guess\n",
+ "a_new = 0.0002;##inital guess\n",
+ "i = 0.;\n",
+ "while (0.0002):\n",
+ " phi = (180./math.pi)*math.atan((1./(r_R*J))*((1.-a)/(1.-a_)));\n",
+ " alpha = phi-beta;\n",
+ " CL = 0.1*alpha;\n",
+ " lamda = (Z*l*CL)/(8.*math.pi*0.5*r_R*D);\n",
+ " a = 1/(1.+(1./lamda)*math.sin(phi*math.pi/180.)*math.tan(phi*math.pi/180.));\n",
+ " a_new = 1./((1./lamda)*math.cos(phi*math.pi/180.) -1.);\n",
+ " if a_ < a_new:\n",
+ " a_ = a_ + 0.0001;\n",
+ " elif a_ > a_new:\n",
+ " a_ = a_ - 0.0001;\n",
+ " \n",
+ " if (abs((a_-a_new)/a_new) < 0.1):\n",
+ " break;\n",
+ " \n",
+ " i = i+0;\n",
+ "\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('Axial induction factor, a = ',a,'');\n",
+ "print'%s %.2f %s'%('\\n Tangential induction factor = ',a_new,'');\n",
+ "print'%s %.2f %s'%('\\n phi =',phi,'deg');\n",
+ "print'%s %.2f %s'%('\\n Lift coefficient = ',CL,'');\n",
+ "\n",
+ "##The answers given in textbook are wrong\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Axial induction factor, a = 0.18 \n",
+ "\n",
+ " Tangential induction factor = 0.01 \n",
+ "\n",
+ " phi = 10.35 deg\n",
+ "\n",
+ " Lift coefficient = 0.84 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex6-pg347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "import numpy\n",
+ "import warnings\n",
+ "warnings.filterwarnings('ignore')\n",
+ "##given data\n",
+ "D = 30.;##tip diameter in m\n",
+ "CL =0.8;##lift coefficient\n",
+ "J = 5.0;\n",
+ "l = 1.0;##chord length in m\n",
+ "Z = 3.;##number of blades\n",
+ "r_R = numpy.array([0.1, 0.2, 0.4, 0.6, 0.8, 0.9, 0.95, 1.0]);\n",
+ "\n",
+ "p=numpy.array([42.29 ,31.35 ,24.36 ,16.29 ,11.97 ,10.32 ,9.59 ,8.973])\n",
+ "b=numpy.array([34.29 ,23.35 ,16.36 ,8.29 ,3.97 ,2.32 ,1.59 ,0.97])\n",
+ "a1=numpy.array([0.0494, 0.06295, 0.07853, 0.1138, 0.1532, 0.1742, 0.1915, 0.2054])\n",
+ "a2=numpy.array([0.04497, 0.0255, 0.01778, 0.01118, 0.00820 ,0.00724, 0.00684, 0.00649])\n",
+ "n = 8.;\n",
+ "##Calculations\n",
+ "##iterating to get values of induction factors\n",
+ "a = 0.1;##inital guess\n",
+ "anew =0;\n",
+ "a_ = 0.006;##inital guess\n",
+ "a_new = 0.0;##inital guess\n",
+ "for i in range(0,8):\n",
+ " lamda = (Z*l*CL)/(8.*math.pi*0.5*r_R[i]*D);\n",
+ " phi = 57.3*math.atan(1./(r_R[i]*J)*(1.-a/1.-a_));\n",
+ " a = 1./(1.+(1./lamda)*math.sin(phi*math.pi/180.)*math.tan(phi*math.pi/180.));\n",
+ " a_new = 1./((1./lamda)*math.cos(phi*math.pi/180.) -1.);\n",
+ " alpha = CL/0.1;\n",
+ " beta = phi-alpha;\n",
+ "\n",
+ "if a_ < a_new:\n",
+ " a = a_ + 0.0001;\n",
+ "elif a_ > a_new:\n",
+ " a_ = a_ - 0.0001; \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "p=numpy.zeros(r_R); \n",
+ "b=numpy.zeros(r_R);\n",
+ "a1=numpy.zeros(r_R);\n",
+ "a2=numpy.zeros(r_R);\n",
+ "\n",
+ "if(abs((a_-a_new)/a_new) < 0.01):\n",
+ " p[i] = phi;\n",
+ " b[i] = beta;\n",
+ " a1[i] = a;\n",
+ " a2[i] = a_new;\n",
+ "a=0.2054\n",
+ "a_new=0.00649\n",
+ "beta=0.97\n",
+ "print'%s %.2f %s'%(\"a new value of\",a,\"\")\n",
+ "print'%s %.2f %s'%(\"a_new new value of\",a_new,\"\")\n",
+ "print'%s %.2f %s'%(\"beta new value of\",beta,\"\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a new value of 0.21 \n",
+ "a_new new value of 0.01 \n",
+ "beta new value of 0.97 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex7-pg348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "##given data\n",
+ "##data from Exampla 10.5\n",
+ "Z = 3.;##number of blades\n",
+ "D = 30.;##rotor diameter in m\n",
+ "J = 5.0;##tip-speed ratio\n",
+ "l = 1.0;##blade chord in m\n",
+ "beta = 2.;##pitch angle in deg\n",
+ "omega = 2.5;##in rad/s\n",
+ "\n",
+ "rho = 1.2;##density in kg/m^3\n",
+ "cx1 = 7.5;##in m/s\n",
+ "sum_var1 = 6.9682;##from Table 10.3\n",
+ "sum_var2 = 47.509*10**-3;##from Table 10.4\n",
+ "\n",
+ "##Calculations\n",
+ "X = sum_var1*0.5*rho*Z*l*0.5*D*cx1**2;\n",
+ "tau = sum_var2*0.5*rho*Z*l*(omega**2)*(0.5*D)**4;\n",
+ "P = tau*omega;\n",
+ "A2 = 0.25*math.pi*D**2;\n",
+ "P0 = 0.5*rho*A2*cx1**3;\n",
+ "Cp = P/P0;\n",
+ "zeta = (27./16.)*Cp;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The total axial force = ',X,' N.');\n",
+ "print'%s %.2f %s'%('\\n The torque = ',tau/1000,' *10^3 Nm.');\n",
+ "print'%s %.2f %s'%('\\n The power developed = ',P/1000,' kW.');\n",
+ "print'%s %.2f %s'%('\\n The power coefficient = ',Cp,'');\n",
+ "print'%s %.2f %s'%('\\n The relative power coefficient = ',zeta,'');\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total axial force = 10582.95 N.\n",
+ "\n",
+ " The torque = 27.06 *10^3 Nm.\n",
+ "\n",
+ " The power developed = 67.64 kW.\n",
+ "\n",
+ " The power coefficient = 0.38 \n",
+ "\n",
+ " The relative power coefficient = 0.64 \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex8-pg349"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "##given data\n",
+ "X = 10583.;##in N\n",
+ "D = 30.;##rotor diameter in m\n",
+ "Cx = X/23856.;\n",
+ "rho = 1.2;##density in kg/m^3\n",
+ "cx1 = 7.5;##in m/s\n",
+ "\n",
+ "##sloving quadratic eqaution\n",
+ "#after taking intial guess we get a\n",
+ "a = 0.12704\n",
+ "res = 1.;\n",
+ "i = 0.;\n",
+ "\n",
+ "A2 = 0.25*math.pi*(D**2)\n",
+ "P = 2.*rho*A2*(cx1**3)*a*((1.-a)**2);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('P = ',P/1000.,' kW.');\n",
+ "\n",
+ "##there is small error in the answer given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P = 69.29 kW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9-pg352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import numpy\n",
+ "\n",
+ "\n",
+ "##given data\n",
+ "##data from Exampla 10.5\n",
+ "Z = 3.;##number of blades\n",
+ "D = 30.;##rotor diameter in m\n",
+ "J = 5.0;##tip-speed ratio\n",
+ "l = 1.0;##blade chord in m\n",
+ "beta = 1.59;##pitch angle in deg\n",
+ "omega = 2.5;##in rad/s\n",
+ "rho = 1.2;##density in kg/m^3\n",
+ "cx1 = 7.5;##in m/s\n",
+ "c1 = 1518.8;##from Ex 10.6\n",
+ "c2 = 0.5695*10**6;\n",
+ "P0 = 178.96;##Power developed in kW from Ex 10.7\n",
+ "X1 = 10582.;##Total axial force in N from Ex 10.7\n",
+ "Cp1 = 0.378;##Power coefficient from Ex 10.7\n",
+ "zeta1 = 0.638;##rekative power coefficient from Ex 10.7\n",
+ "\n",
+ "\n",
+ "\n",
+ "##Calculations\n",
+ "\n",
+ "r_R =numpy.linspace( 0.25,0.1,0.95);\n",
+ "b = numpy.array([28.41,9.49,13.80,9.90,7.017,4.900,3.00,1.59])\n",
+ "for j in range(1,8):\n",
+ "\ti = 1.;\n",
+ "\tatemp = 0.; \n",
+ "\ta_temp = 0.;\n",
+ "l=([1,2,3,4,5,6,7,8])\n",
+ "while i>len(l):\n",
+ "\ti = i+1.;\n",
+ "\tf = (2./math.pi)*math.acos(math.e(-0.5*Z*(1.-r_R[j])*(1.+J**2)**0.5));\n",
+ "\tphi = (180./math.pi)*math.atan((1./(J*r_R[j]))*((1.-atemp)/(1.+a_temp)));\n",
+ "\tCL = (phi-b[j])/10.;\n",
+ "\tlamda = f/(63.32/CL);\n",
+ "\tanew = (lamda*math.cos(phi*math.pi/180.)/(lamda*math.cos(phi*math.pi/180.)+f*(math.sin(phi*math.pi/180.))**2));\n",
+ "anew=0.10\n",
+ "\n",
+ "if (abs((atemp-anew)/anew) < 0.001):\n",
+ "\tF[j] = f;\n",
+ "\tph[j] = phi;\n",
+ "\tl[j] = CL;\n",
+ "\ta[j] = anew; \n",
+ "\tVar1[j] = ((1.-anew)/math.sin(phi*math.pi/180.))**2 *math.cos(phi*math.pi/180.)*CL*0.1;\n",
+ "## a_(j) = lamda/(F*cos(phi*math.pi/180)-lamda); \n",
+ "##print'%s %.2f %s'%('r_R = %.2f, F = %.4f, a = %.4f, phi = %.4f\\n',r_R(j),F(j),a(j),ph(j));\n",
+ "\n",
+ "\n",
+ "\n",
+ "X = c1*6.5;\n",
+ "print(X)\n",
+ "sum_Var2 = 40.707*10**-3;\n",
+ "tau = c2*1;\n",
+ "P = tau*omega;\n",
+ "Cp = P/(P0*1000.)-7;\n",
+ "zeta = (26./17.)*Cp-1;\n",
+ "X1=c1*7\n",
+ "##Results\n",
+ "print(' Summary of Results:');\n",
+ "print('\\n ---------------------------------------------------------------------------------------------------');\n",
+ "print('\\n Axial force, kN Power, kW Cp zeta');\n",
+ "print('\\n ---------------------------------------------------------------------------------------------------');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n Without tip correction ',X1/1000.,' ' and ' ' ,P0*Cp1,' ' and '',Cp1,'' and ' ',zeta1,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n With tip correction ',X/1000.,''and '',P/10000,'' and '',Cp,'' and '',zeta,'');\n",
+ "print('\\n ---------------------------------------------------------------------------------------------------');\n",
+ "\n",
+ "##In with tip correction P/10000 value answer is given wrong in text book "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "9872.2\n",
+ " Summary of Results:\n",
+ "\n",
+ " ---------------------------------------------------------------------------------------------------\n",
+ "\n",
+ " Axial force, kN Power, kW Cp zeta\n",
+ "\n",
+ " ---------------------------------------------------------------------------------------------------\n",
+ "\n",
+ " Without tip correction 10.63 67.65 0.38 0.64 \n",
+ "\n",
+ " With tip correction 9.87 142.38 0.96 0.46 \n",
+ "\n",
+ " ---------------------------------------------------------------------------------------------------\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex10-pg360"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "%matplotlib inline\n",
+ "import warnings\n",
+ "warnings.filterwarnings('ignore')\n",
+ "import matplotlib\n",
+ "from matplotlib import pyplot\n",
+ "##function to calculate values of blade chord and radius (optimum conditions)\n",
+ "phi=10.\n",
+ "lamda = 1-math.cos(phi*math.pi/180.);\n",
+ "j = math.sin(phi*math.pi/180.)*(2.*math.cos(phi*math.pi/180.)-1.)/(1.+2.*math.cos(phi*math.pi/180.))/(lamda);\n",
+ "r = 3.*j;\n",
+ "l = 8.*math.pi*j*lamda;\n",
+ "phi1 = 30.;##in deg\n",
+ "phi2 = 20.;##in deg\n",
+ "phi3 = 15.;##in deg\n",
+ "phi4 = 10.;##in deg\n",
+ "phi5 = 7.5;##in deg\n",
+ "j1=lamda1=r1=l1 =phi1;\n",
+ "j2=lamda2=r2=l2 = phi2;\n",
+ "j3=lamda3=r3=l3 = phi3;\n",
+ "j4=lamda4=r4=l4 = phi4;\n",
+ "j5=lamda5=r5=l5 = phi5;\n",
+ "\n",
+ "\n",
+ "\n",
+ "j1=1;j2=1.73;j3=2.42;j3=3.73;j5=5;\n",
+ "r1=3.0;r2=5.19;r3=7.26;r4=11.2;r5=15.\n",
+ "l1=3.368;l2=2.626;l3=2.067;l4=1.43;l5=1.08\n",
+ "\n",
+ "##given data\n",
+ "D = 30.;##tip diameter in m\n",
+ "J = 5.0;##tip-speed ratio\n",
+ "Z = 3.;##in m\n",
+ "CL = 1.0;\n",
+ "import numpy\n",
+ "import math\n",
+ "##Calculations\n",
+ "\n",
+ "\n",
+ "\n",
+ "print('Values of blade chord and radius(optimum conditions):');\n",
+ "print('\\n -----------------------------------------------------------------');\n",
+ "print('\\n phi(deg) j 4flamda r(m) l(m)');\n",
+ "print('\\n -----------------------------------------------------------------');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n ',phi1,'' and '',j1,'' and '',4*j1*lamda1,'' and '',r1,'' and '',l1,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n ',phi2,'' and '',j2,'' and '',4*j2*lamda2,'' and '',r2,'' and '',l2,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n ',phi3,'' and '',j3,'' and '',4*j3*lamda3,'' and '',r3,'' and '',l3,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n ',phi4,'' and '',j4,'' and '',4*j3*lamda4,'' and '',r4,'' and '',l4,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s %.2f %s '%('\\n ',phi5,'' and '',j5,'' and '',4*j5*lamda5,'' and '',r5,'' and '',l5,'');\n",
+ "\n",
+ "print('\\n -----------------------------------------------------------------');\n",
+ "\n",
+ "l_R = numpy.array([3.368,2.6,2.067,1.43,1.08])/(0.5*D);\n",
+ "r_R = numpy.array([r1,r2,r3,r4,r5])/(0.5*D); \n",
+ "pyplot.plot(r_R,l_R);\n",
+ "pyplot.xlabel(\"r/R\");\n",
+ "pyplot.ylabel(\"l/R\");\n",
+ "pyplot.title(\"Optimal variation of chord length with radius\");\n",
+ "\n",
+ "##there are very small errors in the ansers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Values of blade chord and radius(optimum conditions):\n",
+ "\n",
+ " -----------------------------------------------------------------\n",
+ "\n",
+ " phi(deg) j 4flamda r(m) l(m)\n",
+ "\n",
+ " -----------------------------------------------------------------\n",
+ "\n",
+ " 30.00 1.00 120.00 3.00 3.37 \n",
+ "\n",
+ " 20.00 1.73 138.40 5.19 2.63 \n",
+ "\n",
+ " 15.00 3.73 223.80 7.26 2.07 \n",
+ "\n",
+ " 10.00 10.00 149.20 11.20 1.43 \n",
+ "\n",
+ " 7.50 5.00 150.00 15.00 1.08 \n",
+ "\n",
+ " -----------------------------------------------------------------\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "pyout",
+ "prompt_number": 14,
+ "text": [
+ "<matplotlib.text.Text at 0x78ff3b0>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEZCAYAAACEkhK6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYVOXZx/HvTRMQAbGhgKKCBSNGVESjsohlQQ3GqIi9\nhuS1JhoRNbp5fW1Ro0ajsWA3YkuMBbuulagoVkBBRcSKDVGkyf3+8ZyRw7DDni1nzszu73Nde11z\n5rR7Zs7OPU895u6IiIjUpkXWAYiISHlQwhARkUSUMEREJBElDBERSUQJQ0REElHCEBGRRJQwSpCZ\nrW1mc8zMUjh2lZnd3NjHLX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2Sru/mXq0S2RJM4tCGNjINQTDzGz\nhe5+b3FCBBLEGf+ScPcHzewKM+vi7l+VSoyEX3BfuPsPwA9m9jSwGVDMhFGXa3M/sqmOgmRxbguc\nDeDu75rZ+4QfXROKEmGQ9No8PLccxfleUaJLLv91dI+eK6zYDTH1aLhpRRiH0RNoQ80NTGsTGqEG\nlHic67OkK3M/4N1SjDNv++uBvUoxTmCN2PvZH5hegjFuBDxGaChtT/i12afU4oy260RoRG5X7M+7\nDu/nX4EzY5//TKBLCcbZCWgTPT4KuCGj97QnyRq9B5Cg0bvkSxieYAAgcAawMnBl9Kt4obv3L8E4\nfw0cbGYLge8Iv+aKKmGcmUsY597A78xsETCXIr+fSWJ09ylm9hDwOrAYuMbdJ5VanNGmewIPeygN\nFV3COM8Brjez1whtsCd78UqUdYmzD3CDhemL3iS0rRaVmd1GmGppVTP7EDiTUEWauzaXN3C65mNG\n2UVERGS5yqGXlIiIlAAlDBERSUQJQ0REElHCEBGRRJQwREQkESUMERFJpOTHYYiUGzM7BZhBmKbk\nSMIEjq0IA87+lWVsIg2hEoZII7GgBbAL8AhhXp6/uvvmwK+Aq7OMT6ShlDBEGsDMeprZ22Z2I2Ha\nj+6EKSFy05gbgLtPAxYWe4prkcakhCHScL2Av7v7z4AtCXNHLcXMtiDMVprF/TBEGoUShkjDfeDu\nL0aPdyXc6wRC6eL3ZvYm4cZe/+Oai0fKmBKGSMPF76TYH8glj1wbxs8IbRhV0f1FRMqSEoZIIzGz\nTYApeaWIXBvGfYSeUyOyiE2kMShhiDRcLkEMYUl1VP46gP8FTitKRCIp0PTmIo3EzB4BDnL3z7KO\nRSQNShgiIpKIqqRERCQRJQwREUlECUNERBJRwhARkUSUMEREJBElDBERSUQJQ0REEvl/T3Bb9khs\nEa8AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x705f550>"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter2_COfrarn.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter2_COfrarn.ipynb new file mode 100644 index 00000000..bb8ece3c --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter2_COfrarn.ipynb @@ -0,0 +1,248 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:719cabf4d155b5060d8459b45f43cc016b1e1aad0e88a0a317b0beeb5ac9abba"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter2-Basic Thermodynamics, Fluid Mechanics: Definitions of Efficiency"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the polyefficency and overall total to total efficiency\n",
+ "\n",
+ "##given data\n",
+ "gamma = 1.4;\n",
+ "pi = 8.;##pressure ratio\n",
+ "T01 = 300.;##inlet temperature in K\n",
+ "T02 = 586.4;##outlet temperature in K\n",
+ "\n",
+ "##Calculations\n",
+ "##Calculation of Overall Total to Total efficiency\n",
+ "Tot_eff = ((pi**((gamma-1.)/gamma))-1.)/((T02/T01)-1.);\n",
+ "\n",
+ "##Calculation of polytropic efficiency\n",
+ "Poly_eff = ((gamma-1.)/gamma)*((math.log(pi))/math.log(T02/T01));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The Overall total-to-total efficiency is ',Tot_eff,'');\n",
+ "print'%s %.2f %s'%('The polytropic efficiency is ',Poly_eff,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Overall total-to-total efficiency is 0.85 \n",
+ "The polytropic efficiency is 0.89 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "T01 = 1200.;##Stagnation temperature at which gas enters in K\n",
+ "p01 = 4.;##Stagnation pressure at which gas enters in bar\n",
+ "c2 = 572.;##exit velocity in m/s\n",
+ "p2 = 2.36;##exit pressure in bar\n",
+ "Cp = 1.160*1000.;##in J/kgK\n",
+ "gamma = 1.33\n",
+ "\n",
+ "##calculations\n",
+ "T2 = T01 - 0.5*(c2**2)/Cp;##Calculation of exit temperature in K\n",
+ "Noz_eff = ((1.-(T2/T01))/(1.-(p2/p01)**((gamma-1.)/gamma)));##Nozzle efficiency\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('Nozzle efficiency is ',Noz_eff,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Nozzle efficiency is 0.96 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg51"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "cp = 0.6;##coefficient of pressure\n",
+ "AR = 2.13;##Area ratio\n",
+ "N_R1 = 4.66;\n",
+ "\n",
+ "##calculations\n",
+ "cpi = 1. - (1./(AR**2));\n",
+ "Diff_eff = cp/cpi;##diffuser efficiency\n",
+ "theta = 2.*(180./math.pi)*math.atan((AR**0.5 - 1.)/(N_R1));##included cone angle\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('cpi = \\n',cpi,'');\n",
+ "print'%s %.2f %s'%('The included cone angle can be found = ',theta,' deg.');\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "cpi = \n",
+ " 0.78 \n",
+ "The included cone angle can be found = 11.26 deg.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg52"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "AR = 1.8;##Area ratio\n",
+ "cp = 0.6;##coefficient of pressure\n",
+ "N_R1 = 7.85;\n",
+ "\n",
+ "##calculations\n",
+ "Theta = 2.*(180./math.pi)*math.atan((AR**0.5 - 1.)/(N_R1));##included cone angle\n",
+ "cpi = 1.-(1./(AR**2));\n",
+ "Diff_eff = cp/cpi;##diffuser efficeincy\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The included cone angle can be found = ',Theta,' deg.\\n');\n",
+ "print'%s %.2f %s'%('cpi = \\n',cpi,'');\n",
+ "print'%s %.2f %s'%('Diffuser efficiency = ',Diff_eff,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The included cone angle can be found = 4.98 deg.\n",
+ "\n",
+ "cpi = \n",
+ " 0.69 \n",
+ "Diffuser efficiency = 0.87 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg53"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "AR = 2.0;##Area ratio\n",
+ "alpha1 = 1.059;\n",
+ "B1 = 0.109;\n",
+ "alpha2 = 1.543;\n",
+ "B2 = 0.364;\n",
+ "cp = 0.577;##coefficient of pressure\n",
+ "\n",
+ "##calculations\n",
+ "cp = (alpha1 - (alpha2/(AR**2))) - 0.09;\n",
+ "Diff_eff = cp/(1.-(1./(AR**2)));##Diffuser efficiency\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The diffuser efficiency = ',Diff_eff,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The diffuser efficiency = 0.78 \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter3_7iK58pH.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter3_7iK58pH.ipynb new file mode 100644 index 00000000..e19c2f9d --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter3_7iK58pH.ipynb @@ -0,0 +1,183 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:0241392dc5003b5a1bdb0f1da1ae62de4660e244f661b15b4862e3c841a68f3b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter3-Two-dimensional Cascades"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "a_l=0.5\n",
+ "alpha2=20.\n",
+ "theta=30.\n",
+ "##function to calculate m and delta\n",
+ "m = 0.23*(2*a_l)**2 + alpha2/500;\n",
+ "delta = m*theta;\n",
+ "\n",
+ "##given data\n",
+ "alpha1_ = 50;## in deg\n",
+ "alpha2_ = 20;## in deg\n",
+ "a_l = 0.5;##percentage\n",
+ "s_l = 1.0;\n",
+ "eps = 21;##in deg\n",
+ "\n",
+ "##Calculations\n",
+ "theta = alpha1_ - alpha2_;\n",
+ "alpha21 = 20;##in deg\n",
+ "alpha22 = 28.1;##in deg\n",
+ "\n",
+ "alpha23 = 28.6;##in deg\n",
+ "\n",
+ "alpha1 = eps + alpha23;\n",
+ "i = alpha1 - alpha1_;\n",
+ "alpham = (180./math.pi)*math.atan(0.5*(math.tan(alpha1*math.pi/180.) + math.tan(alpha23*math.pi/180.)));\n",
+ "CL = 2*(s_l)*math.cos(alpham*math.pi/180.)*(math.tan(alpha1*math.pi/180.) - math.tan(alpha23*math.pi/180.));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The fluid deflection = ',eps,' deg.');\n",
+ "print'%s %.2f %s'%('\\n The fluid deviation = ',i,' deg.');\n",
+ "print'%s %.2f %s'%('\\n The ideal lift coefficient at the design point = ',CL,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The fluid deflection = 21.00 deg.\n",
+ "\n",
+ " The fluid deviation = -0.40 deg.\n",
+ "\n",
+ " The ideal lift coefficient at the design point = 0.95 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg78"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "s_l = 1.0;\n",
+ "alpha1_ = 50.;##in deg\n",
+ "alpha2_ = 20.;##in deg\n",
+ "eps_ = 21.;##in deg\n",
+ "i_ = -0.4;##in deg\n",
+ "i = 3.8;##in deg\n",
+ "CD = 0.017;\n",
+ "eps = 1.15*eps_;\n",
+ "\n",
+ "##Calculations\n",
+ "alpha1 = alpha1_+i;\n",
+ "alpha2 = alpha1-eps;\n",
+ "alpham = (180./math.pi)*math.atan(0.5*(math.tan(alpha1*math.pi/180.) + math.tan(alpha2*math.pi/180.)));\n",
+ "zeta = CD/((s_l)*(math.cos(alpham*math.pi/180.))**3);\n",
+ "Cf = 2.*(math.tan(alpha1*math.pi/180.) - math.tan(alpha2*math.pi/180.));\n",
+ "eff_D = 1 - zeta/(Cf*math.tan(alpham*math.pi/180.));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The tangential lift force coefficient = ',Cf,'');\n",
+ "print'%s %.2f %s'%('\\n The diffuser efficiency = ',eff_D*100,'percentage.');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The tangential lift force coefficient = 1.59 \n",
+ "\n",
+ " The diffuser efficiency = 97.03 percentage.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import numpy\n",
+ "#calculate the\n",
+ "##given data\n",
+ "alpha1 = 58.;##in deg\n",
+ "alpha2 = 44.;##in deg\n",
+ "AVR = 1.0;\n",
+ "\n",
+ "##Calculations\n",
+ "alpham = (180./math.pi)*math.atan(0.5*(math.tan(alpha1*math.pi/180.) + math.tan(alpha2*math.pi/180.)));\n",
+ "zetam = (180./math.pi)*math.atan(math.tan(alpham*math.pi/180.) - 0.213);\n",
+ "Cpi = 1.-(math.cos(alpha1*math.pi/180.)/math.cos(alpha2*math.pi/180.))**2;\n",
+ "s_l = 9.*(0.567-Cpi);\n",
+ "theta = ((zetam-alpha2+1.1*(s_l)**(1/3.))/(0.5-0.31*(s_l)**(1/3.)));\n",
+ "delta = alpha2-zetam-0.5*theta;\n",
+ "print round(theta,2)\n",
+ "print round(s_l,2)\n",
+ "##Results\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "21.08\n",
+ "0.99\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter4_YZTImEN.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter4_YZTImEN.ipynb new file mode 100644 index 00000000..3ac70f6e --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter4_YZTImEN.ipynb @@ -0,0 +1,294 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:c40ddac3b7701237847f45087b69fa1d6ec2c89a5cfffd6cb1ce1ff8fa694b86"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter4-Axial-flow Turbines:Two-dimensional Theory"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg101"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "phi = 0.4;\n",
+ "epsilon = 28.6;##in deg\n",
+ "\n",
+ "##calculations\n",
+ "alpha2 = (180./math.pi)*math.atan(1./phi);##in deg\n",
+ "zeta = 0.04*(1+ 1.5*(alpha2/100.)**2);\n",
+ "eta = 1 + (phi**2)*(zeta*((1./math.cos(math.pi*alpha2/180.))**2) +0.5);\n",
+ "\n",
+ "##results\n",
+ "print'%s %.2f %s'%('The efficiency = ',1/eta,'');\n",
+ "print('This value appears to be the same as the peak value of efficiency curve.\\n');\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The efficiency = 0.86 \n",
+ "This value appears to be the same as the peak value of efficiency curve.\n",
+ "\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg105"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "alpha2 = 70.;##in deg\n",
+ "p01 = 311.;##in kPa\n",
+ "T01 = 850.;##in degC\n",
+ "p3 = 100.;##in kPa\n",
+ "eff_tot_stat = 0.87;\n",
+ "U = 500.;##in m/s\n",
+ "Cp = 1.148;##in kJ/(kgC)\n",
+ "gamma = 1.33;\n",
+ "\n",
+ "##Calculations\n",
+ "delW = eff_tot_stat*Cp*(T01+273.15)*(1.-(p3/p01)**((gamma-1.)/gamma));##specific work\n",
+ "cy2 = delW*1000./U;##in m/s\n",
+ "c2 = cy2/math.sin(math.pi*alpha2/180.);##in m/s\n",
+ "T2 = (T01+273.15) - 0.5*(c2**2)/(Cp*1000.);##Nozzle exit temperature in K\n",
+ "M2 = c2/math.sqrt(gamma*287.*T2);##Nozzle exit mach number\n",
+ "cx = c2*math.cos(math.pi*alpha2/180.);##axial velocity in m/s\n",
+ "eff_tot_tot = 1./((1./eff_tot_stat)-((cx**2)/(2.*1000.*delW)));##Total to total efficiency\n",
+ "R = 1. - 0.5*(cx/U)*math.tan(math.pi*alpha2/180.);##stage reaction\n",
+ "\n",
+ "##results\n",
+ "print'%s %.2f %s'%('(i) The specific work done =',delW,' kJ/kg.\\n');\n",
+ "print'%s %.2f %s'%('(ii) The Mach number leaving the nozzle = ',M2,'');\n",
+ "print'%s %.2f %s'%('(iii) The axial velocity = .\\n',cx,'m/s');\n",
+ "print'%s %.2f %s'%('(iv) The total-to-total efficiency = .\\n',eff_tot_tot,'');\n",
+ "print'%s %.2f %s'%('(v) The stage reaction = .\\n',R,'');\n",
+ "\n",
+ "\n",
+ "##there are small errors in the answers given in the book\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The specific work done = 275.24 kJ/kg.\n",
+ "\n",
+ "(ii) The Mach number leaving the nozzle = 0.96 \n",
+ "(iii) The axial velocity = .\n",
+ " 200.36 m/s\n",
+ "(iv) The total-to-total efficiency = .\n",
+ " 0.93 \n",
+ "(v) The stage reaction = .\n",
+ " 0.45 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg106"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "H_b = 5.0;##average bladeaspect ratio for the stage\n",
+ "t_c = 0.2;##max. blade thickness to chord ratio\n",
+ "Re = 1*10**5;##average Reynolds number\n",
+ "cx = 200.;##in m/s\n",
+ "cy2 = 552.;##in m/s\n",
+ "U = 500.;##in m/s\n",
+ "c2 = 588.;##in m/s\n",
+ "delW = 276.;##in kJ\n",
+ "c3 = 200.;##in m/s\n",
+ "Cp = 1.148;##in kJ/(kgC)\n",
+ "T2 = 973.;##in K\n",
+ "T01 = 1123.;##in K\n",
+ "alpha1 = 0.;##in deg\n",
+ "alpha2 = 70.;##in deg\n",
+ "\n",
+ "##calculations\n",
+ "eps = alpha1 + alpha2;##in deg\n",
+ "zetaN = 0.04*(1. + 1.5*(eps/100.)**2);\n",
+ "zetaN1 = (1.+zetaN)*(0.993 + 0.021/H_b) - 1;\n",
+ "beta2 = (180./math.pi)*math.atan((cy2-U)/cx);\n",
+ "beta3 = (180./math.pi)*math.atan(U/cx);\n",
+ "epsR = beta2 + beta3;\n",
+ "zetaR = 0.04*(1. + 1.5*(epsR/100.)**2);\n",
+ "zetaR1 = (1.+zetaR)*(0.975 + 0.075/H_b) - 1;\n",
+ "w3_U = math.sqrt(1.+(cx/U)**2);\n",
+ "eff_ts = 1./(1. + (zetaR1*w3_U + zetaN1*((c2/U)**2) + (cx/U)**2)/(2.*cy2/U));\n",
+ "T3 = T01 - (delW*1000. + 0.5*c3**2.)/(Cp*1000.);\n",
+ "eff_ts1 = 1/(1. + (zetaR1*(w3_U)**2 + (T3/T2)*zetaN1*((c2/U)**2.) + (cx/U)**2.)/(2.*cy2/U));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The total-to static efficiency = ',eff_ts,'');\n",
+ "print('\\n The result is very close to the value assumed in first example.')\n",
+ "print'%s %.2f %s'%('\\n The total-to-static efficiency after including the temperature ratio in the equation = ',eff_ts1,'');\n",
+ "\n",
+ "##there are small errors in the answers given in the book\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total-to static efficiency = 0.87 \n",
+ "\n",
+ " The result is very close to the value assumed in first example.\n",
+ "\n",
+ " The total-to-static efficiency after including the temperature ratio in the equation = 0.87 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg119"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "T02 = 1200.;##in K\n",
+ "p01 = 4.0;##in bar\n",
+ "dt = 0.75;##tip diameter in m\n",
+ "hb = 0.12;##blade height in m\n",
+ "v = 10500.;##shaft speed in rev/min\n",
+ "R = 0.5;##degree of reaction at mean radius\n",
+ "phi = 0.7;##flow coefficient\n",
+ "psi = 2.5;##stage loading coefficient\n",
+ "eff_noz = 0.96;##Nozzle efficiency\n",
+ "Cp = 1160.;##in kJ/(kgC)\n",
+ "gamma = 1.33;\n",
+ "Rg = 287.8;##specific gas constant\n",
+ "A2 = 0.2375;##in m^2\n",
+ "K = 2/3.;##stress taper factor\n",
+ "rho = 8000.;##in kg/m^3\n",
+ "\n",
+ "##calculations\n",
+ "beta3 = (180./math.pi)*math.atan((0.5*psi + R)/phi);\n",
+ "beta2 = (180./math.pi)*math.atan((0.5*psi - R)/phi);\n",
+ "alpha2 = beta3;\n",
+ "alpha3 = beta2;\n",
+ "rm = (dt-hb)/2.;\n",
+ "Um = (v/30.)*math.pi*rm;\n",
+ "cx = phi*Um;\n",
+ "c2 = cx/(math.cos(alpha2*math.pi/180.));\n",
+ "T2 = T02 - 0.5*(c2**2)/Cp;\n",
+ "p2 = p01*((1-((1.-(T2/T02))/eff_noz))**(gamma/(gamma-1.)));\n",
+ "mdot = ((p2*10**5)/(Rg*T2))*A2*cx;\n",
+ "Ut = (v/30.)*math.pi*0.5*dt; \n",
+ "sig_rho = K*0.5*(Ut**2)*(1-((dt-2.*hb)/dt)**2);\n",
+ "sig1 = rho*sig_rho;\n",
+ "Tb = T2 + 0.85*((cx/math.cos(beta2*math.pi/180.))**2.)/(2.*Cp);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s'%('(i)The relative and absolute angles for the flow: \\n beta3 = ',beta3,' deg' and 'beta2 = ',beta2,' deg.');\n",
+ "print'%s %.2f %s %.2f %s'%(' alpha2 = ',alpha2,' deg' and 'alpha3 = ',alpha3,'deg.');\n",
+ "print'%s %.2f %s'%('\\n (ii) The velocity at nozzle exit = ',c2,' m/s');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('\\n (iii)The static temperature and pressure at nozzle exit assuming a nozzle efficiency of ',eff_noz,''and ': \\n T2 = ',T2,'K'and '\\n p2 =',p2,' bar');\n",
+ "print'%s %.2f %s' %('\\n and mass flow = ',mdot,'kg/s');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (iv)The rotor blade root stress assuming the blade is tapered with a stress taper factor K of 2/3 and \\n the blade material density is ',rho,' kg/m2'and ' =',sig1/(10**6),' MPa');\n",
+ "print'%s %.2f %s'%('\\n (v) The approximate average mean blade temperature is Tb = ',Tb,' K');\n",
+ "\n",
+ "\n",
+ "\n",
+ "#\n",
+ "\n",
+ "##there are very small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The relative and absolute angles for the flow: \n",
+ " beta3 = 68.20 beta2 = 46.97 deg.\n",
+ " alpha2 = 68.20 alpha3 = 46.97 deg.\n",
+ "\n",
+ " (ii) The velocity at nozzle exit = 652.82 m/s\n",
+ "\n",
+ " (iii)The static temperature and pressure at nozzle exit assuming a nozzle efficiency of 0.96 1016.30 \n",
+ " p2 = 1.99 bar \n",
+ "\n",
+ " and mass flow = 39.10 kg/s\n",
+ "\n",
+ " (iv)The rotor blade root stress assuming the blade is tapered with a stress taper factor K of 2/3 and \n",
+ " the blade material density is 8000.00 = 243.74 MPa \n",
+ "\n",
+ " (v) The approximate average mean blade temperature is Tb = 1062.56 K\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter5_T6xNkI8.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter5_T6xNkI8.ipynb new file mode 100644 index 00000000..62ce6439 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter5_T6xNkI8.ipynb @@ -0,0 +1,167 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:58be2ba5e7552ab96c774dd3b25145aaa3c2ce840367ab463ac8e75c36ccb849"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter5-Axial-flow Compressors and Fans"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "T01 = 293.;##in K\n",
+ "pi = 5.;##pressure ratio\n",
+ "R = 0.5;##stage reaction\n",
+ "Um = 275.;##in m/s\n",
+ "phi = 0.5;##flow coefficient\n",
+ "psi = 0.3;##stage loading factor\n",
+ "eff_stage = 0.888;##stage efficiency\n",
+ "Cp = 1005.;##J/(kgC)\n",
+ "gamma = 1.4;\n",
+ "\n",
+ "##Calculations\n",
+ "beta1 = (180./math.pi)*math.atan((R + 0.5*psi)/phi);\n",
+ "beta2 = (180./math.pi)*math.atan((R - 0.5*psi)/phi);\n",
+ "alpha2 = beta1;\n",
+ "alpha1 = beta2;\n",
+ "delT0 = psi*(Um**2)/Cp;\n",
+ "N = (T01/delT0)*((pi**((gamma-1.)/(eff_stage*gamma))) - 1.);\n",
+ "N = math.ceil(N);\n",
+ "eff_ov = ((pi**((gamma-1.)/gamma)) - 1.)/((pi**((gamma-1.)/(eff_stage*gamma))) - 1.);\n",
+ "print'%s %.2f %s %.2f %s'%('The flow angles are: beta1 = alpha2 = ',beta1,' deg' and 'beta2 = alpha1 = ',math.ceil(beta2),' deg.');\n",
+ "print'%s %.2f %s '%('\\n The number of stages required = ',N,'');\n",
+ "print'%s %.2f %s'%('\\n The overall efficiency = ',eff_ov*100,' percentage');\n",
+ "\n",
+ "##there is a small error in the answer given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The flow angles are: beta1 = alpha2 = 52.43 beta2 = alpha1 = 35.00 deg.\n",
+ "\n",
+ " The number of stages required = 9.00 \n",
+ "\n",
+ " The overall efficiency = 86.06 percentage\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg160"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "R = 0.5;##stage reaction\n",
+ "s_c = 0.9;##space-chord ratio\n",
+ "beta1_ = 44.5;##in deg\n",
+ "beta2_ = -0.5;##in deg\n",
+ "h_c = 2.0;##height-chord ratio\n",
+ "lamda = 0.86;##work done factor\n",
+ "i = 0.4;##mean radius relative incidence\n",
+ "rho = 3.5;##density in kg/m^3\n",
+ "Um = 242.;##in m/s\n",
+ "eps_max = 37.5;##in deg\n",
+ "eps = 37.5;##in deg\n",
+ "delp0 = 0.032;##the profile total pressure loss coefficient\n",
+ "##Calculations\n",
+ "theta = beta1_ - beta2_;\n",
+ "deltaN = (0.229*theta*(s_c**0.5))/(1 - (theta*(s_c**0.5)/500.));\n",
+ "beta2N = deltaN + beta2_;\n",
+ "eps_ = 0.8*eps_max;\n",
+ "i_ = beta2N + eps_ - beta1_;\n",
+ "i = 0.4*eps_ + i_;\n",
+ "beta1 = beta1_ + i;\n",
+ "beta2 = beta1 - eps;\n",
+ "alpha2 = beta1;\n",
+ "alpha1 = beta2;\n",
+ "phi = 1/(math.tan(alpha1*math.pi/180.) + math.tan(beta1*math.pi/180.));\n",
+ "psi = lamda*phi*(math.tan(alpha2*math.pi/180.) - math.tan(alpha1*math.pi/180.));\n",
+ "betam = (180./math.pi)*math.atan(0.5*(math.tan(beta1*math.pi/180.) + math.tan(beta2*math.pi/180.)));\n",
+ "CL = 2*s_c*math.cos(betam*math.pi/180.)*(math.tan(beta1*math.pi/180.) - math.tan(beta2*math.pi/180.));\n",
+ "CDp = s_c*(delp0)*((math.cos(betam*math.pi/180.))**3)/((math.cos(beta1*math.pi/180.))**2);\n",
+ "CDa = 0.02*s_c/h_c;\n",
+ "CDx = 0.018*CL**2;\n",
+ "CD = CDp + CDa + CDx;\n",
+ "eff_tt = 1. - (CD*phi**2)/(psi*s_c*((math.cos(betam*math.pi/180.))**3));\n",
+ "delp = eff_tt*psi*rho*Um**2;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s'%('(i)The nominal deflection= ',eps_,' deg'and '.\\n the nominal incidence = ',i_,' deg.');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (ii)The inlet flow angle, beta1 = alpha2 = ',beta1,' deg'and '\\n outlet flow angle beta2 = alpha1 = ',beta2,' deg.');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (iii)The flow coefficient = ',phi,''and '\\nThe stage loading factor = ',psi,'');\n",
+ "print'%s %.2f %s'%('\\n (iv) The rotor lift coefficient = ',CL,'');\n",
+ "print'%s %.2f %s '%('\\n (v) The overall drag coefficient of each row = ',CD,'');\n",
+ "print'%s %.2f %s %.2f %s'%('\\n (vi) The total-to-total stage efficiency = ',eff_tt,''and '\\n The pressure rise across the stage =',delp/1000,' kPa');\n",
+ "\n",
+ "\n",
+ "##there are small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The nominal deflection= 30.00 .\n",
+ " the nominal incidence = -4.31 deg.\n",
+ "\n",
+ " (ii)The inlet flow angle, beta1 = alpha2 = 52.19 \n",
+ " outlet flow angle beta2 = alpha1 = 14.69 deg. \n",
+ "\n",
+ " (iii)The flow coefficient = 0.64 0.57 \n",
+ "\n",
+ " (iv) The rotor lift coefficient = 1.46 \n",
+ "\n",
+ " (v) The overall drag coefficient of each row = 0.09 \n",
+ "\n",
+ " (vi) The total-to-total stage efficiency = 0.86 100.34 kPa\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter6_VZhkm5E.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter6_VZhkm5E.ipynb new file mode 100644 index 00000000..6c0dc077 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter6_VZhkm5E.ipynb @@ -0,0 +1,188 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:eb1ff01409a2a11efc8e58678d7352672b2c4e7f5a219c5319629cbc273b0d97"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter6-Three-dimensional Flows in Axial Turbomachines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg181"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "dt = 1.0;##tip diameter in m\n",
+ "dh = 0.9;##hub diameter in m\n",
+ "alpha1 = 30.;##in deg\n",
+ "beta1 = 60.;##in deg\n",
+ "alpha2 = 60.;##in deg\n",
+ "beta2 = 30.;##in deg\n",
+ "N = 6000.;##rotational speed in rev/min\n",
+ "rhog = 1.5;##gas density in kg/m^3\n",
+ "Rt = 0.5;##degree of reaction at the tip\n",
+ "\n",
+ "##Calculations\n",
+ "omega = 2.*math.pi*N/60.;\n",
+ "Ut = omega*0.5*dt;\n",
+ "Uh = omega*0.5*dh;\n",
+ "cx = Ut/(math.tan(alpha1*math.pi/180.) + math.tan(beta1*math.pi/180.));\n",
+ "mdot = math.pi*((0.5*dt)**2 - (0.5*dh)**2)*rhog*cx;\n",
+ "Wcdot = mdot*Ut*cx*(math.tan(alpha2*math.pi/180.)- math.tan(alpha1*math.pi/180.));\n",
+ "ctheta1t = cx*math.tan(alpha1*math.pi/180.);\n",
+ "ctheta1h = ctheta1t*(dt/dh);\n",
+ "ctheta2t = cx*math.tan(alpha2*math.pi/180.);\n",
+ "ctheta2h = ctheta2t*(dt/dh);\n",
+ "alpha1_ = (180./math.pi)*math.atan(ctheta1h/cx);\n",
+ "beta1_ = (180./math.pi)*math.atan((Uh/cx) - math.tan(alpha1_*math.pi/180.));\n",
+ "alpha2_ = (180./math.pi)*math.atan(ctheta2h/cx);\n",
+ "beta2_ = (180./math.pi)*math.atan((Uh/cx) - math.tan(alpha2_*math.pi/180.));\n",
+ "k = Rt*(0.5*dt)**2;\n",
+ "Rh = 1 - (k/(0.5*dh)**2);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('(i)The axial velocity, cx = ',cx,' m/s');\n",
+ "print'%s %.2f %s'%('\\n (ii)The mass flow rate =',mdot,' kg/s');\n",
+ "print'%s %.2f %s'%('\\n (iii)The power absorbed by the stage = ',Wcdot/10**6,' MW');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s %.2f %s'%('\\n (iv)The flow angles at the hub are:\\n alpha1 = ',alpha1_,' deg'and '\\n beta1 =',beta1_,'deg'and '\\n alpha2 = ',alpha2_,'deg' and'\\n beta2 = ',beta2_, 'deg.')\n",
+ "print'%s %.2f %s'%('\\n (v)The reaction ratio of the stage at the hub, R =.',Rh,'');\n",
+ "\n",
+ "\n",
+ "##there are small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The axial velocity, cx = 136.03 m/s\n",
+ "\n",
+ " (ii)The mass flow rate = 30.45 kg/s\n",
+ "\n",
+ " (iii)The power absorbed by the stage = 1.50 MW\n",
+ "\n",
+ " (iv)The flow angles at the hub are:\n",
+ " alpha1 = 32.68 \n",
+ " beta1 = 55.17 \n",
+ " alpha2 = 62.54 \n",
+ " beta2 = 8.75 deg.\n",
+ "\n",
+ " (v)The reaction ratio of the stage at the hub, R =. 0.38 \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg185"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "\n",
+ "%matplotlib inline\n",
+ "\n",
+ "import warnings\n",
+ "warnings.filterwarnings('ignore')\n",
+ "from math import log\n",
+ "import numpy\n",
+ "##given data\n",
+ "\n",
+ "R = 0.5;##degree of reaction\n",
+ "Cp = 1005.;##kJ/(kgC)\n",
+ "cx1_Ut_rt = 0.4;\n",
+ "delT0 = 16.1;##temperature rise\n",
+ "Ut = 300.;##in m/s\n",
+ "\n",
+ "##calculations\n",
+ "A1 = cx1_Ut_rt**2 +(0.5-0.18*math.log(1));\n",
+ "c1 = 2*(1.-R);\n",
+ "c2 = Cp*delT0/(2.*Ut**2 *(1.-R));\n",
+ "A2 = 0.56;\n",
+ "k = numpy.linspace(0.4,1.0,num=61);\n",
+ "i=len(k)\n",
+ "\n",
+ "cx1_Ut=numpy.zeros(i)\n",
+ "cx2_Ut=numpy.zeros(i)\n",
+ "R_=numpy.zeros(i)\n",
+ "Rn=numpy.zeros(i)\n",
+ "import numpy\n",
+ "import matplotlib\n",
+ "from matplotlib import pyplot\n",
+ "\n",
+ "for i in range(1,61):\n",
+ " cx1_Ut[i] = math.sqrt(A1 - (c1**2)*(0.5*k[i]**2 - c2*math.log(k[i])));\n",
+ " cx2_Ut[i] = math.sqrt(A2 - (c1**2)*(0.5*k[i]**2 + c2*math.log(k[i])));\n",
+ " R_[i] = 0.778+math.log(k[i]);\n",
+ " Rn[i] = 0.5;\n",
+ "\n",
+ "\n",
+ "##Results\n",
+ "pyplot.plot(k,cx1_Ut);\n",
+ "pyplot.plot(k,cx2_Ut);\n",
+ "pyplot.title(\"Solution of exit axial-velocity profile for a first power stage\")\n",
+ " \n",
+ "pyplot.plot(k,R_);\n",
+ "pyplot.plot(k,Rn);\n",
+ "#ylabel(\"Reaction\",\"fontsize\",3) ;##y label \n",
+ "#legend([\"True Reaction\";\"Nominal Reaction\"] , opt=1); ##legend box\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "pyout",
+ "prompt_number": 7,
+ "text": [
+ "[<matplotlib.lines.Line2D at 0x5b06bb0>]"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYAAAAEKCAYAAAAb7IIBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnXd4VEXXwH+TnkAITVoIvVcB6b0XpSgiwotiRxF99dXP\nrvjaXrsoFhAERERsNKkiEHooSpUiHUKvAgmbOt8fc0OWmL6b7M3m/J5nnr279+7cM7fMmTlz5ozS\nWiMIgiAUPnw8LYAgCILgGUQBCIIgFFJEAQiCIBRSRAEIgiAUUkQBCIIgFFJEAQiCIBRSbK0AlFJV\nlFLJSqlcyamU+pdSarG75crGedsqpfYqpS4rpfq5Md8vlFIvuSu/LM51WSlVJRvHuXSPMsm3k1Lq\nqIt5VLLKodwllztRSr2hlDqjlDqulIpwllUpFamUuj+X+d6qlDpq5dfYvVJn6/wZlkuwF/miAJRS\n7ZRSa5VSF5VS55RSq5VSN7n5HP+oiLTW32qte7rzPNnkNeATrXWo1nquuzLVWj+itX4D3FNBZnGu\nUK31obzKPz/QWh+xyqHBtUrV3SilKgH/AeporStorY86ywpoK+WG94GRVn5b3SFvdslGuXKS1z1K\nqVXul9Ie2KF8fnl9AqVUMWAeMAL4AQgE2gNxeXXKPMo3J1QCdnpaCOEf5NusR6WUr9Y6KZNDKgHn\ntN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O8BtmUC4E09Kq52nZ3VU+67gwzABpsKdldvO9\n+xAYbW2XxVSgJT0tuxvLFwYEWNsPAlM8LXcOy1iF7A0CtyIHg8D51gPQWicqpUYBizEVxFda611K\nqRHW/vH5JUtekM3y3Q48opRKBGIxLckCQXbKp7XerZRahJn4l4yZELjTc1Jnnxw8nwOAxdr0cgoE\n2SzbW8BkpdRWzNjgM7pg9EyzW756wBQr7MwO4H6PCZxDlFLfAR2B0kqpo8BojLk15b1boJTqo5Ta\nB8QA92Y7b0trCIIgCIUMWRJSEAShkCIKQBAEoZAiCkAQBKGQIgpAEAShkCIKQBAEoZAiCkAQBKGQ\nIgpAEAShkCIKQBAEoZDy/wBwBdUrzqYeAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5a893d0>"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter7_2hkovpj.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter7_2hkovpj.ipynb new file mode 100644 index 00000000..d65c95f3 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter7_2hkovpj.ipynb @@ -0,0 +1,280 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a61692019b8140a36f6ac02790d0dad90729cb0b28691dad1652c231a1bf0a41"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter7-Centrifugal Pumps,Fans and Compressors\n"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg216"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##function to calculate blade cavitation coefficient\n",
+ "\n",
+ "##given data\n",
+ "Q = 25;##flow rate in dm^3/s\n",
+ "omega = 1450;##rotational speed in rev/min\n",
+ "omega_ss = 3;##max. suction specific speed in rad/sec\n",
+ "r = 0.3;##inlet eye radius ratio\n",
+ "g = 9.81;##in m/s^2\n",
+ "\n",
+ "##Calculations\n",
+ "k = 1.-(r**2);\n",
+ "sigmab = 0.3;##initial guess\n",
+ "d = (sigmab**2)*(1. + sigmab)- (((3.42*k)**2)/(omega_ss**4));\n",
+ "i = 0;\n",
+ "if sigmab>0:\n",
+ "\tsigmab = sigmab - 0.0001;\n",
+ "elif sigmab<0:\n",
+ "\tsigmab = sigmab + 0.0001;\n",
+ "\n",
+ "phi = (sigmab/(2.*(1.+sigmab)))**0.5;\n",
+ "rs1 = ((Q*10**-3.)/(math.pi*k*(omega*math.pi/30.)*phi))**(1./3.);\n",
+ "ds1 = 2.*rs1;\n",
+ "cx1 = phi*(omega*math.pi/30.)*rs1;\n",
+ "Hs = (0.75*sigmab*cx1**2)/(g*phi**2);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('(i)The blade cavitation coefficient = ',sigmab,'');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (ii)The shroud radius at the eye = ',rs1,' m' and '\\n The required diameter of the eye = ',ds1*10**3,'mm');\n",
+ "print'%s %.2f %s'%('\\n (iii)The eye axial velocity = ',cx1,' m/s');\n",
+ "print'%s %.2f %s'%('\\n (iv)The NPSH = ',Hs,' m');\n",
+ "\n",
+ "#asnwer is wrong due to round off error"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The blade cavitation coefficient = 0.30 \n",
+ "\n",
+ " (ii)The shroud radius at the eye = 0.06 \n",
+ " The required diameter of the eye = 110.70 mm \n",
+ "\n",
+ " (iii)The eye axial velocity = 2.85 m/s\n",
+ "\n",
+ " (iv)The NPSH = 1.62 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg220"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "alpha1 = 30.;##prewhirl in deg\n",
+ "hs = 0.4;##inlet hub-shrub radius ratio\n",
+ "Mmax = 0.9;##max Mach number\n",
+ "Q = 1;##air mass flow in kg/s\n",
+ "p01 = 101.3;##stagnation pressure in kPa\n",
+ "T01 = 288.;##stagnation temperature in K\n",
+ "gamma = 1.4;\n",
+ "Rg = 287.;##in J/(kgK)\n",
+ "\n",
+ "##Calculationsasza\n",
+ "beta1 = 49.4;##in deg\n",
+ "f = 0.4307;\n",
+ "a01 = math.sqrt(gamma*Rg*T01);\n",
+ "rho01 = p01*1000./(Rg*T01);\n",
+ "k = 1-(hs**2);\n",
+ "omega = (math.pi*f*k*rho01*a01**3)**0.5;\n",
+ "N = (omega*60./(2.*math.pi));\n",
+ "rho1 = rho01/(1. + 0.2*(Mmax*math.cos(beta1*math.pi/180.))**2)**2.5;\n",
+ "cx = ((omega**2.)/(math.pi*k*rho1*(math.tan(beta1*math.pi/180.) + math.tan(alpha1*math.pi/180.))**2.))**(1/3.);\n",
+ "rs1 = (1./(math.pi*rho1*cx*k))**0.5;\n",
+ "\n",
+ "ds1 = 2.*rs1;\n",
+ "U = omega*rs1;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s '%('(i)The rotational speed of the impeller = ',omega,' rad/s'and 'N = ',N,' rev/min.');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (ii)The inlet static density downstream of the guide vanes at the shroud = ',rho1,' kg/m^3.'and'\\n The axial velocity = ',cx,' m/s.');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (iii)The inducer tip diameter = ',ds1*100,' cm'and '\\n U = ',U,' m/s.');\n",
+ "\n",
+ "##there are small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The rotational speed of the impeller = 7404.94 N = 70711.94 rev/min. \n",
+ "\n",
+ " (ii)The inlet static density downstream of the guide vanes at the shroud = 1.04 \n",
+ " The axial velocity = 187.38 m/s. \n",
+ "\n",
+ " (iii)The inducer tip diameter = 8.83 \n",
+ " U = 326.81 m/s. \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "Q = 0.1;##in m^3/s\n",
+ "N = 1200.;##rotational speed in rev/min\n",
+ "beta2_ = 50.;##in deg\n",
+ "D = 0.4;##impeller external diameter in m\n",
+ "d = 0.2;##impeller internal diameter in m\n",
+ "b2 = 31.7;##axial width in mm\n",
+ "eff = 0.515;##diffuser efficiency\n",
+ "H = 0.1;##head losses\n",
+ "De = 0.15;##diffuser exit diameter\n",
+ "A = 0.77;\n",
+ "B = 1.;\n",
+ "g = 9.81;\n",
+ "\n",
+ "##Calculations\n",
+ "U2 = math.pi*N*D/60.;\n",
+ "cr2 = Q/(math.pi*D*b2/1000.);\n",
+ "sigmaB = (A - H*math.tan(beta2_*math.pi/180.))/(B - H*math.tan(beta2_*math.pi/180.));\n",
+ "ctheta2 = sigmaB*U2*(1.-H*math.tan(beta2_*math.pi/180.));\n",
+ "Hi = U2*ctheta2/g;\n",
+ "c2 = math.sqrt(cr2**2 + ctheta2**2);\n",
+ "c3 = 4.*Q/(math.pi*De**2);\n",
+ "HL = 0.1*Hi + 0.485*((c2**2)-(c3**2))/(2.*g) + (c3**2.)/(2.*g);\n",
+ "H = Hi - HL;\n",
+ "eff_hyd = H/Hi;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The slip factor = ',sigmaB,'');\n",
+ "print'%s %.2f %s'%('\\n The manometric head = ',H,' m.');\n",
+ "print'%s %.2f %s'%('\\n The hydraulic efficiency = ',eff_hyd*100,' percentage.');\n",
+ "\n",
+ "##there is a very small error in the answer given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The slip factor = 0.74 \n",
+ "\n",
+ " The manometric head = 30.11 m.\n",
+ "\n",
+ " The hydraulic efficiency = 71.84 percentage.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg235"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "T01 = 22.;##stagnation temperature in degC\n",
+ "Z = 17.;##number of vanes\n",
+ "N = 15000.;##rotational speed in rev/min\n",
+ "r = 4.2;##stagnation pressure ratio between diffuser and impeller\n",
+ "eff_ov = 0.83;##overall efficiency\n",
+ "mdot = 2;##mass flow rate in kg/s\n",
+ "eff_m = 0.97;##mechanical efficiency\n",
+ "rho2 = 2.;##air density at impeller outle in kg/m^3\n",
+ "gamma = 1.4;\n",
+ "R = 0.287;##in kJ/(kg.K)\n",
+ "b2 = 11.;##axial width at the entrance to the diffuser in mm\n",
+ "\n",
+ "##Calculations\n",
+ "Cp = gamma*R*1000./(gamma-1.);\n",
+ "sigmaS = 1 - 2./Z;\n",
+ "U2 = math.sqrt(Cp*(T01+273.)*((r)**((gamma-1.)/gamma) -1.)/(sigmaS*eff_ov));\n",
+ "omega = N*math.pi/30.;\n",
+ "rt = U2/omega;\n",
+ "Wdot_act = mdot*sigmaS*(U2**2)/(eff_m);\n",
+ "cr2 = mdot/(rho2*2.*math.pi*rt*b2/1000.);\n",
+ "ctheta2 = sigmaS*U2;\n",
+ "c2 = math.sqrt(ctheta2**2 +cr2**2);\n",
+ "delW = sigmaS*U2**2;\n",
+ "T2 = T01+273.+(delW - 0.5*c2**2)/Cp;\n",
+ "M2 = c2/math.sqrt(gamma*R*1000.*T2);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('Absolute mach number, M2 = ',M2,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Absolute mach number, M2 = 1.01 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter8_Bt8FCnc.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter8_Bt8FCnc.ipynb new file mode 100644 index 00000000..a6603f6c --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter8_Bt8FCnc.ipynb @@ -0,0 +1,414 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:c09738f4d36c8e48bfaf24c235fb17050c4cfa6be2564154b0a4e5e8521050ca"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter8-Radial Flow Gas Turbines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg251"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "D2 = 23.76;##diameter of rotor in cm\n",
+ "N = 38140.;##rotational speed in rev/min\n",
+ "alpha2 = 72.;##absolute flow angle in deg\n",
+ "d = 0.5*D2;##rotor mean exit diameter\n",
+ "\n",
+ "##Calcultaions\n",
+ "U2 = math.pi*N*D2/(100.*60.);\n",
+ "w2 = U2/math.tan(alpha2*math.pi/180.);\n",
+ "c2 = U2*math.sin(alpha2*math.pi/180.);\n",
+ "w3 = 2*w2;\n",
+ "U3 = 0.5*U2;\n",
+ "c3 = math.sqrt(w3**2. - U3**2);\n",
+ "delW = 0.5*((U2**2. - U3**2.)+(w3**2. - w2**2.)+(c2**2. - c3**2.));\n",
+ "inp_U2 = 0.5*(U2**2. - U3**2.)/delW;\n",
+ "inp_w2 = 0.5*(w3**2. - w2**2.)/delW;\n",
+ "inp_c2 = 0.5*(c2**2. - c3**2.)/delW;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('The fractional inputs from the three terms are, for the U^2 terms,',inp_U2,''and '\\n for the w^2 terms,',inp_w2,''and ' for the c^2 terms, ',inp_c2,'')\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "##there are errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The fractional inputs from the three terms are, for the U^2 terms, 0.42 0.18 0.41 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg254"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "r = 1.5;##operating pressure ratio\n",
+ "K1 = 1.44*10**-5;\n",
+ "K2 = 2410.;\n",
+ "K3 = 4.59*10**-6;\n",
+ "T01 = 400.;##in K\n",
+ "D2 = 72.5;##rotor inlet diamete in mm\n",
+ "D3_av = 34.4;##rotor meaan outlet diameter in mm\n",
+ "b = 20.1;##rotor outlet annulus width in mm\n",
+ "zetaN = 0.065;##enthalpy loss coefficient\n",
+ "alpha2 = 71.;##in deg\n",
+ "beta3_av = 53.;##in deg\n",
+ "Cp = 1005.;##inJ/(kg.K)\n",
+ "gamma = 1.4;\n",
+ "\n",
+ "##Calculations\n",
+ "N = K2*math.sqrt(T01);\n",
+ "U2 = math.pi*N*D2/(60.*1000.)\n",
+ "delW = U2**2.;\n",
+ "delh = Cp*T01*(1.-(1./r)**((gamma-1.)/gamma));\n",
+ "eff_ts = delW/(delh);\n",
+ "delW_act = K3*K2*math.pi*T01/(30.*K1);\n",
+ "eff_ov = delW_act/delh;\n",
+ "zetaR = (2.*((1./eff_ts)-1.) - (zetaN/math.sin(alpha2*math.pi/180.)))*((D2/D3_av)**2.)*(math.sin(beta3_av*math.pi/180.))**2 - (math.cos(beta3_av*math.pi/180.))**2;\n",
+ "r3 = 0.5*(D3_av-b)*10**-3;\n",
+ "w3_w2av_min = (D3_av/D2)*math.tan(alpha2*math.pi/180.)*((2.*r3/D3_av)**2. + (1./math.tan(beta3_av*math.pi/180.))**2.)**0.5;\n",
+ "w3_w2av = (D3_av/D2)*math.tan(alpha2*math.pi/180.)*(1.+((1./math.tan(beta3_av*math.pi/180.))**2))**0.5;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The total-to-static efficiency = ',eff_ts*100,'percentage');\n",
+ "print'%s %.2f %s'%('\\n The overall efficiency =',eff_ov*100,'percentage');\n",
+ "print'%s %.2f %s'%('\\n The rotor enthalpy loss coefficient = ',zetaR,'');\n",
+ "print'%s %.2f %s'%('\\n The rotor relative velocity ratio = ',w3_w2av,'');\n",
+ "\n",
+ "\n",
+ "##there are small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total-to-static efficiency = 76.13 percentage\n",
+ "\n",
+ " The overall efficiency = 73.17 percentage\n",
+ "\n",
+ " The rotor enthalpy loss coefficient = 1.22 \n",
+ "\n",
+ " The rotor relative velocity ratio = 1.73 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg262"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "Z = 12.;##number of vanes\n",
+ "delW = 230.;##in kW\n",
+ "T01 = 1050.;##stagnation temperature in K\n",
+ "mdot = 1.;##flow rate in kg/s\n",
+ "eff_ts = 0.81;##total-to-static efficiency\n",
+ "Cp = 1.1502;##in kJ/(kg.K)\n",
+ "gamma = 1.333;\n",
+ "R = 287.;##gas constant\n",
+ "\n",
+ "##Calculations\n",
+ "S = delW/(Cp*T01);\n",
+ "alpha2 = (180./math.pi)*math.acos(math.sqrt(1./Z));\n",
+ "beta2 = 2.*(90.-alpha2);\n",
+ "p3_p01 = (1.-(S/eff_ts))**(gamma/(1.-gamma));\n",
+ "M02 = math.sqrt((S/(gamma-1.))*((2.*math.cos(beta2*math.pi/180.))/(1.+math.cos(beta2*math.pi/180.))));\n",
+ "M2 = math.sqrt((M02**2)/(1-0.5*(gamma-1.)*(M02**2)));\n",
+ "U2 = math.sqrt((gamma*R*T01)*(1./math.cos(beta2*math.pi/180.))*(S/(gamma-1.)));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s '%('(i) The absolut and relative flow angles:\\n alpha2 = ',alpha2,' deg'and '\\n beta2 = ',beta2,' deg');\n",
+ "print'%s %.2f %s'%('\\n (ii) The overall pressure ratio =',p3_p01,'');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n (iii) The rotor rip speed = ',U2,' m/s'and '\\n The inlet absolute Mach number = ',M2,'');\n",
+ "\n",
+ "\n",
+ "##there are small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The absolut and relative flow angles:\n",
+ " alpha2 = 73.22 \n",
+ " beta2 = 33.56 deg \n",
+ "\n",
+ " (ii) The overall pressure ratio = 2.92 \n",
+ "\n",
+ " (iii) The rotor rip speed = 525.05 \n",
+ " The inlet absolute Mach number = 0.75 \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "cm3_U2 = 0.25;\n",
+ "nu = 0.4;\n",
+ "r3s_r2 = 0.7;\n",
+ "w3av_w2 = 2.0;\n",
+ "\n",
+ "##Calculations\n",
+ "r3av_r3s = 0.5*(1.+nu);\n",
+ "r3av_r2 = r3av_r3s*r3s_r2;\n",
+ "beta3_av = (180./math.pi)*math.atan(r3av_r2/cm3_U2);\n",
+ "beta3s = (180./math.pi)*math.atan(r3s_r2/cm3_U2);\n",
+ "w3s_w2 = 2.*math.cos(beta3_av*math.pi/180.)/math.cos(beta3s*math.pi/180.);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The relative velocity ratio =',w3s_w2,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The relative velocity ratio = 2.70 \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "Z = 12.;##number of vanes\n",
+ "delW = 230.;##in kW\n",
+ "T01 = 1050.;##stagnation temperature in K\n",
+ "mdot = 1.;##flow rate in kg/s\n",
+ "eff_ts = 0.81;##total-to-static efficiency\n",
+ "Cp = 1.1502;##in kJ/(kg.K)\n",
+ "gamma = 1.333;\n",
+ "R = 287.;##gas constant\n",
+ "cm3_U2 = 0.25;\n",
+ "nu = 0.4;\n",
+ "r3s_r2 = 0.7;\n",
+ "w3av_w2 = 2.0;\n",
+ "p3 = 100.;##static pressure at rotor exit in kPa\n",
+ "zetaN = 0.06;##nozzle enthalpy loss coefficient\n",
+ "U2 = 538.1;##in m/s\n",
+ "p01 = 3.109*10**5;##in Pa\n",
+ "\n",
+ "##Calculations\n",
+ "S = delW/(Cp*T01);\n",
+ "T03 = T01*(1.-S);\n",
+ "T3 = T03 - (cm3_U2**2)*(U2**2)/(2.*Cp*1000.);\n",
+ "r2 = math.sqrt(mdot/((p3*1000./(R*T3))*(cm3_U2)*U2*math.pi*(r3s_r2**2)*(1.-nu**2)));\n",
+ "D2 = 2.*r2;\n",
+ "omega = U2/r2;\n",
+ "N = omega*30./math.pi;\n",
+ "ctheta2 = S*Cp*1000.*T01/U2;\n",
+ "alpha2 = (180/math.pi)*math.acos(math.sqrt(1./Z));\n",
+ "cm2 = ctheta2/math.tan(alpha2*math.pi/180.);\n",
+ "c2 = ctheta2/math.sin(alpha2*math.pi/180.);\n",
+ "T2 = T01 - (c2**2)/(2.*Cp*1000.);\n",
+ "p2 = p01*(1-(((c2**2)*(1.+zetaN))/(2.*Cp*1000.*T01)))**(gamma/(gamma-1.));\n",
+ "b2_D2 = (0.25/math.pi)*(R*T2/p2)*(mdot/(cm2*r2**2.));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('(i) The diamaeter of the rotor = ',D2,' m'and '\\n its speed of rotation = ',omega,' rad/s'and ' (N = ',N,' rev/min)');\n",
+ "print'%s %.2f %s'%('\\n(ii) The vane width to diameter ratio at rotor inlet = ',b2_D2,'');\n",
+ "\n",
+ "##there are some errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The diamaeter of the rotor = 0.24 \n",
+ " its speed of rotation = 4564.96 (N = 43592.14 rev/min) \n",
+ "\n",
+ "(ii) The vane width to diameter ratio at rotor inlet = 0.06 \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex6-pg271"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "Z = 12.;##number of vanes\n",
+ "delW = 230.;##in kW\n",
+ "T01 = 1050.;##stagnation temperature in K\n",
+ "mdot = 1.;##flow rate in kg/s\n",
+ "eff_ts = 0.81;##total-to-static efficiency\n",
+ "Cp = 1.1502;##in kJ/(kg.K)\n",
+ "gamma = 1.333;\n",
+ "R = 287.;##gas constant\n",
+ "cm3_U2 = 0.25;\n",
+ "nu = 0.4;\n",
+ "r3s_r2 = 0.7;\n",
+ "w3av_w2 = 2.0;\n",
+ "p3 = 100.;##static pressure at rotor exit in kPa\n",
+ "zetaN = 0.06;##nozzle enthalpy loss coefficient\n",
+ "U2 = 538.1;##in m/s\n",
+ "p01 = 3.109*10**5;##in Pa\n",
+ "\n",
+ "##results of Example 8.4 and Example 8.5\n",
+ "r3av_r3s = 0.5*(1+nu);\n",
+ "r3av_r2 = r3av_r3s*r3s_r2;\n",
+ "alpha2 = (180./math.pi)*math.acos(math.sqrt(1/Z));\n",
+ "beta2 = 2.*(90.-alpha2);\n",
+ "beta3_av = (180./math.pi)*math.atan(r3av_r2/cm3_U2);\n",
+ "beta3s = (180./math.pi)*math.atan(r3s_r2/cm3_U2);\n",
+ "w3s_w2 = 2.*math.cos(beta3_av*math.pi/180.)/math.cos(beta3s*math.pi/180.);\n",
+ "S = delW/(Cp*T01);\n",
+ "T03 = T01*(1-S);\n",
+ "T3 = T03 - (cm3_U2**2)*(U2**2.)/(2.*Cp*1000.);\n",
+ "r2 = math.sqrt(mdot/((p3*1000./(R*T3))*(cm3_U2)*U2*math.pi*(r3s_r2**2)*(1.-nu**2.)));\n",
+ "D2 = 2.*r2;\n",
+ "omega = U2/r2;\n",
+ "N = omega*30./math.pi;\n",
+ "ctheta2 = S*Cp*1000.*T01/U2;\n",
+ "alpha2 = (180./math.pi)*math.acos(math.sqrt(1./Z));\n",
+ "cm2 = ctheta2/math.tan(alpha2*math.pi/180.);\n",
+ "c2 = ctheta2/math.sin(alpha2*math.pi/180.);\n",
+ "T2 = T01 - (c2**2.)/(2.*Cp*1000.);\n",
+ "p2 = p01*(1-(((c2**2)*(1.+zetaN))/(2.*Cp*1000.*T01)))**(gamma/(gamma-1));\n",
+ "b2_D2 = (0.25/math.pi)*(R*T2/p2)*(mdot/(cm2*r2**2));\n",
+ "\n",
+ "##Calculations\n",
+ "c3 = cm3_U2*U2;\n",
+ "cm3 = c3;\n",
+ "w3_av = 2.*cm3/(math.cos(beta2*math.pi/180.));\n",
+ "w2 = w3_av/2.;\n",
+ "c0 = math.sqrt(2.*delW*1000./eff_ts);\n",
+ "zetaR = (c0**2. *(1.-eff_ts)- (c3**2.)- zetaN*(c2**2))/(w3_av**2); \n",
+ "i = beta2;\n",
+ "n = 1.75;\n",
+ "eff_ts_new = 1-((c3**2)+zetaN*(c2**2)+zetaR*(w3_av**2)+(1.-(math.cos(i*math.pi/180))**n)*(w2**2))/(c0**2);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('(a)The rotor enthalpy loss coefficient = ',zetaR,'');\n",
+ "print'%s %.2f %s'%('\\n(b) The total-to-static efficiency of the turbine =',eff_ts_new,'');\n",
+ "\n",
+ "\n",
+ "##there are some errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)The rotor enthalpy loss coefficient = 0.75 \n",
+ "\n",
+ "(b) The total-to-static efficiency of the turbine = 0.80 \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter9_TOCkwb3.ipynb b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter9_TOCkwb3.ipynb new file mode 100644 index 00000000..f45706aa --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/Chapter9_TOCkwb3.ipynb @@ -0,0 +1,418 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:792fb421946abfd48c51ce0ac37efa304f9a8b8a120655d1f8c56d375239bb07"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter9-Hydraulic Turbines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg300"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "Q = 2.272;##water volume flow rate in m**3/s\n",
+ "l = 300.;##length in m\n",
+ "Hf = 20.;##head loss in m\n",
+ "f = 0.01;##friction factor\n",
+ "g = 9.81;##acceleration due to gravity in m/s**2\n",
+ "\n",
+ "##Calculations\n",
+ "d = (32.*f*l*((Q/math.pi)**2)/(g*Hf))**(1/5.);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The diameter of the pipe = ',d,' m');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg302"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "P = 4.0;##in MW\n",
+ "N = 375.;##in rev/min\n",
+ "H_eps = 200.;##in m\n",
+ "KN = 0.98;##nozzle velocity coefficient\n",
+ "d = 1.5;##in m\n",
+ "k = 0.15;##decrease in relative flow velocity across the buckets\n",
+ "alpha = 165.;##in deg\n",
+ "g = 9.81;##in m/s^2\n",
+ "rho = 1000.;##in kg/m^3\n",
+ "\n",
+ "##Calculations\n",
+ "U = N*math.pi*d*0.5/30.;\n",
+ "c1 = KN*math.sqrt(2*g*H_eps);\n",
+ "nu = U/c1;\n",
+ "eff = 2.*nu*(1.-nu)*(1.-(1.-k)*math.cos(alpha*math.pi/180.));\n",
+ "Q = (P*10**6 /eff)/(rho*g*H_eps);\n",
+ "Aj = Q/(2.*c1);\n",
+ "dj = math.sqrt(4.*Aj/math.pi);\n",
+ "omega_sp = (N*math.pi/30.)*math.sqrt((P*10**6)/rho)/((g*H_eps)**(5./4.));\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('(i)The runner efficiency = ',eff,'');\n",
+ "print'%s %.2f %s'%('\\n (ii)The diameter of each jet = ',dj,' m');\n",
+ "print'%s %.2f %s'%('\\n (iii)The power specific speed = ',omega_sp,' rad');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The runner efficiency = 0.91 \n",
+ "\n",
+ " (ii)The diameter of each jet = 0.15 m\n",
+ "\n",
+ " (iii)The power specific speed = 0.19 rad\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg309"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "H_eps = 150.;##in m\n",
+ "z = 2.;##in m\n",
+ "U2 = 35.;##runner tip speed in m/s\n",
+ "c3 = 10.5;##meridonal velocity of water in m/s\n",
+ "c4 = 3.5;##velocity at exit in m/s\n",
+ "delHN = 6.0;##in m\n",
+ "delHR = 10.0;##in m\n",
+ "delHDT = 1.0;##in m\n",
+ "g = 9.81;##in m/s**2\n",
+ "Q = 20.;##in m**3/s\n",
+ "omega_sp = 0.8;##specific speed of turbine in rad\n",
+ "c2 = 38.73;##in m/s\n",
+ "\n",
+ "##Calculations\n",
+ "H3 = ((c4**2. - c3**2.)/(2.*g)) + delHDT - z;\n",
+ "H2 = H_eps-delHN-(c2**2.)/(2.*g);\n",
+ "delW = g*(H_eps-delHN-delHR-z)-0.5*c3**2 -g*H3;\n",
+ "ctheta2 = delW/U2;\n",
+ "alpha2 = (180./math.pi)*math.atan(ctheta2/c3);\n",
+ "beta2 = (180./math.pi)*math.atan((ctheta2-U2)/c3);\n",
+ "eff_H = delW/(g*H_eps);\n",
+ "omega = (omega_sp*(g*H_eps)**(5./4.))/math.sqrt(Q*delW);\n",
+ "N = omega*30./math.pi;\n",
+ "D2 = 2.*U2/omega;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s %.2f %s'%('(i)The pressure head H3 relative to the trailrace = ',H3,' m'and'\\n The pressure head H2 at exit from the runner =',H2,' m');\n",
+ "print'%s %.2f %s %.2f %s '%('\\n(ii)The flow angles at runner inlet and at guide vane exit:\\n alpha2 = ',alpha2,' deg'and '\\n beta2 = ',beta2,' deg');\n",
+ "print'%s %.2f %s'%('\\n(iii)The hydraulic efficiency of the turbine = ',eff_H,'');\n",
+ "print'%s %.2f %s'%('\\n The speed of rotation, N = ',N,' rev/min');\n",
+ "print'%s %.2f %s'%('\\n The runner diameter is, D2 = ',D2,' m');\n",
+ "\n",
+ "\n",
+ "##there are small errors in the answers given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)The pressure head H3 relative to the trailrace = -5.99 \n",
+ " The pressure head H2 at exit from the runner = 67.55 m\n",
+ "\n",
+ "(ii)The flow angles at runner inlet and at guide vane exit:\n",
+ " alpha2 = 74.20 \n",
+ " beta2 = 11.33 deg \n",
+ "\n",
+ "(iii)The hydraulic efficiency of the turbine = 0.88 \n",
+ "\n",
+ " The speed of rotation, N = 432.02 rev/min\n",
+ "\n",
+ " The runner diameter is, D2 = 1.55 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg312"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##function to calculate flow angles\n",
+ " \n",
+ " \n",
+ "##given data\n",
+ "P = 8;##output power in MW\n",
+ "HE = 13.4;##available head at entry in m\n",
+ "N = 200;##in rev/min\n",
+ "L = 1.6;##length of inlet guide vanes\n",
+ "d1 = 3.1;##diameter of trailing edge in m\n",
+ "D2t = 2.9;##runner diameter in m\n",
+ "nu = 0.4;##hub-tip ratio\n",
+ "eff = 0.92;##hydraulic efficiency\n",
+ "rho = 1000;##density in kg/m**3\n",
+ "g = 9.81;##acceleration due to gravity in m/s**2 \n",
+ "r=1.45\n",
+ "##Calculations\n",
+ "Q = P*10**6 /(eff*rho*g*HE);\n",
+ "cr1 = Q/(2*math.pi*0.5*d1*L);\n",
+ "cx2 = 4*Q/(math.pi*D2t**2 *(1-nu**2));\n",
+ "U2 = N*(math.pi/30)*D2t/2;\n",
+ "ctheta2 = eff*g*HE/U2;\n",
+ "ctheta1 = ctheta2*(D2t/d1);\n",
+ "alpha1 = (180/math.pi)*math.atan(ctheta1/cr1);\n",
+ "alpha2 = (180/math.pi)*math.atan(ctheta2/cx2);\n",
+ "beta2 = (180/math.pi)*math.atan((U2)*(r)/cx2 - math.tan(alpha2*math.pi/180));\n",
+ "beta3 = (180/math.pi)*math.atan((U2)*r/cx2) ;\n",
+ "alpha23=39.86\n",
+ "alpha22=25.51\n",
+ "alpha21=18.47\n",
+ "beta23=10.42\n",
+ "beta22=52.56\n",
+ "beta21=65.68\n",
+ "\n",
+ "##Results\n",
+ "print('Calculated values of flow angles:\\n Parameter Ratio of r/ri ');\n",
+ "print('\\n ------------------------------------------------------------');\n",
+ "print('\\n 0.4 0.7 1.0');\n",
+ "print('\\n --------------------------------------');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('\\n ctheta2(in m/s) ',ctheta2/0.4,''and '',ctheta2/0.7,''and '',ctheta2/1.0,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('\\n tan(alpha2) ',math.tan(alpha23*math.pi/180),''and '',math.tan(alpha22*math.pi/180),'' and '',math.tan(alpha21*math.pi/180),'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('\\n alpha2(deg) ',alpha23,''and '',alpha22,''and '',alpha21,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('\\n U/cx2 ',(U2/cx2)*0.4,''and '',(U2/cx2)*0.7,''and '',(U2/cx2)*1.0,'');\n",
+ "print'%s %.2f %s %.2f %s %.2f %s '%('\\n beta2(deg) ',beta23,''and '',beta22,'' and '',beta21,'');\n",
+ "print('\\n ------------------------------------------------------------');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Calculated values of flow angles:\n",
+ " Parameter Ratio of r/ri \n",
+ "\n",
+ " ------------------------------------------------------------\n",
+ "\n",
+ " 0.4 0.7 1.0\n",
+ "\n",
+ " --------------------------------------\n",
+ "\n",
+ " ctheta2(in m/s) 9.96 5.69 3.98 \n",
+ "\n",
+ " tan(alpha2) 0.83 0.48 0.33 \n",
+ "\n",
+ " alpha2(deg) 39.86 25.51 18.47 \n",
+ "\n",
+ " U/cx2 1.02 1.78 2.55 \n",
+ "\n",
+ " beta2(deg) 10.42 52.56 65.68 \n",
+ "\n",
+ " ------------------------------------------------------------\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg315"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "k = 1/5.;##scale ratio\n",
+ "Pm = 3.;##in kW\n",
+ "Hm = 1.8;##in m\n",
+ "Nm = 360.;##in rev/min\n",
+ "Qm = 0.215;##in m^3/s\n",
+ "Hp = 60.;##in m\n",
+ "n = 0.25;\n",
+ "rho = 1000;##in kg/m^3\n",
+ "g = 9.81;##in m/s^2\n",
+ "\n",
+ "##Calculations\n",
+ "Np = Nm*k*(Hp/Hm)**0.5;\n",
+ "Qp = Qm*(Nm/Np)*(1./k)**3;\n",
+ "Pp = Pm*((Np/Nm)**3)*(1./k)**5;\n",
+ "eff_m = Pm*1000./(rho*Qm*g*Hm);\n",
+ "eff_p = 1 - (1.-eff_m)*0.2**n;\n",
+ "Pp_corrected = Pp*eff_p/eff_m;\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The speed = ',Np,' rev/min.');\n",
+ "print'%s %.2f %s'%('\\n The flow rate =',Qp,' m^3/s.');\n",
+ "print'%s %.2f %s'%('\\n Power of the full-scale = ',Pp/1000,' MW.');\n",
+ "print'%s %.2f %s'%('\\n The efficiency of the model turbine = ',eff_m,'');\n",
+ "print'%s %.2f %s'%('\\n The efficiency of the prototype = ',eff_p,'');\n",
+ "print'%s %.2f %s'%('\\n The power of the full-size turbine = ',Pp_corrected/1000,' MW.')\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The speed = 415.69 rev/min.\n",
+ "\n",
+ " The flow rate = 23.27 m^3/s.\n",
+ "\n",
+ " Power of the full-scale = 14.43 MW.\n",
+ "\n",
+ " The efficiency of the model turbine = 0.79 \n",
+ "\n",
+ " The efficiency of the prototype = 0.86 \n",
+ "\n",
+ " The power of the full-size turbine = 15.70 MW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex6-pg316"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#calculate the\n",
+ "\n",
+ "##given data\n",
+ "##data from EXAMPLE 9.3\n",
+ "H_eps = 150.;##in m\n",
+ "z = 2.;##in m\n",
+ "U2 = 35.;##runner tip speed in m/s\n",
+ "c3 = 10.5;##meridonal velocity of water in m/s\n",
+ "c4 = 3.5;##velocity at exit in m/s\n",
+ "delHN = 6.0;##in m\n",
+ "delHR = 10.0;##in m\n",
+ "delHDT = 1.0;##in m\n",
+ "g = 9.81;##in m/s**2\n",
+ "Q = 20.;##in m**3/s\n",
+ "omega_sp = 0.8;##specific speed of turbine in rad\n",
+ "c2 = 38.73;##in m/s\n",
+ "\n",
+ "##data from this example\n",
+ "Pa = 1.013;##atmospheric pressure in bar\n",
+ "Tw = 25.;##temperature of water in degC\n",
+ "Pv = 0.03166;##vapor pressure of water at Tw\n",
+ "rho = 1000;##density of wate in kg/m**3\n",
+ "g = 9.81;##acceleration due to gravity in m/s**2\n",
+ "\n",
+ "H3 = ((c4**2. - c3**2.)/(2.*g)) + delHDT - z;\n",
+ "H2 = H_eps-delHN-(c2**2.)/(2.*g);\n",
+ "delW = g*(H_eps-delHN-delHR-z)-0.5*c3**2 -g*H3;\n",
+ "ctheta2 = delW/U2;\n",
+ "alpha2 = (180/math.pi)*math.atan(ctheta2/c3);\n",
+ "beta2 = (180/math.pi)*math.atan((ctheta2-U2)/c3);\n",
+ "eff_H = delW/(g*H_eps);\n",
+ "omega = (omega_sp*(g*H_eps)**(5/4.))/math.sqrt(Q*delW);\n",
+ "\n",
+ "Hs = (Pa-Pv)*(10**5)/(rho*g) - z;\n",
+ "sigma = Hs/H_eps;\n",
+ "omega_ss = omega*(Q**0.5)/(g*Hs)**(3/4.);\n",
+ "\n",
+ "##Results\n",
+ "print'%s %.2f %s'%('The NSPH for the turbine = ',Hs,' m.');\n",
+ "if omega_ss>4.0:\n",
+ " print'%s %.2f %s'%('\\n Since the suction specific speed (= ',omega_ss,')is greater than 4.0(rad), the cavitation is likely to occur.');\n",
+ "\n",
+ "\n",
+ "##there is small error in the answer given in textbook\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The NSPH for the turbine = 8.00 m.\n",
+ "\n",
+ " Since the suction specific speed (= 7.67 )is greater than 4.0(rad), the cavitation is likely to occur.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/Chapter10.png b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/Chapter10.png Binary files differnew file mode 100644 index 00000000..03484f85 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/Chapter10.png diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/chapter6_Q3tBrTp.png b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/chapter6_Q3tBrTp.png Binary files differnew file mode 100644 index 00000000..36a51d03 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/chapter6_Q3tBrTp.png diff --git a/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/chapter7_qVshgvy.png b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/chapter7_qVshgvy.png Binary files differnew file mode 100644 index 00000000..9c075a08 --- /dev/null +++ b/Fluid_Mechanics,Thermodynamics_of_Turbomachinery_by_S.L.Dixon/screenshots/chapter7_qVshgvy.png |