Lecture 17 Solving the Diffusion equation Remember Phils Problems and your notes = everything Only 5 lectures.

Slides:



Advertisements
Similar presentations
To PHY226 Mathematical Methods for Physics and Astronomy to PHY226 Mathematical Methods for Physics and Astronomy Phil Lightfoot, E47, (24533)
Advertisements

Lecture 7: Basis Functions & Fourier Series
Navier-Stokes Equation
Lecture 8 Fourier Series applied to pulses Remember homework 1 for submission 31/10/08 Remember Phils Problems.
Partial Differential Equations Definition One of the classical partial differential equation of mathematical physics is the equation describing the conduction.
Parabolic Partial Differential Equations
Lecture 13 2 nd order partial differential equations Remember Phils Problems and your notes = everything Only.
Monday, Nov. 11, 2013PHYS , Fall 2013 Dr. Jaehoon Yu 1 PHYS 3313 – Section 001 Lecture #17 Monday, Nov. 11, 2013 Dr. Jaehoon Yu Alpha Particle.
Lecture 4 Ordinary Differential Equations Purpose of lecture: Solve the full 2 nd order homogeneous ODE Solve these 2 nd order inhomogeneous ODEs Introduction.
ECE 3336 Introduction to Circuits & Electronics
Math for CSLecture 121 Partial Differential Equations Boundary Value Problems.
Excellence Justify the choice of your model by commenting on at least 3 points. Your comments could include the following: a)Relate the solution to the.
Chapter 9 Differential equations
1 Model 4: Heat flow in an electrical conductor A copper conductor is sheathed in an insulator material. The insulator also stops heat from escaping. Imagine.
Macquarie University The Heat Equation and Diffusion PHYS by Lesa Moore DEPARTMENT OF PHYSICS.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Instructor: Tim Warburton.
Boyce/DiPrima 10th ed, Ch 10.5: Separation of Variables; Heat Conduction in a Rod Elementary Differential Equations and Boundary Value Problems, 10th.
Ch 9 pages ; Lecture 21 – Schrodinger’s equation.
Lecture 12 Convolutions and summary of course Remember Phils Problems and your notes = everything Today Convolutions.
Louisiana Tech University Ruston, LA Slide 1 The Rectangular Channel Steven A. Jones BIEN 501 Friday, April 4th, 2008.
9.6 Other Heat Conduction Problems
Chapter one Linear Equations
Lecture 21 Revision session Remember Phils Problems and your notes = everything Remember I’m available for questions.
Lecture 7 Fourier Series Skim through notes before lecture Ask questions in lecture After lecture read notes and try some problems See me in E47 office.
ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals.
Section 2: Finite Element Analysis Theory
1 Chapter 8 Ordinary differential equation Mathematical methods in the physical sciences 3rd edition Mary L. Boas Lecture 5 Introduction of ODE.
FOURIER SERIES §Jean-Baptiste Fourier (France, ) proved that almost any period function can be represented as the sum of sinusoids with integrally.
CISE315 SaS, L171/16 Lecture 8: Basis Functions & Fourier Series 3. Basis functions: Concept of basis function. Fourier series representation of time functions.
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
Warm Up Lesson Presentation Lesson Quiz Class work/Homework.
Lecture 16 Solving the Laplace equation in 2-D Remember Phils Problems and your notes = everything Only 6 lectures.
Lecture 9 Fourier Transforms Remember homework 1 for submission 31/10/08 Remember Phils Problems and your notes.
Lecture 10 Fourier Transforms Remember homework 1 for submission 31/10/08 Remember Phils Problems and your notes.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
Lecture 20 Spherical Harmonics – not examined
Integrals  In Chapter 2, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.  In much the.
Lecture 6 Intro to Fourier Series Introduction to Fourier analysis Today I’m now setting homework 1 for submission 31/10/08.
The complex exponential function REVIEW. Hyperbolic functions.
Boyce/DiPrima 9 th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
CEE 262A H YDRODYNAMICS Lecture 15 Unsteady solutions to the Navier-Stokes equation.
Lecture 15 Solving the time dependent Schrödinger equation
The Quantum Theory of Atoms and Molecules The Schrödinger equation and how to use wavefunctions Dr Grant Ritchie.
SECOND-ORDER DIFFERENTIAL EQUATIONS
Lecture 19 Spherical Polar Coordinates Remember Phils Problems and your notes = everything Come to see me before.
P1 Chapter 12 & 15 CIE Centre A-level Pure Maths © Adam Gibson.
Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 09: Partial Differential Equations and Fourier.
Ch 10.6: Other Heat Conduction Problems
Advanced Engineering Mathematics, 7 th Edition Peter V. O’Neil © 2012 Cengage Learning Engineering. All Rights Reserved. CHAPTER 4 Series Solutions.
Lecture 3 Ordinary Differential equations Purpose of lecture: Solve 1 st order ODE by substitution and separation Solve 2 nd order homogeneous ODE Derive.
Boundary-Value Problems in Rectangular Coordinates
Understanding the difference between an engineer and a scientist There are many similarities and differences.
3.3 Separation of Variables 3.4 Multipole Expansion
Lecture 14 An introduction to Schrdinger Solving the time dependent Schrdinger equation Lecture 14 An introduction to Schrödinger Solving the time dependent.
Section 7.1 The Rectangular Coordinate System and Linear Equations in Two Variables Math in Our World.
Electrostatic field in dielectric media When a material has no free charge carriers or very few charge carriers, it is known as dielectric. For example.
Ch. 12 Partial Differential Equations
REVIEW A relation is a set of ordered pairs. {(2,3), (-1,5), (4,-2), (9,9), (0,-6)} This is a relation The domain is the set of all x values.
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
Subject : Advance engineering mathematics Topic : Fourier series & Fourier integral.
Trigonometric Identities
Graphing Quadratic Functions Solving by: Factoring
Lecture 18 3D Cartesian Systems
Boyce/DiPrima 10th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Quantum Mechanics for Scientists and Engineers
GOVERNMENT ENGINEERING COLLEGE BHARUCH,014
Ch 11.1: The Occurrence of Two-Point Boundary Value Problems
UNIT II Analysis of Continuous Time signal
Trigonometric Identities
Partial Differential Equations
Presentation transcript:

Lecture 17 Solving the Diffusion equation Remember Phils Problems and your notes = everything Only 5 lectures left Come to see me before the end of term I’ve put more sample questions and answers in Phils Problems Past exam papers Complete solution from last lecture Have a look at homework 2 (due in on 12/12/08)

Poisson’s equation Introduction to PDEs In many physical situations we encounter quantities which depend on two or more variables, for example the displacement of a string varies with space and time: y(x, t). Handing such functions mathematically involves partial differentiation and partial differential equations (PDEs). As (4) in regions containing mass, charge, sources of heat, etc. Electromagnetism, gravitation, hydrodynamics, heat flow. Laplace’s equation Heat flow, chemical diffusion, etc. Diffusion equation Quantum mechanics Schrödinger’s equation Elastic waves, sound waves, electromagnetic waves, etc. Wave equation

The Diffusion equation f(x, t) is the quantity that diffuses. It usually describes a chemical or heat diffusing through a region where h 2 is the diffusion constant typically 1×10 -4 m 2 s -1 for metals. In classical physics, almost all time dependent phenomena may be described by the wave equation or the diffusion equation. Smaller than the micrometer scale, diffusion is often the dominant phenomenon. The 1D diffusion equation has the form

Step 4: Boundary conditions could then be applied to find A and B Step 2: The auxiliary is then and so roots are Step 1: Let the trial solution be So and Unstable equilibrium Step 3: General solution for real roots is Introduction to PDEs Thing to notice is that x(t) only tends towards x=0 in one direction of t, increasing exponentially in the other

Step 1: Let the trial solution be So and Introduction to PDEs Harmonic oscillator Step 2: The auxiliary is then and so roots are Step 3: General solution for complex is where  = 0 and   =  so Thing to notice is that x(t) passes through the equilibrium position (x=0) more than once !!!! Step 4: Boundary conditions could then be applied to find C and D

SUMMARY of the procedure used to solve PDEs 9. The Fourier series can be used to find the particular solution at all times. 1. We have an equation with supplied boundary conditions 2. We look for a solution of the form 3. We find that the variables ‘separate’ 4. We use the boundary conditions to deduce the polarity of N. e.g. 5. We use the boundary conditions further to find allowed values of k and hence X(x). 6. We find the corresponding solution of the equation for T(t). 7. We hence write down the special solutions. 8. By the principle of superposition, the general solution is the sum of all special solutions.. so

Before we do anything let’s think about hot stuff Consider a metal bar heated along it’s length. The ends are placed in ice water and so are held at 0ºC and the middle section is heated by a gas burner. After a while we reach an equilibrium or steady state temperature distribution along the rod which, let’s say is given by f(x), the temperature distribution plot below. x = 0x = L for Is there a way of describing the shape of the temperature distribution in terms of an infinite series of sine terms ??????? Yes, it’s called the Half range sine series !!!!

Before we do anything let’s think about hot stuff for Half-range sine series:where. So Full solution is given in the notes, but we don’t want to waste time doing number crunching so let’s go straight to the answer…. FindSo sincethen This describes the temperature distribution f(x) along the bar in equilibrium

Solving the diffusion equation for relaxation Consider a metal bar heated along it’s length. The ends are placed in ice water and so are held at 0ºC and the middle section is heated by a gas burner. After a while we reach an equilibrium or steady state temperature distribution along the rod which, let’s say is given by f(x), the temperature distribution plot below. At t = 0 we switch off the burner and allow the rod to cool. What is the function f(x,t) that describes the temperature of the rod at any point along its length at any time as it cools? Heat flow is governed by the diffusion equation, (f is the temperature and x is position and t is time)

Solving the diffusion equation for relaxation Heat flow is governed by the diffusion equation, (f is the temperature and x is position and t is time) Step 1: Rewrite using new variables Substitute f(x,t) back into the Diffusion equation: Separating variables: Step 2: Rearrange the equation We are looking for solutions of the form Where X(x) is temperature purely as a function of x and T(t) is temperature purely as a function of time

Solving the diffusion equation for relaxation Step 3: Equate to a constant Now we have separated the variables. The above equation can only be true for all x, t if both sides are equal to a constant. So which rearranges to(i) which rearranges to (ii)

Solving the diffusion equation for relaxation Step 4: Decide based on the boundary conditions whether constant is +ve or -ve (i) We are told in the boundary conditions that both ends of the rod are held at 0°C at all times. We therefore choose a negative constant, –k 2, to give LHO type solutions that will allow X(x) to be zero at more than one value of x, and rearrange to get two ODEs: which has general solution (ii) (iii) (iv)

Solving the diffusion equation for relaxation Also since then Solution to (iii) is Step 5: Solve for the boundary conditions for X(x) We know that X(0) = X(L) = 0 meaning that the temperature is zero at the ends so we can say We know that X(0) = 0 so A = 0. (iii)(iv) X(x) x

Solving the diffusion equation for relaxation where Step 6: Write down the special solution for f n (x, t) i.e. where P n = B n C n So is a special solution of the diffusion equation at one value of n

Solving the diffusion equation for relaxation So is a special solution of the diffusion equation at one value of n The general solution therefore is. Step 7: Constructing the general solution for The general solution of our equation is the sum of all special solutions:

Solving the diffusion equation for relaxation The general solution is All that remains is calculate the required values of P n and the harmonics required. Step 8: Use Fourier series to find values of P n We can do this by relating the Fourier series found at t = 0 to the general solution. The general solution is the solution to the diffusion equation for all values of n summed from 1 to infinity. For our specific example we only want our solution to contain those harmonics required to fulfil the boundary conditions. Remember earlier we showed that in equilibrium the temperature profile along the rod is given by: By comparing this with the general solution at the top of the page when t = 0 we can assign values to P n.

Solving the diffusion equation for relaxation The general solution is Step 8 continued: Use Fourier series to find values of P n By comparing we can see that The general solution at t = 0 is Fourier series at t = 0 is Step 9: Write down full solution of problem where

Let’s check that this fulfils all boundary conditions This is just the Fourier series at start Solving the diffusion equation for relaxation A metal bar is heated along it’s length. The ends are placed in ice water and so are held at 0ºC and the middle section is heated by a gas burner. At t=0 heating stops.

Now we can stick in appropriate values of h and find how the temperature profile changes over time. It can be shown that f(x, t) with increasing time looks like this: Solving the diffusion equation for relaxation A metal bar is heated along it’s length. The ends are placed in ice water and so are held at 0ºC and the middle section is heated by a gas burner. At t=0 heating stops. where

Solving the diffusion equation for relaxation Points of interest The temperature distribution decays exponentially with time. The time constant of the decay is proportional to k -2, and therefore also L 2. So the longest wavelengths (such as the fundamental) last longest. To know exactly how the temperature profile changes with time then we need all the terms. But usually a very good approximation can be obtained by considering just the first term. Remember how we said earlier that temperature as a function of time was written: The time constant of temperature decay is defined as, the time for temperature to drop to of its initial value. where

Our experiment A good approximation can be obtained by considering just the first term. At a fixed x, the temperature drop from t = 0 is: We know , L = 0.5m, and h 2 = 3×10 -5 m 2 s -1 for stainless steel. So and thereforeSo We must record temperature at a fixed location on the rod at regular intervals, then plotting it as a function of time and fitting an exponential to find the decay time constant Remember that now in the full equation x is fixed constant

Our experiment Theory tells us that at a fixed x, the temperature drop from t = 0 should be: We recorded temperature at a fixed location on the rod at regular intervals, then plotted it as a function of time and fitted an exponential to find the decay time constant since Data collected during the lecture has a decay constant of 1.2x10 -3 as expected!!!!

Revision for the exam Above is a sample exam paper for this course There are 5 questions. You have to answer Q1 but then choose any 2 others Previous years maths question papers are up on Phils Problems very soon Q1: Basic questions to test elementary concepts. Looking at previous years you can expect complex number manipulation, integration, solving ODEs, applying boundary conditions, plotting functions, showing ‘x’ is solution of PDE. Easy stuff. Q2-5: More detailed questions usually centred about specific topics: InhomoODE, damped SHM equation, Fourier series, Half range Fourier series, Fourier transforms, convolution, partial differential equation solving (including applying an initial condition to general solution for a specific case), Cartesian 3D systems, Spherical polar 3D systems, Spherical harmonics The notes are the source of examinable material – NOT the lecture presentations I wont be asking specific questions about Quantum mechanics outside of the notes

Revision for the exam The notes are the source of examinable material – NOT the lecture presentations Things to do now Read through the notes using the lecture presentations to help where required. At the end of each section in the notes try Phils problem questions, then try the tutorial questions, then look at your problem and homework questions. If you can do these questions (they’re fun) then you’re in excellent shape for getting over 80% in the exam. Any problems – see me in my office or me Same applies over holidays. I’ll be in the department most days but a question or tell me you want to meet up and I’ll make sure I’m in. Look at the past exam papers for the style of questions and the depth to which you need to know stuff. You’ll have the standard maths formulae and physical constants sheets (I’ll put a copy of it up on Phils Problems so you are sure what’s on it). You don’t need to know any equations e.g. Fourier series or transforms, wave equation, polars.

Concerned about what you need to know? Look through previous exam questions. 2008/2009 exam will be of very similar style. You don’t need to remember any proofs or solutions (e.g. Parseval, Fourier series, Complex Fourier series) apart from damped SHM which you should be able to do. You don’t need to remember any equations or trial solutions, eg. Fourier and InhomoODE particular solutions. You don’t need to remember solutions to any PDE or for example the Fourier transform of a Gaussian and its key widths, etc. However you should understand how to solve any PDE from start to finish and how to generate a Fourier transform. Things you need to be able to do: Everything with complex numbers; solve ODEs and InhomoODEs, apply boundary conditions; integrate and differentiate general stuff; know even and odd functions; understand damped SHM, how to derive its solutions depending on damping coefficient and how to draw them; how to represent an infinitely repeating pattern as a Fourier series, how to represent a pulse as a sine or cosine half range Fourier series; how to calculate a Fourier transform; how to (de)convolve two functions; the steps needed to solve any PDE and apply boundary conditions and initial conditions (usually using Fourier series); how to integrate and manipulate equations in 3D cartesian coordinates; how to do the same in spherical polar coordinates; how to prove an expression is a solution of a spherical polar equation; explain in general terms what spherical harmonics are.