The fundamental mass balance equation is ( 1 ) where: I = inputs P = production O = outputs L = losses A = accumulation

Similar documents
Review - Quiz # 1. 1 g(y) dy = f(x) dx. y x. = u, so that y = xu and dy. dx (Sometimes you may want to use the substitution x y

Math Wednesday March 3, , 4.3: First order systems of Differential Equations Why you should expect existence and uniqueness for the IVP

Second Order Linear Differential Equations

ln 2 1 ln y x c y C x

KEY. Math 334 Midterm I Fall 2008 sections 001 and 003 Instructor: Scott Glasgow

MA 366 Review - Test # 1

Chapter 2. First Order Scalar Equations

Some Basic Information about M-S-D Systems

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

1 1 + x 2 dx. tan 1 (2) = ] ] x 3. Solution: Recall that the given integral is improper because. x 3. 1 x 3. dx = lim dx.

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Random Walk on Circle Imagine a Markov process governing the random motion of a particle on a circular

u(x) = e x 2 y + 2 ) Integrate and solve for x (1 + x)y + y = cos x Answer: Divide both sides by 1 + x and solve for y. y = x y + cos x

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes

Section 4.4 Logarithmic Properties

10. State Space Methods

Solutions to Assignment 1

Chapter 2 The Derivative Applied Calculus 107. We ll need a rule for finding the derivative of a product so we don t have to multiply everything out.

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

Math 2214 Solution Test 1B Fall 2017

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Math 334 Test 1 KEY Spring 2010 Section: 001. Instructor: Scott Glasgow Dates: May 10 and 11.

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

Section 4.4 Logarithmic Properties

Sterilization D Values

System of Linear Differential Equations

Announcements: Warm-up Exercise:

y = (y 1)*(y 3) t

Math Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.

= ( ) ) or a system of differential equations with continuous parametrization (T = R

Math 333 Problem Set #2 Solution 14 February 2003

Continuous Time. Time-Domain System Analysis. Impulse Response. Impulse Response. Impulse Response. Impulse Response. ( t) + b 0.

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

6.2 Transforms of Derivatives and Integrals.

Second Order Linear Differential Equations

Two Coupled Oscillators / Normal Modes

ASTR415: Problem Set #5

MA Study Guide #1

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Chapter 4. Truncation Errors

KINEMATICS IN ONE DIMENSION

5.1 - Logarithms and Their Properties

ME 391 Mechanical Engineering Analysis

LAPLACE TRANSFORM AND TRANSFER FUNCTION

APPM 2360 Homework Solutions, Due June 10

MATH 128A, SUMMER 2009, FINAL EXAM SOLUTION

Laplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff

Chapter 6. Systems of First Order Linear Differential Equations

EXERCISES FOR SECTION 1.5

15. Vector Valued Functions

Economics 8105 Macroeconomic Theory Recitation 6

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Problem Set 7-7. dv V ln V = kt + C. 20. Assume that df/dt still equals = F RF. df dr = =

6.003 Homework #8 Solutions

Numerical Dispersion

Physical Limitations of Logic Gates Week 10a

Predator - Prey Model Trajectories and the nonlinear conservation law

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

EE243 Advanced Electromagnetic Theory Lec # 13: Waveguides and sources

Math 10B: Mock Mid II. April 13, 2016

Math 527 Lecture 6: Hamilton-Jacobi Equation: Explicit Formulas

Zürich. ETH Master Course: L Autonomous Mobile Robots Localization II

Vehicle Arrival Models : Headway

ODEs II, Lecture 1: Homogeneous Linear Systems - I. Mike Raugh 1. March 8, 2004

ES.1803 Topic 22 Notes Jeremy Orloff

Math 2214 Solution Test 1A Spring 2016

This document was generated at 1:04 PM, 09/10/13 Copyright 2013 Richard T. Woodward. 4. End points and transversality conditions AGEC

Instructor: Barry McQuarrie Page 1 of 5

Differential Geometry: Numerical Integration and Surface Flow

Homework 2 Solutions

Exam 1 Solutions. 1 Question 1. February 10, Part (A) 1.2 Part (B) To find equilibrium solutions, set P (t) = C = dp

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

MA 214 Calculus IV (Spring 2016) Section 2. Homework Assignment 1 Solutions

Chapter 3 Kinematics in Two Dimensions

2. Nonlinear Conservation Law Equations

Linear Response Theory: The connection between QFT and experiments

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation

Math Final Exam Solutions

CHEMICAL KINETICS: 1. Rate Order Rate law Rate constant Half-life Temperature Dependence

Class Meeting # 10: Introduction to the Wave Equation

Physics 1402: Lecture 22 Today s Agenda

Problemas das Aulas Práticas

LAB # 2 - Equilibrium (static)

WEEK-3 Recitation PHYS 131. of the projectile s velocity remains constant throughout the motion, since the acceleration a x

Solutions Problem Set 3 Macro II (14.452)

Chapter #1 EEE8013 EEE3001. Linear Controller Design and State Space Analysis

Chapter 7: Solving Trig Equations

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

Ordinary dierential equations

Chapter 3 Boundary Value Problem

Theory of! Partial Differential Equations!

04. Kinetics of a second order reaction

Physics 127b: Statistical Mechanics. Fokker-Planck Equation. Time Evolution

Elementary Differential Equations and Boundary Value Problems

In this chapter the model of free motion under gravity is extended to objects projected at an angle. When you have completed it, you should

Transcription:

Hea (iffusion) Equaion erivaion of iffusion Equaion The fundamenal mass balance equaion is I P O L A ( 1 ) where: I inpus P producion O oupus L losses A accumulaion Assume ha no chemical is produced or los wihin he conrol volume and hence ΣP ΣL 0. So ( 1 ) simplifies o O I A ( ) onsidering a conrol volume cell where here is flu in he direcion onl, we have z where indicaes he mass flu densi (ML - T -1 ) in he direcion a he poin.

In order o saisf ( ), we mus have ( ) z z ( 3 ) Tha is, he flu ino he lef wall imes he area over which i occurs, minus he flu ou of he righ wall imes is area in an inerval of ime mus equal he change in chemical mass in he conrol volume. iffusion occurs in response o concenraion gradiens (e.g., / 0.001) in accordance wih Fick s law: ( 4 ) where is he areal flu (ML - T -1 ) and is he diffusion coefficien (L T -1 ). Incorporaing Fick s law ino equaion ( 3 ), we have z z ( 5 ) ividing boh sides b z gives ( 6 ) Obviousl, we are jus aking he gradiens of he gradiens, and if we shrink o differenial size (and assume ha is consan in space) we have ( 7 ) or equivalenl, ( 8 ) This is he 1- version of he widel applicable Hea Equaion.

Finie ifference Epression of Hea Equaion Mos parial differenial equaions can no be solved analicall. Numerical soluions ha reduce he problem o algebraic equaions are ofen necessar. These equaions can hen be solved b direc or ieraive mehods. The essence of numerical mehods for PEs lies in convering he differenials o finie differences. onsider he following concenraion values on a linear domain from o. / / Esimae here The gradien of in he direcion a / (i.e., h/ / ) would be linearl approimaed b / ( 9 ) This should be a reasonable approimaion when is small enough. Wha abou second order derivaives like /? Remember from alculus ha / can be wrien as [/]/. So, basicall we need a gradien of gradiens for he second order derivaive. We have alread esimaed he gradien / /. We could look he oher direcion and compue a gradien a - /: / ( ) ( 10 ) - / -/ / / - Esimae here Esimae here / Esimae here Then, aking he gradien beween / / and / / gives

/ / ( 11 ) We need a finie difference esimae for / oo. This is a lile more complicaed because now we have o include ime. The simples approach is o use he known concenraion from he previous ime sep. A he sar of an numerical soluion, he Iniial ondiion will be he ime 0 concenraion. So, we can approimae he derivaive / b / or,, ( 1 ) Puing i all ogeher The hea equaion is: ( 13 ), / -/ Esimae here - -, -

Le s replace he derivaive erms wih heir finie difference approimaions.,,,,, ( 14 ) Wrien his wa, nearl all of he concenraions (all of hose wih he subscrip) are known from he previous ime sep or from he iniial condiion., is he onl ecepion and i is wha we are ring o deermine. Le s rearrange o solve for, : ( ),,,,, ( 15 ) This is he full eplici finie difference approimaion for he Hea equaion. I is eplici because i works wih he known concenraions from he previous ime sep. While his is relaivel simple, i is onl sable when he facor / is less or equal o ½. This can be a serious limiaion. Sa we wan o simulae a diffusion coefficien of 10 - cm s -1 (gas in soil). Tha means / has o be less han 0.0 s cm -. If we waned o simulae he process wih one second ime seps, we d need space seps of 0.0 cm. Simulaing a m soil profile would require calculaions a 10,000 space nodes! There are oher approaches for he ime derivaive ha avoid his sabili resricion. Iniial and Boundar ondiions Iniial and boundar condiions mus be specified when differenial equaions like he hea equaion are o be solved. Iniial condiions simpl specif he concenraions hroughou he problem domain a ime zero. Boundar condiions specif eiher 1. The concenraions a he boundaries, or. The chemical flu a he boundaries (usuall zero) The fied concenraion boundar concep is simple. The chemical flu boundar is slighl more difficul. We go back o Fick s law ( 16 ) and noice ha if / 0, hen here is no flu. The finie difference epression we developed for / is / ( 17 )

Seing his o 0 is equivalen o ( 18 ) So, if is he las poin inside he problem domain, we could pu some ghos poins ouside he domain a. Then, if we make he concenraion a he ghos poins equal o he concenraion inside he domain, here will be no flu. Ofen he boundar condiions are consan in ime, bu he need no be. Analical Soluion A number of analical soluions for he hea equaion are available. Here we presen one for he following condiions: Iniial condiion: (,0) 0 Lef boundar condiion: (0,) 1 Righ boundar condiion: (,) 0 Noe ha he righ boundar is a infinie disance. The soluion is erfc 4 ( 19 ) Analical soluions can be used o check he resuls of finie difference compuer programs when he boundar condiions are equivalen. Summar Hopefull, ou have he idea ha we ve come full circle in our derivaion of he Hea equaion and is finie difference approimaion. We began wih a macroscopic consideraion of flues and chemical mass changes in ime and incorporaed concenraion gradiens via Fick s law. Then we showed how his led o a second order parial differenial equaion, he Hea equaion. Our developmen of he finie difference epression for he Hea equaion was esseniall he same process in reverse; we considered how o epress he derivaives in erms of he concenraion and evenuall derived a simple algebraic equaion ha can be used o solve he Hea equaion numericall.