Scientific Computing Partial Differential Equations Introduction and

Slides:



Advertisements
Similar presentations
Partial Differential Equations
Advertisements

Computational Modeling for Engineering MECN 6040
Louisiana Tech University Ruston, LA Slide 1 Energy Balance Steven A. Jones BIEN 501 Wednesday, April 18, 2008.
Partial Differential Equations Definition One of the classical partial differential equation of mathematical physics is the equation describing the conduction.
Finite Element Method (FEM) Different from the finite difference method (FDM) described earlier, the FEM introduces approximated solutions of the variables.
Part 5 Chapter 19 Numerical Differentiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
Chapter 3 Steady-State Conduction Multiple Dimensions
PART 7 Ordinary Differential Equations ODEs
Math for CSLecture 121 Partial Differential Equations Boundary Value Problems.
MANE 4240 & CIVL 4240 Introduction to Finite Elements Introduction to differential equations Prof. Suvranu De.
PARTIAL DIFFERENTIAL EQUATIONS
CE An Intro Problem—will lead to first homework Fluid is contained in along square duct, see cross section below, three faces of the duct are kept.
PARTIAL DIFFERENTIAL EQUATIONS
Numerical Solutions of Ordinary Differential Equations
Dr. Jie Zou PHY Chapter 7 Numerical Differentiation: 1 Lecture (I) 1 Ref: “Applied Numerical Methods with MATLAB for Engineers and Scientists”, Steven.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 23 Numerical Differentiation.
Numerical Differentiation:1* Lecture (II)
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
SE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM Read & CISE301_Topic9 KFUPM.
CHAPTER 8 APPROXIMATE SOLUTIONS THE INTEGRAL METHOD
Boyce/DiPrima 10th ed, Ch 10.5: Separation of Variables; Heat Conduction in a Rod Elementary Differential Equations and Boundary Value Problems, 10th.
Scientific Computing Partial Differential Equations Poisson Equation Calculus of Variations.
Matmol Metoda linii Method of lines
Scientific Computing Partial Differential Equations Explicit Solution of Wave Equation.
COMPUTATIONAL MODELING FOR ENGINEERING MECN 6040 Professor: Dr. Omar E. Meza Castillo Department.
9.6 Other Heat Conduction Problems
CHAPTER 7 NON-LINEAR CONDUCTION PROBLEMS
Section 2: Finite Element Analysis Theory
Scientific Computing Partial Differential Equations Poisson Equation.
Math 3120 Differential Equations with Boundary Value Problems
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.
Engineering Analysis – Computational Fluid Dynamics –
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
HEAT TRANSFER FINITE ELEMENT FORMULATION
Finite Deference Method
Engineering Analysis – Computational Fluid Dynamics –
Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 09: Partial Differential Equations and Fourier.
One Dimensional Non-Homogeneous Conduction Equation P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi Another simple Mathematical.
Ch 10.6: Other Heat Conduction Problems
Chapter 2: Heat Conduction Equation
Boundary-Value Problems in Rectangular Coordinates
Chapter 1 Partial Differential Equations
MA428 Class Project The Heat Equation Temperature Distribution in a Bar with Radiating Ends.
Boyce/DiPrima 9 th ed, Ch 11.3: Non- Homogeneous Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Appendices 10.A & 10.B: An Educational Presentation Presented By: Joseph Ash Jordan Baldwin Justin Hirt Andrea Lance.
Finite-Difference Solutions Part 2
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
ERT 216 HEAT & MASS TRANSFER Sem 2/ Dr Akmal Hadi Ma’ Radzi School of Bioprocess Engineering University Malaysia Perlis.
Ch. 12 Partial Differential Equations
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
Boundary-Value Problems in Rectangular Coordinates
Chapter 30.
Boyce/DiPrima 10th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
INTRODUCTION : Convection: Heat transfer between a solid surface and a moving fluid is governed by the Newton’s cooling law: q = hA(Ts-Tɷ), where Ts is.
Boyce/DiPrima 9th ed, Ch 10.8 Appendix A: Derivation of the Heat Conduction Equation Elementary Differential Equations and Boundary Value Problems, 9th.
GOVERNMENT ENGINEERING COLLEGE BHARUCH,014
Ch 11.1: The Occurrence of Two-Point Boundary Value Problems
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Introduction to Partial Differential Equations
Finite Difference Method
Finite Volume Method for Unsteady Flows
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Topic 3 Discretization of PDE
Partial Differential Equations
Appendices 10.A & 10.B: An Educational Presentation
Topic 3 Discretization of PDE
Heat Transfer In Channels Flow
Reminder Second Hour Exam Date: July 9 ( Monday).
Second Order-Partial Differential Equations
Topic 3 Discretization of PDE
Presentation transcript:

Scientific Computing Partial Differential Equations Introduction and Finite Difference Formulas

Partial Differential Equations A partial differential equation (PDE) is an equation involving partial derivatives of an unknown function of two or more independent variables The following are examples. Note: u may depend on spatial variables and possibly a time variable.

Partial Differential Equations

Partial Differential Equations Because of their widespread application in engineering, our study of PDE will focus on linear, second-order equations The following general form will be evaluated for B2 - 4AC (Variables – x and y/t)

Partial Differential Equations B2-4AC Category Example < 0 Elliptic Laplace equation (steady state with 2 spatial dimensions) = 0 Parabolic Heat conduction equation (time variable with one spatial dimension) >0 Hyperbolic Wave equation (time-variable with one spatial dimension)

Heat Equation One of the classical partial differential equation of mathematical physics is the equation describing the conduction of heat in a solid body (Originated in the 18th century). Consider a straight bar with uniform cross-section and homogeneous material. We wish to develop a model for heat flow through the bar.

Heat Equation Let u(x,t) be the temperature on a cross section located at x and at time t. We shall follow some basic principles: A. Fourier’s Law: The amount of heat energy per unit time flowing through a unit of cross-sectional area is proportional to with constant of proportionality k(x) called the thermal conductivity of the material.

Heat Equation B. Heat flow is always from points of higher temperature to points of lower temperature. C. The amount of heat energy necessary to raise the temperature of an object of mass “m” by an amount u is a “c(x) m(x) u”, where c(x) is the specific heat capacity of the material.

Heat Equation By Fourier’s Law the amount of heat H(x) flowing from left to right through the surface A of a cross section at x during the time interval t can be approximated by: A x

Heat Equation Likewise, the amount of heat H(x+ x) flowing from left to right through a cross section at (x + x) during the time interval t is about: B x + x

Heat Equation Then, on the interval [x, x+x], during time t , the total change in heat is approximately: A B x x + x

DH = c.m.Du=c(x) .((x) Dx).Du Heat Equation Dividing by t x we get: From Item C above for a change in x of Dx : DH = c.m.Du=c(x) .((x) Dx).Du where (x) is the linear mass density function.

Heat Equation Thus: Substituting this into the formula from the previous slide gives:

Heat Equation Canceling x on the left we get: If we take the limits as t, x  0, we get:

Heat Equation If we assume k, c,  are constants, then the eq. becomes: ( ) where This is the Heat Equation in one (space) dimension.

Boundary and Initial conditions We need to designate what the initial temperature distribution is in the rod: u(x,0) We also need to designate what the temperature function is at the ends of the rod: u(0,t) and u(L,t) where L = length of rod. For example, if the ends of the rod are kept at constant temps T1 and T2 ,then u(0,t) = T1 and u(L,t) = T2

One Dimensional Heat Equation

Multi-dimensional space Now consider an object in which the temperature is a function of more than just the x-direction. Then the heat conduction equation can then be written: 2-D: 3-D:

Solving the Heat Equation A solution u(x,t) for the heat equation is a function that satisfies the PDE and all initial conditions. Solution methods: Method of Finite Differences (MFD) Method of Finite Elements (MFE)

Finite Differences The method of finite differences approximates the value of the derivatives of u(x,t) at a point (x0,t0) in its domain, say by using a combination of function values at nearby points. Method is due to Newton. Start with simpler case of f(x)

Differentiation The mathematical definition of a derivative begins with a difference approximation: and as x is allowed to approach zero, the difference becomes a derivative:

Differentiation Formulas Taylor series expansion can be used to generate high-accuracy formulas for derivatives by using the expansion around several points around a given point xi. Three categories for the formula include forward finite-difference backward finite-difference centered finite-difference

Differentiation Formulas Forward difference Backward difference Centered difference

Forward Difference True derivative Approximation h x xi1 xi xi+1

Backward Difference True derivative Approximation h x xi1 xi xi+1

Centered Difference True derivative Approximation 2h x xi1 xi xi+1

First Derivatives x i-2 i-1 i i+1 i+2 Forward difference Backward difference Central difference

Second Derivatives Using the Taylor series expansion about xi we get: where Thus, And,

Centered Finite-Difference

Forward Finite-Difference

Backward Finite-Difference