Академический Документы
Профессиональный Документы
Культура Документы
Numerical Study of
Laser Interaction with
Solid Materials
Prepared by
Supervised by
2010 - 2011
Acknowledgments
ii
Contents
iii
2.4.2 First Order Backward Difference.
2.5 Procedures.
temperature.
𝑪𝑪(𝑻𝑻), 𝝆𝝆 = 𝝆𝝆(𝑻𝑻)�.
3.10 Conclusions.
References
iv
Abstract
In recent years, much effort has gone into the understanding of the
interaction of short laser pulses with matter. The present works have
typically involved studying the interaction of high intensity laser pulses with
high-density solid target. In this study the ND:YAG pulsed laser with
maximum energy 𝐸𝐸𝑚𝑚𝑚𝑚𝑚𝑚 = 0.2403 𝐽𝐽 was used. The mathematical function for
laser energy with time, as well as a function of laser intensity with time are
presented in this study.
The finite difference method was used to calculate the temperature
distribution as a function of laser depth penetration in lead and copper
materials.
The best polynomial fits for thermal conductivity, specific heat capacity,
and density of metals as a function of temperature was obtained using
Matlab software. At the first all these properties were assumed to be
constants, and then the influence of varying these properties with
temperature was tacked in to account. The temperature gradient of lead
shows to be greater than that of copper, this may be due to the high thermal
conductivity and high specific heat capacity of copper with that of lead.
v
Chapter One
Basic concepts
1.1 Introduction:
Laser is a mechanism for emitting light with in electromagnetic radiation
region of the spectrum with different output intensity. Max Plank published
work in 1900 that provided the understanding that light is a form of
electromagnetic radiation without this understanding the laser would have
been invented. The principle of the laser was first known in 1917 when Albert
Einstein describe the theory of stimulated emission, and Theodor Maiman in
1960 invent the first laser, using a lasing medium of ruby that was stimulated
by using high energy flash of intense light.
We have four types of laser according to their gain medium which are
(solid, liquid, gas, and plasma) such as (ruby, dye, He-Ne, and X-ray lasers).
So laser is provided a controlled source of atomic and electronic excitations
involving non equilibrium phenomena that lend themselves to processing of
novel material and structure, because laser used in wide range application in
our life, such as welding, cutting, drilling, industrial and medical field. Maiman
and other developer of laser weapons sighting system and powerful laser for
use in surgery and other areas where moderated powerful pinpoint source of
heat was needed. And today laser are used in corrective eye surgery and
providing apprecise source of heat for cutting and cauterizing tissue.
1
by considerations relating to thermodynamic equilibrium, and (2) optical
feedback (present in most lasers) that is usually provided by mirrors.
Thus, in its simplest form, a laser consists of a gain or amplifying medium
(where stimulated emission occurs), and a set of mirrors to feed the light back
into the amplifier for continued growth of the developing beam, as seen in
Fig(1.1). Laser light differs from ordinary light in four ways; Briefly it is much
more intense, directional, monochromatic and coherent. Most lasers consist
of a column of active material with a partly reflecting mirror at one end and a
fully reflecting mirror at the other. The active material can be solid (ruby
crystal), liquid or gas (HeNe, CO 2 etc.).
R R
2
In case of a three-level laser, the material is pumped from level 1 to level 3,
which decays rapidly to level 2 through spontaneous emission. Level 2 is a
metastable level and promotes stimulated emission from level 2 to level 1.
3
1.4 A Survey of Laser Types:
Laser technology is available to us since 1960’s, and since then has been
quite well developed. Currently, there is a great variety of lasers of different
output power, operating voltages, sizes, etc. The major classes of lasers
currently used are Gas, Solid, Molecular, and Free Electron lasers. Below we
will cover some most popular representative types of lasers of each class and
describe specific principles of operation, construction, and main highlights.
4
Fig(1.5): The lasing action of He-Ne laser.
5
3- Argon Laser:
The argon ion laser can be operated as a continuous gas laser at about 25
different wavelengths in the visible between (408.9 - 686.1) nm, but is best
known for its most efficient transitions in the green at 488 nm and 514.5 nm.
Operating at much higher powers than the Helium-Neon gas laser, it is not
uncommon to achieve (30 – 100) watts of continuous power using several
transitions. This output is produced in hot plasma and takes extremely high
power, typically (9 – 12) kW, so these are large and expensive devices.
6
Fig (1.6): Principle of operation of a Ruby laser.
2- Neodymium-YAG Laser:
An example of a solid-state laser, the neodymium-YAG uses the Nd3+ ion to
P P
7
3- Neodymium-Glass Lasers:
Neodymium glass lasers have emerged as the design choice for research in
laser-initiated thermonuclear fusion. These pulsed lasers generate pulses as
short as 10-12 seconds with peak powers of 109 kilowatts.
8
pulses can be achieved because the stimulated emission cross-sections of the
laser transitions are relatively low, allowing a large population inversion to
build up. The power is also enhanced by the fact that the ground state of XeF
quickly dissociates, so that there is little absorption to quench the laser pulse
action.
The free-electron laser is a highly tunable device which has been used to
generate coherent radiation from 10-5 to 1 cm in wavelength. In some parts of
this range, they are the highest power source. Applications of free-electron
lasers are envisioned in isotope separation, plasma heating for nuclear fusion,
long-range, high resolution radar, and particle acceleration in accelerators.
9
1.5 Pulsed operation:
Pulsed operation of lasers refers to any laser not classified as continuous
wave, so that the optical power appears in pulses of some duration at some
repetition rate. This encompasses a wide range of technologies addressing a
number of different motivations. Some lasers are pulsed simply because they
cannot be run in continuous mode.
In other cases the application requires the production of pulses having as
large an energy as possible. Since the pulse energy is equal to the average
power divided by the repitition rate, this goal can sometimes be satisfied by
lowering the rate of pulses so that more energy can be built up in between
pulses. In laser ablation for example, a small volume of material at the surface
of a work piece can be evaporated if it is heated in a very short time, whereas
supplying the energy gradually would allow for the heat to be absorbed into
the bulk of the piece, never attaining a sufficiently high temperature at a
particular point.
Other applications rely on the peak pulse power (rather than the energy in
the pulse), especially in order to obtain nonlinear optical effects. For a given
pulse energy, this requires creating pulses of the shortest possible duration
utilizing techniques such as Q-switching.
10
to add it holding volume constant or to add it holding pressure constant.
(There may be other choices, but they will not concern us.)
Let's assume for the moment that we are going to add heat to our sample
holding volume constant, that is 𝑑𝑑𝑑𝑑 = 0. Let 𝑄𝑄𝑉𝑉 be the heat added (the
subscript 𝑉𝑉, indicates that the heat is being added at constant 𝑉𝑉). Also, let 𝛥𝛥𝛥𝛥
be the temperature change. The ratio 𝑄𝑄𝑉𝑉 /∆𝑇𝑇, depends on the material, the
amount of material, and the temperature. In the limit where 𝑄𝑄𝑉𝑉 goes to zero
(so that 𝛥𝛥𝛥𝛥 also goes to zero) this ratio becomes a derivative:
𝑄𝑄𝑉𝑉 𝜕𝜕𝜕𝜕
lim � � = � � = 𝐶𝐶𝑉𝑉 (1.1)
𝑄𝑄𝑉𝑉 →0 ∆𝑇𝑇 𝑉𝑉 𝜕𝜕𝜕𝜕 𝑉𝑉
We have given this derivative the symbol 𝐶𝐶𝑉𝑉 , and we call it the heat
capacity at constant volume. Usually one quotes the "molar heat capacity"
𝐶𝐶𝑉𝑉
𝐶𝐶𝑉𝑉̅ ≡ 𝐶𝐶𝑉𝑉𝑉𝑉 = (1.2)
𝑛𝑛
We can rearrange Equation (1.1) as follows:
𝑑𝑑𝑑𝑑𝑉𝑉 = 𝐶𝐶𝑉𝑉 𝑑𝑑𝑑𝑑 (1.3)
Then we can integrate this equation to find the heat involved in a finite
change at constant volume:
𝑇𝑇2
If 𝐶𝐶𝑉𝑉 is approximately constant over the temperature range then 𝐶𝐶𝑉𝑉 comes
R R
𝑄𝑄𝑃𝑃 𝜕𝜕𝜕𝜕
lim � � = � � = 𝐶𝐶𝑃𝑃 (1.6)
𝑄𝑄𝑃𝑃 →0 ∆𝑇𝑇 𝑃𝑃 𝜕𝜕𝜕𝜕 𝑃𝑃
The analogous molar heat capacity is:
11
𝐶𝐶𝑃𝑃
𝐶𝐶𝑃𝑃̅ ≡ 𝐶𝐶𝑃𝑃𝑃𝑃 = (1.7)
𝑛𝑛
Equation (1.6) rearranges to:
𝑑𝑑𝑑𝑑𝑃𝑃 = 𝐶𝐶𝑃𝑃 𝑑𝑑𝑑𝑑 (1.8)
which integrates to give:
𝑇𝑇2
𝛽𝛽 𝛾𝛾
𝑄𝑄𝑝𝑝 = 𝑛𝑛 𝛼𝛼 (𝑇𝑇2 − 𝑇𝑇1 ) + 𝑛𝑛 �𝑇𝑇2 2 − 𝑇𝑇1 2 � + 𝑛𝑛 �𝑇𝑇2 3 − 𝑇𝑇1 3 � (1.13)
2 3
Occasionally one finds a different form for the temperature dependent heat
capacity in the literature:
𝐶𝐶𝑝𝑝̅ = 𝑎𝑎 + 𝑏𝑏𝑏𝑏 + 𝑐𝑐𝑇𝑇 −2 (1.14)
When you do calculations with temperature dependent heat capacities you
must check to see which form is being used for 𝐶𝐶𝑃𝑃 . We are using the
convention that 𝑄𝑄 will always designate heat absorbed by the system. 𝑄𝑄 can
be positive or negative and the sign indicates which way heat is flowing. If 𝑄𝑄 is
12
positive then heat was indeed absorbed by the system. On the other hand, if
𝑄𝑄 is negative it means that the system gave up heat to the surroundings.
13
The increase in internal energy in a small spatial region of the material
(𝑥𝑥 − ∆𝑥𝑥) ≤ 𝜁𝜁 ≤ (𝑥𝑥 + 𝛥𝛥𝑥𝑥) over the time period (𝑡𝑡 − ∆𝑡𝑡) ≤ 𝜏𝜏 ≤ (𝑡𝑡 + 𝛥𝛥𝑡𝑡) is
given by:
𝑥𝑥+∆𝑥𝑥
This is true for any rectangle [𝑡𝑡 − 𝛥𝛥𝛥𝛥, 𝑡𝑡 + 𝛥𝛥𝛥𝛥] × [𝑥𝑥 − 𝛥𝛥𝛥𝛥, 𝑥𝑥 + 𝛥𝛥𝛥𝛥].
Consequently, the integrand must vanish identically: 𝑐𝑐𝑃𝑃 𝜌𝜌 𝑇𝑇𝜏𝜏 − 𝑘𝑘 𝑇𝑇𝜁𝜁𝜁𝜁 = 0
Which can be rewritten as:
𝑘𝑘
𝑇𝑇𝑡𝑡 = 𝑇𝑇𝑥𝑥𝑥𝑥 (1.22)
𝑐𝑐𝑃𝑃 𝜌𝜌
or:
𝜕𝜕𝜕𝜕 𝑘𝑘 𝜕𝜕 2 𝑇𝑇
= � � (1.23)
𝜕𝜕𝜕𝜕 𝑐𝑐𝑃𝑃 𝜌𝜌 𝜕𝜕𝜕𝜕 2
14
which is the heat equation. The coefficient 𝑘𝑘/(𝑐𝑐𝑃𝑃 𝜌𝜌) is called thermal
diffusivity and is often denoted 𝛼𝛼.
15
Chapter Two
Theoretical Aspects
2.1 Introduction:
When a laser interacts with a solid surface, a variety of processes can
solid surface, in first instance a metal. When such a laser interacts with a
copper surface, the laser energy will be transformed into heat. The
16
𝑇𝑇 ( 𝑥𝑥, 0 ) = 𝑇𝑇∞ 𝑓𝑓𝑓𝑓𝑓𝑓 𝑡𝑡 = 0, 0 ≤ 𝑥𝑥 ≤ 𝑙𝑙
where:
𝐾𝐾: represents the thermal conductivity.
𝜌𝜌 : represents the density.
𝐶𝐶 : represents the specific heat.
𝑇𝑇 : represents the temperature.
𝑇𝑇∞ : represents the ambient temperature.
𝑇𝑇𝑣𝑣 : represents the front surface vaporization.
𝛼𝛼𝛼𝛼(𝑡𝑡) : represents the surface heat flux density absorbed by the slab.
Now, if we assume that 𝜌𝜌, 𝐶𝐶 , 𝐾𝐾 are constant, the equation (2.1) becomes:
𝑇𝑇𝑡𝑡 = 𝑑𝑑𝑑𝑑 𝑇𝑇𝑥𝑥𝑥𝑥 (2.3)
With the same boundary conditions as in equation (2.2)
𝐾𝐾
where: 𝑑𝑑𝑑𝑑 = which represents the thermal diffusion.
𝜌𝜌𝜌𝜌
17
developed, it involves such a complex series solution that numerical evaluation
becomes exceedingly difficult. For such situation the most fruitful approach to
the problem is numerical techniques, the basic principles of which we shall
outline in this section.
One way to guarantee accuracy in the solution of an initial values problems
(I.V.P.) is to solve the problem twice using step sizes h and h/2 and compare
answers at the mesh points corresponding to the larger step size. But this requires
a significant amount of computation for the smaller step size and must be
repeated if it is determined that the agreement is not good enough.
18
The core idea of the finite-difference method is to replace continuous
derivatives with so-called difference formulas that involve only the discrete
values associated with positions on the mesh.
Applying the finite-difference method to a differential equation involves
replacing all derivatives with difference formulas. In the heat equation there are
derivatives with respect to time, and derivatives with respect to space. Using
different combinations of mesh points in the difference formulas results in
different schemes. In the limit as the mesh spacing (∆𝑥𝑥 and ∆𝑡𝑡) go to zero, the
numerical solution obtained with any useful scheme will approach the true
solution to the original differential equation. However, the rate at which the
numerical solution approaches the true solution varies with the scheme.
where 𝛿𝛿𝛿𝛿 is a change in 𝑥𝑥 relative to 𝑥𝑥𝑖𝑖 . Let 𝛿𝛿𝛿𝛿 = ∆𝑥𝑥 in last equation, i.e.,
consider the value of ∅ at the location of the 𝑥𝑥𝑖𝑖+1 mesh line:
𝜕𝜕∅ ∆𝑥𝑥 2 𝜕𝜕 2 ∅ ∆𝑥𝑥 3 𝜕𝜕 3 ∅
∅(𝑥𝑥𝑖𝑖 + ∆𝑥𝑥) = ∅(𝑥𝑥𝑖𝑖 ) + ∆𝑥𝑥 � + � + � +⋯ (2.6)
𝜕𝜕𝜕𝜕 𝑥𝑥 𝑖𝑖 2! 𝜕𝜕𝜕𝜕 2 𝑥𝑥 3! 𝜕𝜕𝜕𝜕 3 𝑥𝑥
𝑖𝑖 𝑖𝑖
Notice that the powers of ∆𝑥𝑥 multiplying the partial derivatives on the right
hand side have been reduced by one.
19
Substitute the approximate solution for the exact solution, i.e., use ∅𝑖𝑖 ≈ ∅(𝑥𝑥𝑖𝑖 )
and ∅𝑖𝑖+1 ≈ ∅(𝑥𝑥𝑖𝑖 + ∆𝑥𝑥).
𝜕𝜕∅ ∅𝑖𝑖+1 − ∅𝑖𝑖 ∆𝑥𝑥 𝜕𝜕 2 ∅ ∆𝑥𝑥 2 𝜕𝜕 3 ∅
� = − � − � −⋯ (2.8)
𝜕𝜕𝜕𝜕 𝑥𝑥 𝑖𝑖 ∆𝑥𝑥 2! 𝜕𝜕𝜕𝜕 2 𝑥𝑥 3! 𝜕𝜕𝜕𝜕 3 𝑥𝑥
𝑖𝑖 𝑖𝑖
The mean value theorem can be used to replace the higher order derivatives:
∆𝑥𝑥 2 𝜕𝜕 2 ∅ ∆𝑥𝑥 3 𝜕𝜕 3 ∅ ∆𝑥𝑥 2 𝜕𝜕 2 ∅
� + � +⋯= � (2.9)
2! 𝜕𝜕𝜕𝜕 2 𝑥𝑥 3! 𝜕𝜕𝜕𝜕 3 𝑥𝑥 2! 𝜕𝜕𝜕𝜕 2 𝜉𝜉
𝑖𝑖 𝑖𝑖
The term on the right hand side of previous equation is called the truncation
error of the finite difference approximation.
In general, 𝜉𝜉 is not known. Furthermore, since the function ∅(𝑥𝑥, 𝑡𝑡) is also
unknown, 𝜕𝜕 2 ∅/𝜕𝜕𝑥𝑥 2 cannot be computed. Although the exact magnitude of the
truncation error cannot be known (unless the true solution ∅(𝑥𝑥, 𝑡𝑡) is available in
analytical form), the "big 𝒪𝒪" notation can be used to express the dependence of
the truncation error on the mesh spacing. Note that the right hand side of last
equation contains the mesh parameter ∆𝑥𝑥, which is chosen by the person using
the finite difference simulation. Since this is the only parameter under the user's
control that determines the error, the truncation error is simply written:
∆𝑥𝑥 2 𝜕𝜕 2 ∅
� = 𝒪𝒪 (∆𝑥𝑥 2 ) (2.12)
2! 𝜕𝜕𝜕𝜕 2 𝜉𝜉
The equals sign in this expression is true in the order of magnitude sense. In
other words the "𝒪𝒪 (∆𝑥𝑥 2 )" on the right hand side of the expression is not a strict
20
equality. Rather, the expression means that the left hand side is a product of an
unknown constant and ∆𝑥𝑥 2 . Although the expression does not give us the exact
magnitude of (∆𝑥𝑥 2 )/2�(𝜕𝜕 2 ∅/𝜕𝜕𝑥𝑥 2 )𝑥𝑥 𝑖𝑖 � , it tells us how quickly that term
𝜉𝜉
Notice the alternating signs of terms on the right hand side. Solve for (𝜕𝜕∅/𝜕𝜕𝜕𝜕 )𝑥𝑥 𝑖𝑖
to get:
𝜕𝜕∅ ∅𝑖𝑖+1 − ∅𝑖𝑖 ∆𝑥𝑥 𝜕𝜕 2 ∅ ∆𝑥𝑥 2 𝜕𝜕 3 ∅
� = − � − � −⋯ (2.15)
𝜕𝜕𝜕𝜕 𝑥𝑥 𝑖𝑖 ∆𝑥𝑥 2! 𝜕𝜕𝜕𝜕 2 𝑥𝑥 3! 𝜕𝜕𝜕𝜕 3 𝑥𝑥
𝑖𝑖 𝑖𝑖
21
This is called the backward difference formula because it involves the values of
∅ at 𝑥𝑥𝑖𝑖 and 𝑥𝑥𝑖𝑖−1 .
The order of magnitude of the truncation error for the backward difference
approximation is the same as that of the forward difference approximation. Can
we obtain a first order difference formula for (𝜕𝜕∅/𝜕𝜕𝜕𝜕 )𝑥𝑥 𝑖𝑖 with a smaller
truncation error? The answer is yes.
or
𝜕𝜕∅ ∅𝑖𝑖+1 − ∅𝑖𝑖−1
� = + 𝒪𝒪 (∆𝑥𝑥 2 ) (2.21)
𝜕𝜕𝜕𝜕 𝑥𝑥 𝑖𝑖 2∆𝑥𝑥
This is the central difference approximation to (𝜕𝜕∅/𝜕𝜕𝜕𝜕 )𝑥𝑥 𝑖𝑖 . To get good
approximations to the continuous problem small ∆𝑥𝑥 is chosen. When ∆𝑥𝑥 ≪ 1,
the truncation error for the central difference approximation goes to zero much
faster than the truncation error in forward and backward equations.
22
2.5 Procedures:
The simple case in this investigation was assuming the constant thermal
properties of the material. First we assumed all the thermal properties of the
materials thermal conductivity 𝐾𝐾, heat capacity 𝐶𝐶, melting point 𝑇𝑇𝑚𝑚 , and vapor
point 𝑇𝑇𝑣𝑣 , are independent of temperature. About laser energy 𝐸𝐸 at the first we
assume the constant energy, after that the pulse of special shapes was selected.
The numerical solution of equation (2.3) with boundary and initial conditions
in equation (2.2) was investigated, using Matlab program as shown in Appendix.
The equation of thermal conductivity, and specific heat capacity of metal as a
function of temperature was obtained by best fitting of polynomials, using
tabulated data in references.
23
Chapter Three
Results and Discursion
3.1 Introduction:
The development of laser has been an exciting chapter in the history of
science and engineering. It has produced a new type of advice with potential for
application in an extremely wide variety of fields. Mach basic development in
lasers were occurred during last 35 years. The lasers interaction with metal and
vaporize of metals due to it’s ability for welding, cutting and drilling applicable.
The status of laser development and application were still rather rudimentary.
The light emitted by laser is electro magnetic radiation, this radiation has a wave
nature, the waves consists of vibrating electric and magnetic fields, many studies
have tried to find and solve models of laser interactions. Some researchers
proposed the mathematical model related to the laser - plasma interaction, and
the others have developed an analytical model to study the temperature
distribution in Infrared optical materials heated by laser pulses. Also an attempt
have made to study the interaction of nanosecond pulsed lasers with material
from point of view using experimental technique and theoretical approach of
dimensional analysis.
In this study we have evaluate the solution of partial difference equation
(P.D.E) that represent the laser interaction with solid situation in one dimension
assuming that the power density of laser and thermal properties are functions
with time and temperature respectively.
24
3.2 Numerical solution with constant laser power density and constant
thermal properties:
First we have taken the lead metal (Pb) with thermal properties.
𝐽𝐽
𝐾𝐾 = 22.506 × 10−5
𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚. 𝑐𝑐𝑐𝑐. 𝐾𝐾
𝐽𝐽
𝐶𝐶 = 0.14016
𝑔𝑔𝑔𝑔
𝜌𝜌 = 10.751 𝑔𝑔/𝑐𝑐𝑐𝑐3
𝑇𝑇𝑚𝑚 (𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝) = 600 𝐾𝐾
𝑇𝑇𝑣𝑣 (𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝) = 1200 𝐾𝐾
and we have taken laser energy 𝐸𝐸 = 3 𝐽𝐽, 𝐴𝐴 = 1.34 × 10−3 𝑐𝑐𝑐𝑐2 , where 𝐴𝐴
represent the area under laser influence.
The numerical solution of equation (2.3) with boundary and initial conditions
𝑊𝑊
in equation (2.2) assuming (𝐼𝐼 = 𝐼𝐼0 = 7.6 × 106 ) with the thermal properties
𝑐𝑐𝑐𝑐 2
of lead metal by explicit method, using Matlab program give us the results as
shown in Fig (3.1).
Fig(3.1): Depth dependence of the temperature with the laser power density
𝑊𝑊
𝐼𝐼0 = 7.6 × 106 � �.
𝑐𝑐𝑐𝑐 2
25
3.3 Evaluation of function 𝑰𝑰(𝒕𝒕) of laser flux density:
From following data that represent the energy (𝐽𝐽) with time (millie second):
Time 0 0.01 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Energy 0 0.02 0.17 0.22 0.24 0.2 0.12 0.07 0.02 0
By using Matlab program, the best polynomial with deduced from above data
was:
𝐸𝐸 (𝑡𝑡) = 3.7110 × 10−4 + 2.1582 𝑡𝑡 − 5.7582 𝑡𝑡 2 + 3.6746 𝑡𝑡 3 + 0.99414 𝑡𝑡 4
− 1.0069 𝑡𝑡 5 (3.1)
As shown in Fig (3.2).
Figure shows the maximum value of energy 𝐸𝐸𝑚𝑚𝑚𝑚𝑚𝑚 = 0.2403 𝐽𝐽. The
normalized function ( 𝐸𝐸𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 ) is deduced by dividing 𝐸𝐸(𝑡𝑡) by the
maximum value (𝐸𝐸𝑚𝑚𝑚𝑚𝑚𝑚 ).
𝐸𝐸(𝑡𝑡)
𝐸𝐸𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 = (3.2)
(𝐸𝐸𝑚𝑚𝑚𝑚𝑚𝑚 )
The normalized function ( 𝐸𝐸𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 ) was shown in Fig (3.3):
26
Fig(3.3): Normalized laser energy as a function of time.
The integral of 𝐸𝐸(𝑡𝑡) normalized over 𝑡𝑡 from 𝑡𝑡 = 0.0 𝑡𝑡𝑡𝑡 𝑡𝑡 = 0.8 (𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚) must
equal to 3 (total laser energy) i.e.
0.8
The integral of laser flux density 𝐼𝐼 = 𝐼𝐼(𝑡𝑡) over 𝑡𝑡 from 𝑡𝑡 = 0.0 𝑡𝑡𝑡𝑡 𝑡𝑡 =
𝑊𝑊
0.8 ( 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 ) must equal to ( 𝐼𝐼0 = 7.6 × 106 ) there fore
𝑐𝑐𝑐𝑐 2
0.8
27
Where 𝐷𝐷𝐷𝐷 put to balance the units of equation (3.6)
But integral
𝐸𝐸
𝐼𝐼 = (3.7)
𝐴𝐴
and from equations (3.5) , (3.6) and (3.7) we have:
0.8 0.8
∫ 𝑃𝑃𝑃𝑃𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 𝑑𝑑𝑑𝑑
� 𝐼𝐼 (𝑡𝑡)𝑑𝑑𝑑𝑑 = 𝑧𝑧 . � 0.0 � (3.8)
𝐴𝐴 . 𝐷𝐷𝐷𝐷
0.0
Where 𝑧𝑧 = 3.95 and its put to balance the magnitude of two sides of equation
(3.8)
There fore:
𝑧𝑧 . 𝑃𝑃. 𝐸𝐸𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛
𝐼𝐼(𝑡𝑡) = (3.9)
𝐴𝐴 . 𝐷𝐷𝐷𝐷
As shown in Fig(3.4). Matlab program was used to obtain the best polynomial
that agrees with result data:
28
3.4 Numerical solution with variable laser power density ( 𝑰𝑰 = 𝑰𝑰 (𝒕𝒕) ) and
constant thermal properties:
With all constant thermal properties of lead metal as in article (2.3) and
𝐼𝐼 = 𝐼𝐼(𝑡𝑡), we have deduced the numerical solution of heat transfer equation as in
equation (2.3) with boundary and initial condition as in equation (2.2), and the
depth penetration is shown in Fig.(3.5).
29
𝐽𝐽
𝑇𝑇 ( 𝐾𝐾 ) 𝐾𝐾 � � × 10−5
𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚. 𝑐𝑐𝑐𝑐𝐾𝐾 0
300 35.3
400 33.2
500 31.5
600 19.0
673 15.75
773 15.2
873 15.0
973 15.0
1073 14.75
1173 14.67
1200 14.55
The previous thermal conductivity data and the best fitting of the data, are
shown in Fig (3.6):
30
3.6 Evaluation the Specific heat as functions of temperature:
The equation of specific heat 𝐶𝐶(𝑇𝑇) as a function of temperature for Lead
material, was obtained from the following experimental data tacked from
literatures.
𝑇𝑇 (𝐾𝐾 ) 𝐶𝐶 (𝐽𝐽/𝑔𝑔. 𝐾𝐾)
300 0.1287
400 0.132
500 0.136
600 0.1421
700 0.1465
800 0.1449
900 0.1433
1000 0.1404
1100 0.1390
1200 0.1345
The specific heat capacity data, and the best polynomial fitting of the data, are
shown in Fig (3.7):
31
Fig(3.7): The best fitting of specific heat capacity of Lead as a function of
temperature.
32
The density of Lead as a function of temperature, and the best polynomial fitting,
are shown in Fig (3.8):
3.8 Numerical solution with variable laser power density ( 𝑰𝑰 = 𝑰𝑰 (𝒕𝒕) ) and
variable thermal properties �𝑲𝑲 = 𝑲𝑲(𝑻𝑻), 𝑪𝑪 = 𝑪𝑪(𝑻𝑻), 𝝆𝝆 = 𝝆𝝆(𝑻𝑻)�:
We have deduced the solution of equation (2.4) with initial and boundary
condition as in equation (2.2) using the function of 𝐼𝐼 (𝑡𝑡) as in equation (3.10)
and the function of 𝐾𝐾 (𝑇𝑇), 𝐶𝐶 (𝑇𝑇) and 𝜌𝜌(𝑇𝑇) as in equation (3.11, 3.12 and 3.13)
respectively, then by using Matlab program, the depth penetration is shown in
Fig (3.9):
33
Fig(3.9): Depth dependence of the temperature for pulse laser, on Lead
material.
34
𝐽𝐽
𝑇𝑇 ( 𝐾𝐾 ) 𝐾𝐾 � � × 10−5
𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚. 𝑐𝑐𝑐𝑐𝐾𝐾 0
100 482
200 413
273 403
298 401
400 393
600 379
800 366
1000 352
1100 346
1200 339
1300 332
The previous thermal conductivity data and the best fitting of the data, are
shown in Fig (3.10):
35
The equation of specific heat 𝐶𝐶(𝑇𝑇) as a function of temperature for Copper
material, was obtained from the following experimental data tacked from
literatures.
𝑇𝑇 (𝐾𝐾 ) 𝐶𝐶 (𝐽𝐽/𝑔𝑔. 𝐾𝐾)
100 0.254
200 0.357
273 0.384
298 0.387
400 0.397
600 0.416
800 0.435
1000 0.454
1100 0.464
1200 0.474
1300 0.483
The specific heat capacity data, and the best polynomial fitting of the data, are
shown in Fig (3.11):
36
Fig(3.11): The best fitting of specific heat capacity of Copper as a function of
temperature.
𝑇𝑇 (𝐾𝐾 ) 𝜌𝜌 (𝑔𝑔/𝑐𝑐𝑐𝑐3 )
100 9.009
200 8.973
273 8.942
298 8.931
400 8.884
600 8.788
800 8.686
1000 8.576
1100 8.519
1200 8.458
1300 8.396
37
The best polynomial of this data was:
The depth penetration of laser energy for copper metal was calculated using
the polynomial equations of thermal conductivity, specific heat capacity, and
density of copper material 𝐾𝐾 (𝑇𝑇), 𝐶𝐶 (𝑇𝑇) and 𝜌𝜌(𝑇𝑇) as a function of temperature,
(equations (3.14, 3.15 and 3.16) respectively), with laser intensity 𝐼𝐼(𝑡𝑡) as a
function of time, the result was shown in Fig (3.13).
38
The temperature gradient in the thickness of 0.018 𝑐𝑐𝑐𝑐 was found to be 900𝑜𝑜 𝐶𝐶
for lead metal, whereas it was found to be nearly 80𝑜𝑜 𝐶𝐶 for same thickness of
copper metal; so the depth penetration of laser energy of lead metal was smaller
than that of copper metal; this may be due to the high thermal conductivity and
high specific heat capacity of copper with that of lead metal.
39
3.10 Conclusions:
The Depth dependence of temperature for lead metal was investigated in two
case; in the first case the laser intensity assume to be constant 𝐼𝐼 = 𝐼𝐼0 , and the
thermal properties (thermal conductivity, specific heat), and density of metal are
also constants 𝐾𝐾 = 𝐾𝐾0 , 𝜌𝜌 = 𝜌𝜌0 , 𝐶𝐶 = 𝐶𝐶0 , in the second case the laser intensity
vary with time 𝐼𝐼 = 𝐼𝐼 (𝑡𝑡), and the thermal properties (thermal conductivity,
specific heat), and density of metal are function of temperature 𝐾𝐾 = 𝑘𝑘 (𝑡𝑡), 𝜌𝜌 =
𝜌𝜌(𝑇𝑇) , 𝐶𝐶 = 𝐶𝐶 (𝑇𝑇). Comparison the results of this two cases, shows that the
penetration depth in the first case is smaller than that of the second case, about
(190) times.
The temperature distribution as a function of depth dependence for copper
metal was also investigated in the case when the laser intensity vary with time
𝐼𝐼 = 𝐼𝐼 (𝑡𝑡), and the thermal properties (thermal conductivity, specific heat), and
density of metal are function of temperature 𝐾𝐾 = 𝑘𝑘(𝑡𝑡), 𝜌𝜌 = 𝜌𝜌(𝑇𝑇) , 𝐶𝐶 = 𝐶𝐶 (𝑇𝑇).
The depth penetration of laser energy of lead metal was found to be smaller
than that of copper metal; this may be due to the high thermal conductivity and
high specific heat capacity of copper with that of lead metal.
40
References
[1] Adrian Bejan, and Allan D. Kraus, "Heat Transfer Handbook", John Wiley &
Sons, Inc. Hoboken, New Jersey, Canada (2003).
[5] John Emsley, “The Elements”, third edition, Oxford University Press Inc.
New York, (1998).
[9] http://www.chem.arizona.edu/~salzmanr/480a/480ants/heat/heat.html
[10] http://www.worldoflasers.com/laserprinciples.htm
[11] http://en.wikipedia.org/wiki/Laser#Pulsed_operation
[12] http://en.wikipedia.org/wiki/Thermal_conductivity
[13] http://en.wikipedia.org/wiki/Heat_equation#Derivation_in_one_dimension
[14] http://webh01.ua.ac.be/plasma/pages/laser-ablation.html
[15] http://web.cecs.pdx.edu/~gerry/class/ME448/codes/FDheat.pdf
41
Appendix
% This program calculate the laser energy as a function of time
clear all
clc
t=[0,.01,.1,.2,.3,.4,.5,.6,.7,.8];
E=[0,.02,.17,.22,.24,.2,.12,.07,.02,0];
u=polyfit(t,E,5)
plot(t,E,'r*')
grid on
hold on
i=0:0.02:0.8;
E1=polyval(u,i);
plot(i,E1,'-b');
xlabel('Time (m sec)')
ylabel('Energy (J)')
title('The time dependence of the energy')
hold off
42
E2=polyval(I,i);
plot(i,E2,'-b');
E2=polyval(I,t);
hold on
plot(t,E2,'r*')
grid on
xlabel('Time (m sec)')
ylabel('Energy (J)')
title('The time dependence of the energy')
hold off
43
title('Dencity as a function of temperature')
hold off
% This program calculate the vaporization time and depth peneteration when
% laser intensity vares as a function of time; and thermal properties are
% constant i.e. I(t)=Io, K(T)=Ko, rho(T)=roho, C(T)=Co
% a: reprecent the first edge of metal plate
% b: reprecent the second edge of metal plate
% h: increment step
% N: number of points
% Tv: the vaporization temperature of metal
% dt: iteration for time
% x: iteration for depth
% K: Thermal Conductivity
% alpha: Absorption coefficient since the surface of metal is opaque =1
% Io: laser intencity with unit (J/mSec.cm^2)
% C: Spescific heat with unit (J/g.K)
% rho: Dencity with unit (g/cm^3)
% du: Termal diffusion with unit (cm^2/mSec)
% r1: this element comes from finite difference method at boundary
% conditions
% T1: the initial value of temperature with unit (Kelvin)
%
clear all
clc
a=0;
b=1e-4;
h=5e-6;
N=round((b-a)/h);
Tv=1200; %the vaporization temperature of lead
dt=0;
x=-h;
t1=0;
t=0;
K=22.506e-5; % thermal conductivity of lead (J/mSec.cm.K)
alpha=1;
Io=7.6e3;
C=0.14016;
rho=10.751;
du=K/(rho*C);
r1=(2*alpha*Io*h)/K;
for i=1:N
T1(i)=300;
end
for t=1:100
t1=t1+1;
dt=dt+2e-10;
x=x+h;
x1(t1)=x;
r=(dt*du)/h^2;
for i=1:N
% This equation to calculate the temperature at x=a
if i==1 T2(i)=T1(i)+2*r*(T1(i+1)-T1(i)+(r1/2));
% This equation to calculate the temperature at x=N
44
elseif i==N T2(i)=T1(i)+2*r*(T1(i-1)-T1(i));
% This equation to calculate the temperature at all other points
else T2(i)=T1(i)+r*(T1(i+1)-2*T1(i)+T1(i-1));
end
% To compare the calculated temperature with vaporization
% temperature
if abs(Tv-T2(i))<=0.8 break
end
end
if abs(Tv-T2(i))<=0.8 break
end
dt=dt+2e-10;
x=x+h;
t1=t1+1;
x1(t1)=x;
r=(dt*du)/h^2;
% This program calculate the vaporization time and depth peneteration when
% laser intensity and thermal properties are constant
% i.e. I(t)=I(t), K(T)=Ko, rho(T)=roho, C(T)=Co
% a: reprecent the first edge of metal plate
% b: reprecent the second edge of metal plate
% h: increment step
% N: number of points
% Tv: the vaporization temperature of metal
% dt: iteration for time
% x: iteration for depth
% K: Thermal Conductivity
% alpha: Absorption coefficient since the surface of metal is opaque =1
% Io: laser intencity with unit (J/mSec.cm^2)
% I : laser intencity as a function of time with unit (J/mSec.cm^2)
% C: Spescific heat with unit (J/g.K)
% rho: Dencity with unit (g/cm^3)
% du: Termal diffusion with unit (cm^2/mSec)
45
% r1: this element comes from finite difference method at boundary
% conditions
% T1: the initial value of temperature with unit (Kelvin)
%
clear all
clc
a=0;
b=0.0175;
h=0.0005;
N=round((b-a)/h);
Tv=1200; %the vaporization temperature of lead
dt=0;
x=-h;
t1=0;
K=22.506e-5; % thermal conductivity of lead (J/mSec.cm.K)
alpha=1;
C=0.14016;
rho=10.751;
du=K/(rho*C);
for i=1:N
T1(i)=300;
end
for t=1:1200
t1=t1+1;
dt=dt+5e-8;
x=x+h;
x1(t1)=x;
I=26.694+1.55258e5*dt-4.1419e5*dt^2+2.6432e5*dt^3+71510*dt^4-72426*dt^5;
r=(dt*du)/h^2;
r1=(2*alpha*I*h)/K;
% This loop calculate the temperature at second point of penetration
% depending on initial temperature T=300
for i=1:N
% This equation to calculate the temperature at x=a
if i==1 T2(i)=T1(i)+2*r*(T1(i+1)-T1(i)+(r1/2));
% This equation to calculate the temperature at x=N
elseif i==N T2(i)=T1(i)+2*r*(T1(i-1)-T1(i));
% This equation to calculate the temperature at all other points
else T2(i)=T1(i)+r*(T1(i+1)-2*T1(i)+T1(i-1));
end
% To compare the calculated temperature with vaporization
% temperature
if abs(Tv-T2(i))<=0.4 break
end
end
if abs(Tv-T2(i))<=0.4 break
end
dt=dt+5e-8;
x=x+h;
t1=t1+1;
x1(t1)=x;
I=26.694+1.55258e5*dt-4.1419e5*dt^2+2.6432e5*dt^3+71510*dt^4-72426*dt^5;
r=(dt*du)/h^2;
r1=(2*alpha*I*h)/K;
% This loop to calculate the next temperature depending on previous
% temperature
46
for i=1:N;
if i==1 T1(i)=T2(i)+2*r*(T2(i+1)-T2(i)+(r1/2));
elseif i==N T1(i)=T2(i)+2*r*(T2(i-1)-T2(i));
else T1(i)=T2(i)+r*(T2(i+1)-2*T2(i)+T2(i-1));
end
if abs(Tv-T1(i))<=0.4 break
end
end
if abs(Tv-T1(i))<=0.4 break
end
end
% This loop to make the peneteration and temperature as matrices to polt
% them
for i=i:N
T(i)=T1(i);
x2(i)=x1(i);
end
plot(x2,T,'r*',x2,T,'b-')
grid on
xlabel('Depth (cm)')
ylabel('Temperature (K)')
% This program calculate the vaporization time and depth peneteration when
% laser intensity and thermal properties are variable
% i.e. I=I(t), K=K(T), rho=roh(T), C=C(T)
% a: reprecent the first edge of metal plate
% b: reprecent the second edge of metal plate
% h: increment step
% N: number of points
% Tv: the vaporization temperature of metal
% dt: iteration for time
% x: iteration for depth
% K: Thermal Conductivity
% alpha: Absorption coefficient since the surface of metal is opaque =1
% Io: laser intencity with unit (J/mSec.cm^2)
% I : laser intencity as a function of time with unit (J/mSec.cm^2)
% C: Spescific heat with unit (J/g.K)
% rho: Dencity with unit (g/cm^3)
% du: Termal diffusion with unit (cm^2/mSec)
% r1: this element comes from finite difference method at boundary
% conditions
% T1: the initial value of temperature with unit (Kelvin)
%
clear all
clc
a=0;
b=0.018;
h=0.0009;
N=round((b-a)/h);
Tv=1200; %the vaporization temperature of lead
dt=0;
x=-h;
t1=0;
alpha=1;
for i=1:N
T1(i)=300;
end
47
for t=1:11000
t1=t1+1;
dt=dt+9e-10;
x=x+h;
x1(t1)=x;
I(t1)=26.694+1.55258e5*dt-4.1419e5*dt^2+2.6432e5*dt^3+...
71510*dt^4-72426*dt^5;
K(i)=-1.7033e-3+1.6895e-5*T1(i)-5.0096e-8*T1(i)^2+...
6.692e-11*T1(i)^3-4.1866e-14*T1(i)^4+1.0003e-17*T1(i)^5;
Kdash(i)=1.6895e-5-2*5.0096e-8*T1(i)+...
3*6.692e-11*T1(i)^2-4*4.1866e-14*T1(i)^3+5*1.0003e-17*T1(i)^4;
C(i)=-4.6853e-2+1.9426e-3*T1(i)-8.6471e-6*T1(i)^2+1.9546e-8*T1(i)^3-...
2.3176e-11*T1(i)^4+1.373e-14*T1(i)^5-3.2089e-18*T1(i)^6;
rho(i)=10.047+9.2126e-3*T1(i)-2.1284e-5*T1(i)^2+1.67e-8*T1(i)^3-...
4.5158e-12*T1(i)^4;
du(i)=K(i)/(rho(i)*C(i));
r(i)=dt/((h^2)*rho(i)*C(i));
r1(i)=((2*alpha*I(t1)*h)/K(i));
dt=dt+9e-10;
x=x+h;
t1=t1+1;
x1(t1)=x;
I(t1)=26.694+1.55258e5*dt-4.1419e5*dt^2+2.6432e5*dt^3+71510*dt^4-72426*dt^5;
% This loop to calculate the next temperature depending on previous
% temperature
for i=1:N
% The following equation represent the thermal conductivity,
% specific heat and density as a function of temperature
K(i)=-1.7033e-3+1.6895e-5*T1(i)-5.0096e-8*T1(i)^2+...
48
6.692e-11*T1(i)^3-4.1866e-14*T1(i)^4+1.0003e-17*T1(i)^5;
Kdash(i)=1.6895e-5-2*5.0096e-8*T1(i)+...
3*6.692e-11*T1(i)^2-4*4.1866e-14*T1(i)^3+5*1.0003e-17*T1(i)^4;
C(i)=-4.6853e-2+1.9426e-3*T1(i)-8.6471e-6*T1(i)^2+1.9546e-8*T1(i)^3-...
2.3176e-11*T1(i)^4+1.373e-14*T1(i)^5-3.2089e-18*T1(i)^6;
rho(i)=10.047+9.2126e-3*T1(i)-2.1284e-5*T1(i)^2+1.67e-8*T1(i)^3-...
4.5158e-12*T1(i)^4;
du(i)=K(i)/(rho(i)*C(i));
r(i)=dt/((h^2)*rho(i)*C(i));
r1(i)=((2*alpha*I(t1)*h)/K(i));
if i==1 T1(i)=T2(i)+2*r(i)*(T2(i+1)-T2(i)+(r1(i)/2));
elseif i==N T1(i)=T2(i)+2*r(i)*(T2(i-1)-T2(i));
else T1(i)=T2(i)+r(i)*(T2(i+1)-2*T2(i)+T2(i-1));
end
if abs(Tv-T1(i))<=0.4 break
end
end
if abs(Tv-T1(i))<=0.4 break
end
end
% This loop to make the peneteration and temperature as matrices to polt
% them
for i=i:N
T(i)=T1(i);
x2(i)=x1(i);
end
plot(x2,T,'r*',x2,T,'b-')
grid on
xlabel('Depth (cm)')
ylabel('Temperature (K)')
49
u=polyfit(T,C,6)
i=100:10:1300; % loop of temperature
C1=polyval(u,i);
plot(T,C,'r*')
hold on
plot(i,C1,'-b')
grid on
xlabel('Temperature (K)')
ylabel('Specific heat capacity (J/gm.K)')
title('Specific heat capacity as a function of temperature')
hold off
% This program calculate the dencity as a function temperature
clear all
clc
T=[100,200,273,298,400,600,800,1000,1100,1200,1300];
P=[9.009,8.973,8.942,8.931,8.884,8.788,8.686,8.576,8.519,8.458,8.396];
u=polyfit(T,P,4)
i=100:10:1300; % loop of temperature
P1=polyval(u,i);
plot(T,P,'r*')
hold on
plot(i,P1,'-b')
grid on
xlabel('Temperature (K)')
ylabel('Dencity (g/cm^{3})')
title('Dencity as a function of temperature')
hold off
% This program calculate the vaporization time and depth peneteration when
% laser intensity and thermal properties are variable
% i.e. I=I(t), K=K(T), rho=roh(T), C=C(T)
% a: reprecent the first edge of metal plate
% b: reprecent the second edge of metal plate
% h: increment step
% N: number of points
% Tv: the vaporization temperature of metal
% dt: iteration for time
% x: iteration for depth
% K: Thermal Conductivity
% alpha: Absorption coefficient since the surface of metal is opaque =1
% Io: laser intencity with unit (J/mSec.cm^2)
% I : laser intencity as a function of time with unit (J/mSec.cm^2)
% C: Spescific heat with unit (J/g.K)
% rho: Dencity with unit (g/cm^3)
% du: Termal diffusion with unit (cm^2/mSec)
% r1: this element comes from finite difference method at boundary
% conditions
% T1: the initial value of temperature with unit (Kelvin)
%
clear all
clc
a=0;
b=0.018;
h=0.0009;
N=round((b-a)/h);
Tv=1400; %the vaporization temperature of copper
dt=0;
x=-h;
t1=0;
50
alpha=1;
for i=1:N
T1(i)=300;
end
for t=1:11000
t1=t1+1;
dt=dt+1e-10;
x=x+h;
x1(t1)=x;
I(t1)=2.67126e1+1.55354e5*dt-4.14184e5*dt^2+2.64503e5*dt^3+...
7.15599e4*dt^4-7.24766e4*dt^5;
K(i)=6.02178e-3-1.6629e-5*T1(i)+5.0601e-8*T1(i)^2-...
7.3582e-11*T1(i)^3+4.977e-14*T1(i)^4-1.2684e-17*T1(i)^5;
Kdash(i)=-1.6629e-5+2*5.0601e-8*T1(i)-...
3*7.3582e-11*T1(i)^2+4*4.977e-14*T1(i)^3-5*1.2684e-17*T1(i)^4;
C(i)=6.1206e-4+3.6943e-3*T1(i)-1.4043e-5*T1(i)^2+2.7381e-8*T1(i)^3-...
2.8352e-11*T1(i)^4+1.4895e-14*T1(i)^5-3.1225e-18*T1(i)^6;
rho(i)=9.0422-2.9641e-4*T1(i)-3.1976e-7*T1(i)^2+2.2681e-10*T1(i)^3-...
7.6765e-14*T1(i)^4;
du(i)=K(i)/(rho(i)*C(i));
r(i)=dt/((h^2)*rho(i)*C(i));
r1(i)=((2*alpha*I(t1)*h)/K(i));
dt=dt+1e-10;
x=x+h;
t1=t1+1;
x1(t1)=x;
I(t1)=2.67126e1+1.55354e5*dt-4.14184e5*dt^2+2.64503e5*dt^3+...
51
7.15599e4*dt^4-7.24766e4*dt^5;
% This loop to calculate the next temperature depending on previous
% temperature
for i=1:N
% The following equation represent the thermal conductivity,
% specific heat and density as a function of temperature
K(i)=6.02178e-3-1.6629e-5*T1(i)+5.0601e-8*T1(i)^2-...
7.3582e-11*T1(i)^3+4.977e-14*T1(i)^4-1.2684e-17*T1(i)^5;
Kdash(i)=-1.6629e-5+2*5.0601e-8*T1(i)-...
3*7.3582e-11*T1(i)^2+4*4.977e-14*T1(i)^3-5*1.2684e-17*T1(i)^4;
C(i)=6.1206e-4+3.6943e-3*T1(i)-1.4043e-5*T1(i)^2+2.7381e-8*T1(i)^3-...
2.8352e-11*T1(i)^4+1.4895e-14*T1(i)^5-3.1225e-18*T1(i)^6;
rho(i)=9.0422-2.9641e-4*T1(i)-3.1976e-7*T1(i)^2+2.2681e-10*T1(i)^3-...
7.6765e-14*T1(i)^4;
du(i)=K(i)/(rho(i)*C(i));
r(i)=dt/((h^2)*rho(i)*C(i));
r1(i)=((2*alpha*I(t1)*h)/K(i));
if i==1 T1(i)=T2(i)+2*r(i)*(T2(i+1)-T2(i)+(r1(i)/2));
elseif i==N T1(i)=T2(i)+2*r(i)*(T2(i-1)-T2(i));
else T1(i)=T2(i)+r(i)*(T2(i+1)-2*T2(i)+T2(i-1));
end
if abs(Tv-T1(i))<=0.4 break
end
end
if abs(Tv-T1(i))<=0.4 break
end
end
% This loop to make the peneteration and temperature as matrices to polt
% them
for i=1:N
T(i)=T1(i);
x2(i)=x1(i);
end
plot(x2,T,'r*',x2,T,'b-')
grid on
xlabel('Depth (cm)')
ylabel('Temperature (K)')
52