MATH 5630: Discrete Time-Space Model Hung Phan, UMass Lowell March 1, 2018

Similar documents
Numerical Transient Heat Conduction Experiment

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

2 Finite difference basics

Numerical Heat and Mass Transfer

NUMERICAL DIFFERENTIATION

Module 1 : The equation of continuity. Lecture 1: Equation of Continuity

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Lecture 12: Discrete Laplacian

Appendix B. The Finite Difference Scheme

PES 1120 Spring 2014, Spendier Lecture 6/Page 1

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Airflow and Contaminant Simulation with CONTAM

Physics 207: Lecture 20. Today s Agenda Homework for Monday

Consistency & Convergence

Lab 2e Thermal System Response and Effective Heat Transfer Coefficient

= 1.23 m/s 2 [W] Required: t. Solution:!t = = 17 m/s [W]! m/s [W] (two extra digits carried) = 2.1 m/s [W]

More metrics on cartesian products

Chapter 3. r r. Position, Velocity, and Acceleration Revisited

Lecture 2: Numerical Methods for Differentiations and Integrations

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Physics 181. Particle Systems

DUE: WEDS FEB 21ST 2018

χ x B E (c) Figure 2.1.1: (a) a material particle in a body, (b) a place in space, (c) a configuration of the body

A New Refinement of Jacobi Method for Solution of Linear System Equations AX=b

Physics 4B. Question and 3 tie (clockwise), then 2 and 5 tie (zero), then 4 and 6 tie (counterclockwise) B i. ( T / s) = 1.74 V.

Modelli Clamfim Equazione del Calore Lezione ottobre 2014

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 13

Electrical Circuits 2.1 INTRODUCTION CHAPTER

FTCS Solution to the Heat Equation

Applied Stochastic Processes

Computational Fluid Dynamics. Smoothed Particle Hydrodynamics. Simulations. Smoothing Kernels and Basis of SPH

First Law: A body at rest remains at rest, a body in motion continues to move at constant velocity, unless acted upon by an external force.

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

High resolution entropy stable scheme for shallow water equations

Principles of Food and Bioprocess Engineering (FS 231) Solutions to Example Problems on Heat Transfer

Lecture 5.8 Flux Vector Splitting

arxiv: v1 [math.co] 12 Sep 2014

Week 11: Chapter 11. The Vector Product. The Vector Product Defined. The Vector Product and Torque. More About the Vector Product

ONE-DIMENSIONAL COLLISIONS

Spin-rotation coupling of the angularly accelerated rigid body

2.3 Nilpotent endomorphisms

Gravitational Acceleration: A case of constant acceleration (approx. 2 hr.) (6/7/11)

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

The Finite Element Method

ˆ (0.10 m) E ( N m /C ) 36 ˆj ( j C m)

Convexity preserving interpolation by splines of arbitrary degree

1 Matrix representations of canonical matrices

Tracking with Kalman Filter

Lab session: numerical simulations of sponateous polarization

One-sided finite-difference approximations suitable for use with Richardson extrapolation

Chapter 8. Potential Energy and Conservation of Energy

Digital Signal Processing

(Online First)A Lattice Boltzmann Scheme for Diffusion Equation in Spherical Coordinate

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

Lecture Note 3. Eshelby s Inclusion II

Math1110 (Spring 2009) Prelim 3 - Solutions

Inductance Calculation for Conductors of Arbitrary Shape

STUDY ON TWO PHASE FLOW IN MICRO CHANNEL BASED ON EXPERI- MENTS AND NUMERICAL EXAMINATIONS

The equation of motion of a dynamical system is given by a set of differential equations. That is (1)

Lossy Compression. Compromise accuracy of reconstruction for increased compression.

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16

Physics 111: Mechanics Lecture 11

Topic 5: Non-Linear Regression

Electrostatic Potential from Transmembrane Currents

PHYS 705: Classical Mechanics. Newtonian Mechanics

ACTM State Calculus Competition Saturday April 30, 2011

How Differential Equations Arise. Newton s Second Law of Motion

Linear Approximation with Regularization and Moving Least Squares

Open Systems: Chemical Potential and Partial Molar Quantities Chemical Potential

8 Derivation of Network Rate Equations from Single- Cell Conductance Equations

MMA and GCMMA two methods for nonlinear optimization

Norms, Condition Numbers, Eigenvalues and Eigenvectors

PHYSICS - CLUTCH CH 28: INDUCTION AND INDUCTANCE.

Modelli Clamfim Equazioni differenziali 22 settembre 2016

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

1 GSW Iterative Techniques for y = Ax

Lecture 21: Numerical methods for pricing American type derivatives

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

On a direct solver for linear least squares problems

Time-Varying Systems and Computations Lecture 6

8 Derivation of Network Rate Equations from Single- Cell Conductance Equations

Solutions to Exercises in Astrophysical Gas Dynamics

Moments of Inertia. and reminds us of the analogous equation for linear momentum p= mv, which is of the form. The kinetic energy of the body is.

Conservation of Angular Momentum = "Spin"

Application of B-Spline to Numerical Solution of a System of Singularly Perturbed Problems

Vector Norms. Chapter 7 Iterative Techniques in Matrix Algebra. Cauchy-Bunyakovsky-Schwarz Inequality for Sums. Distances. Convergence.

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty

6.3.4 Modified Euler s method of integration

THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructions

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

Mathematics Intersection of Lines

Lecture 5 Decoding Binary BCH Codes

Math 217 Fall 2013 Homework 2 Solutions

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.

where v means the change in velocity, and t is the

One Dimensional Axial Deformations

8.592J: Solutions for Assignment 7 Spring 2005

Spring 2002 Lecture #13

10.34 Numerical Methods Applied to Chemical Engineering Fall Homework #3: Systems of Nonlinear Equations and Optimization

Transcription:

MATH 5630: Dscrete Tme-Space Model Hung Phan, UMass Lowell March, 08 Newton s Law of Coolng Consder the coolng of a well strred coffee so that the temperature does not depend on space Newton s law of collng s based on the observaton that for small changes of tme h, the change n the temperature s nearly proportonal to h and the dfference between room temperature and the present temperature of the cup Let u be the temperature of the room, u(t be the temperature dependng on tme t, then u (t = C ( u(t u Dscretzng the tme wth t k = k and u k = u(t k and usng u (t k u k+ u k, we obtan the dscrete form u k+ u k = C(u u k u k+ = ( Cu k + C u So the general (dscrete lnear model s ( u k+ = au k + b, whch s called a frst order fnte dfference for the sequence u k To obtan u k, we use telescopng technque and the geometrc summaton + r + r + + r k = rk+ r : ( u k+ = a(au k + b + b = a u k + ab + b = a (au k + b + ab + b = a 3 u k + a b + ab + b = a k+ u 0 + b ak+ a = a k+( u 0 b + b a a Theorem (Steady State Theorem If a, then the soluton of ( s gven by ( If a < then the soluton of ( wll converge to the steady state soluton u = au + b, e, u = b/( a Example Consder a cup of coffee ntally at 00 degree (F and s n a room wth temperature 70 degree After mnute, t cools to 90 degree Predct the temperature of the cup every mnutes Example 3 Consder the setup of prevous example Suppose at every mnute, the temperature of the cup s ncreased for an addtonal degree Predct the temperature every mnutes Error Analyss: Computaton on a computer s done wth floatng pont numbers, thus, there s a roundoff error R k+ at each step Let U k = float(u k, we can wrte U k+ = au k + b + R k+ So U k+ u k+ = a(u k u k + R k+ = a[a(u k u k + R k ] + R k+ = a k+ (U 0 u 0 + a k R + + R k+

Let r = a and let R be the unform bound on R k, then U k+ u k+ r k+ U 0 u 0 + R rk+ r Theorem 4 If a < and the roundoff errors are unformly bounded by R, then the accumulaton error s unformly bounded Heat Dffuson n a Wre Consder a thn electrcal wre that s thermally nsulated on ts surface So the most sgnfcant dffuson s n one drecton x Let u(x, t be the temperature at tme t at the pont x n the wre We derve the heat equaton for u from two physcal laws: The amount of heat energy requred to rase the temperature of a body by du degrees s sm du, where m s the mass of the body and s s a postve physcal constant determned by ts materal, whch s called the specfc heat of the body Fourer heat law: Heat flows from hot to cold The rate at whch heat energy crosses a surface s proportonal to the surface area and to the temperature gradent at the surface The proportonalty constant s called the thermal conductvty and s denoted by κ hot cold So consder a pece of wre of cross-sectonal area A and mass densty ρ We assume the temperature decreases from left to rght The temperature gradents at the rght x x + dx end and the left end are u x(x + x, t and u x(x, t, respectvely So the rate at whch heat energy crosses the rght end and left end are κau x(x + x, t and κau x(x, t because u x(x, t < 0 Snce heat flows from hot to cold regons, heat energy enters the pece through the left end and exts through the rght end So n an nfntesmal tme, the net amount of heat enterng the pece s κau x(x +, t κau x(x, t In addton, suppose the wre has a current gong through t so that there s a source of heat from the electrcal resstance of the wre So we assume that the heat s proportonal to the volume and the length of tme the current travels through the wre Thus, the heat receved s Af x where f s some constant In the same tme nterval, the temperature of ths pece changes by u t(x, t The mass of the pece s ρa x, so the heat energy requred to ncrease the temperature by u t(x, t s sρa xu t(x, t By the energy conservaton law, we have sρa xu t(x, t = Af x + κau x(x + x, t κau x(x, t So sρu t(x, t = f + κ [ u x x (x + x, t u x(x, t ] Lettng x 0, we have the heat equaton (3 u t(x, t = f sρ + κ sρ u xx(x, t

To dscretze the equaton, we observe a wre wth length L Take > 0, defne h = L n, x = h, t k = k, u k = u(x, t k, and use the approxmatons Then (3 mples u k+ u k u k+ u t(x, t k uk+ u k u xx(x, t k uk + + uk uk h = f sρ + κ u k + + uk uk sρ = f sρ h + κ sρh (u k + + u k + ( κ sρh u k =: ( αu k + α(u k + + u k + β Boundary condtons: suppose ntal temperature u 0 for = 0,, n and temperatures at two ends (u k 0, uk n for k N are gven, defne the matrces u k α α 0 0 β + αu k 0 u k u k α α α β, A = 0 α, b k = u k n α β β + αu 0 α α k n Then we have u k+ = Au k + b k If u k 0 and uk n are constant for all k, then b k = b s also a constant Theorem 5 (steady state theorem Consder the frst order fnte dfference equaton u k+ = Au k + b where A s a square matrx If A k converges to the zero matrx and u = Au + b, then for every ntal choce u 0, the sequence u k converges to u Proof We have u k+ u = (Au k + b (Au + b = A(y k u = A (u k u = A k+ (u 0 u 0 Dffuson n a Wre wth Lttle Insulaton We consder heat dffuson n a thn electrcal wre that s not thermally nsulated on ts lateral surface Let u be the surroundng temperature The heat loss through lateral surface s assume to be proportonal to the change n tme, the lateral surface area and the temperature dfference, e, cπr x[u(x, t u], where r s the cross-secton radus So energy conservaton law mples sρa xu t(x, t = Af x + κau x(x + x, t κau x(x, t cπr x[u(x, t u] Notce that A = πr, so u t(x, t = f sρ + κ ( u sρ x x(x + x, t u x(x, t c [u(x, t u] sρr 3

Lettng x 0, we have (4 u t(x, t = ( f sρ + cu + κ sρr sρ u xx(x, t c u(x, t sρr To dscretze the equaton, we observe a wre wth length L Take > 0, defne h = L n, x = h, t k = k, u k = u(x, t k, and use the approxmatons Then (4 mples u k+ u t(x, t k uk+ u k u k ( f = sρ + cu sρr = ( sρ f + cu r u k+, u xx(x, t k uk + + uk uk h + κ u k + + uk uk sρ h c sρr uk + κ (u k sρh + + u k + ( κ c sρh sρr =: ( α du k + α(u k + + u k + β Boundary condtons: suppose ntal temperature u 0 for = 0,, n and temperatures at two ends (u k 0, uk n for k N are gven, defne the matrces u k α d α 0 0 β + αu k 0 u k u k α α d α β, A = 0 α, b k = u k n α β β + αu 0 α α d k n Then we have u k+ = Au k + b k If u k 0 and uk n are constant for all k, then b k = b s also a constant u k 3 Flow and Decay of a Pollutant n a Stream Consder a rver that has been polluted upstream The concentraton wll decay and dsperse downstream Assume the stream s movng from left to rght wth velocty v > 0 Let A be the cross sectonal area of the stream Let u(x, t be the concentraton at poston x at tme t change n amount n tme (amount enterng from upstream n tme (amount leavng to downstream n tme (amount decayng n tme Consder the volume A x at poston x, n an nfntesmal tme So The amount of pollutant enterng the left sde s The amount of pollutant leavng the rght sde s The amount of pollutant n the volume A x at tme t s The amount of pollutant decayed (wth rate r s A v u(x, t, A v u(x + x, t, A x u(x, t, r A x u(x, t A x u(x, t + A x u(x, t = A v u(x, t A v u(x + x, t r A x u(x, t 4

So u(x, t + u(x, t u(x + x, t u(x, t = v ru(x, t x Lettng x, 0, we have the contnuous model (5 u t(x, t = vu x(x, t ru(x, t To dscretze, we consder the stream wth length L Take > 0, defne h = L n, x = h, t k = k, u k = u(x, t k and use the approxmatons Then (5 mples u t(x, t k uk+ u k, u x(x, t k uk uk h u k+ u k = v uk uk ru k h ( v u k + h u k+ = ( v h r u k =: ( α du k + αu k Boundary condtons: suppose we are gven the ntal concentraton at all locatons u 0 for = 0,, n and the upstream concentraton u k 0 at all tme k N, defne the matrces u k α d 0 0 u k u k α α d 0 αu k 0, A = 0 α, b k 0 u k n 0 0 0 α α d Then we have u k+ = Au k + b k If u k 0 s constant for all k, then bk = b s also a constant 4 Heat and Mass Transfer n Two Drectons Consder heat dffuson n a thn D coolng fn where there s dffuson n both x and y drectons, whle any dffuson n z drecton s mnmal and can be gnored The objectve s to determne the temperature n the nteror of the fn gven the ntal temperature and the temperature on the boundary Let u(x, y, t be the temperature at poston (x, y on the fn at tme t Smlar to the prevous secton, we arrve at the D contnuous heat model u t(x, y, t = f sρ + κ ( u sρ xx(x, y, t + u yy(x, y, t, wth boundary condtons u(x, y, 0 are gven for all (x, y, and u(x, y, t are gven for all t on the regon boundary For the D pollutant model, let u(x, y, t be the pollutant concentraton at poston (x, y at tme t, then we have the model u t(x, y, t = v u x(x, y, t v u y(x, y, t ru(x, y, t where v and v are velocty n x and y drecton, respectvely Boundary condtons: u(x, y, 0 are gven for all (x, y, and u(x, y, t for all t are gven on the upwnd boundary 5

References [] J Matthews, K Fnk, Numercal Methods Usng Matlab, 4th ed, Pearson Educaton (004 [] C Meyer Matrx Analyss and Appled Lnear Albegra SIAM (000 [3] RE Whte Computaton Mathematcs: Models, Methods, and Analyss wth Matlab, CRC Press (004 6