summaryrefslogtreecommitdiff
path: root/Materials_science_and_engineering_an_introduction/CH10.ipynb
blob: b7fb235159729c8d729d21a2f249a4ad947e6e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 10 :Phase Transformation In Metals"
     ]
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 10.1 Page no 318"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "Hf=-1.16*10**9     # in J/m**3  latent heat of fusion\n",
      "Y=0.132            # in J/m**2  Surface energy\n",
      "Tm=1064.0+273.0        # in K  Melting point of gold\n",
      "\n",
      "import math\n",
      "T=Tm-230.0           # in K  230 is supercooling value\n",
      "r=-2*Y*Tm/(Hf*(Tm-T))\n",
      "G=16*math.pi*Y**3*Tm**2/(3*Hf**2*(Tm-T)**2)\n",
      "\n",
      "a=0.413*10**-9  # in m  Unit Cell edge length\n",
      "u_c=4*math.pi*r**3/(3*a**3)\n",
      "n=4            #In FCC . no of atoms in per unit cell\n",
      "U_c=int(u_c)*n\n",
      "\n",
      "print\"(a)Critical Radius is \",round(r/10**-9,2),\"nm\"\n",
      "print\"Activation free energy is \",round(G,21),\"J\"\n",
      "print\"(b)Total no. of atoms per critical nucleus are \",U_c\n",
      "\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)Critical Radius is  1.32 nm\n",
        "Activation free energy is  9.68e-19 J\n",
        "(b)Total no. of atoms per critical nucleus are  548\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 10.2 Page no 335"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "n=5.0\n",
      "y=0.3\n",
      "t=100.0          #in min\n",
      "\n",
      "k=-math.log(1-y)/t**n\n",
      "thalf=(-math.log(1-0.5)/k)**(1/n)\n",
      "rate=1/thalf\n",
      "\n",
      "print\"Rate is \",rate,\"min**-1\"\n",
      "\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Rate is  0.00875567087531 min**-1\n"
       ]
      }
     ],
     "prompt_number": 13
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}