Lecture 10 12
Lecture 10 12
Partial Differential
Equations: Basic Concepts
of PDEs
화학공학과
담당교수: 이용진
[email protected]
Partial Differential Equations
• Function of interest depends on two or more independent
variables → typically time and one or more spatial variables.
• Only the simplest physical systems can be modeled by ODEs
• Most problems in science and engineering - including heat and mass transfer,
fluid mechanics, quantum mechanics etc. lead to PDEs
Defining PDEs
• Just like with ODEs, characterization of your PDE will indicate your solution
method
• Order is defined by the order of the highest derivative
• A PDE is linear if it is of the first degree in the dependent variable and its
partial derivatives.
e.g.
Partial Differential Equations
• A linear PDE is homogeneous if every term contains the
dependent variable or one of its derivatives
Ex:
Notation
• Often, 𝑢 is the dependent variable; e.g. 𝑢=𝑢(𝑥,𝑦,z,𝑡),
𝜕2 𝑢
∂𝑢/∂𝑡 can be written as 𝑢𝑡 , 2 can be written 𝑢𝑥𝑥 ,
𝜕𝑥
∇𝑢=∂𝑢/∂𝑥+∂𝑢/∂𝑦+∂𝑢/∂𝑧
∴ if 𝑢𝑡 = −𝑐∇2 𝑢,
𝜕2 𝑢 𝜕2 𝑢 𝜕2 𝑢
• ∂𝑢/∂𝑡=−𝑐[ + + ]
𝜕𝑥 2 𝜕𝑦 2 𝜕𝑧 2
Partial Differential Equations
Common PDE’s in Chemical Engineering
• There are many important linear PDEs of the second order in chemical
engineering, particularly if you go to grad school. Some of the key equations
are:
• Heat Transfer or diffusion
• Wave equations
- Arise in fields like acoustics, electromagnetics and fluid dynamics
- Describe any kind of waves – mechanical (e.g. water, sound, seismic) or light
waves
- A) 𝑢𝑡𝑡 = 𝑐 2 𝑢𝑥𝑥 → 1𝐷, B) 𝑢𝑡𝑡 = 𝑐 2 (𝑢𝑥𝑥 + 𝑢𝑦𝑦 ) → 2𝐷
• Laplace equation ( ∆~ the Laplace operator)
- Simplest example of an elliptic PDE (special type of linear second order PDE)
- Solutions to these equations are the harmonic function -> important in many
fields of science – e.g. astronomy + fluid dynamics -> describe the behavior of
fluid potentials; also represents the steady state heat equation (no dependence
on time)
Special Solution to PDE’s
• There are often many possible general solution to PDEs. For
example, the 2D Laplace equation ∇2 𝑢 = 0 is satisfied by very
unique functions:
• In-class exercise:
Is ln(𝑥 2 + 𝑦 2 ) a solution to this differential equation?
Boundary/Initial Condition in PDEs
• The particular solution for any problem is determined by boundary
conditions and, if time is a variable, initial condition.
- Conditions must match up with the partial derivatives
- E.g. 𝑢𝑡𝑡 = 𝑐 2 𝑢𝑥𝑥 -> requires 1 IC + 2BC’s -> If you tried 2 IC’s and 1BC,
these would not be able to define the physical reality of the problem.
• Just as with ODEs, the superposition / linearity principle applies: if we
have two linearly independent solutions of our PDE in some region R,
then the sum and multiples of those two solution is also a solution
- If 𝑢1 and 𝑢2 are both solution, then 𝑢3 = 𝑐1 𝑢1 + 𝑐2 𝑢2 is as well
Examples
• Example 1: 𝑢𝑥𝑥 − 𝑢 = 0
- Since no derivative with regard to y occur, we can solve like 𝑢′′ −
𝑢 = 0, keeping in mind that our arbitrary constants will need to
be functions of y:
- λ2 − 1 = 0 -> λ = ±1 and 𝑢 𝑥, 𝑦 = 𝐴 𝑦 𝑒 𝑥 + 𝐵(𝑦)𝑒 −𝑥
• Example 2: 𝑢𝑥𝑦 = −𝑢𝑥
- We can use reduction of order to simplify.
Let 𝑝 = 𝑢𝑥 . Then PDE becomes
and
Examples
• Solve for u= u(x,y)
- 25𝑢𝑦𝑦 − 4𝑢 = 0
- 𝑢𝑥𝑦 = 𝑢𝑥
Solution by Separation Variables
• The model of a vibrating elastic string (a violin string, for instance)
consists of the one-dimensional wave equation
• For the unknown deflection u(x,t) of the string, a PDE that we have
just obtained, and some additional conditions, which we shall now
derive.
• Since the string is fastened at the ends x=0 and x=L, we have the
two boundary conditions
• F(t) can equal G(x) only if both are equal to some constant, 𝜇.
• One final note : 𝜇 has units of 1/time as written.
• Now, we can split our PDE into two ODEs.
Solution for Y(t)
Characteristic equation
This whole thing has to be 0. c=0 would only lead the trivial solution.
So, A has to be 0.
Application of Boundary Conditions
2) BC #2: Apply T(L,t) = 0
Solving for 𝜆:
This implies there’s actually a series of solutions.
The solution is then
This is super interesting. The timescale for heat dissipation is related to
the solution form.
Application of Boundary Conditions
• Let’s talk about the last piece of information we have T(x,0)=f(x)
• We haven’t actually specified what the initial conditions are, and
that’s how we are going to determine 𝑐𝑛 .
Initial condition
• Let’s say that the initial condition f(x) is a sinusoid (the initial
temperature profile is sinusoid).
• This matches our solution if n = 1, so
• Here,
• Let’s go ahead and plot this solution for 𝛼 = 0.1 𝑚2 /𝑠 and L = 1m.
Exercise 1
Find the temperature u(x,t) in a bar of silver of length 10cm and constant cross section of area
cal
1cm2 (density 10.6 g/cm3, thermal conductivity 1.04 , specific heat 0.056 cal/(g ℃)
cm sec ℃
that is perfectly insulated laterally, with ends kept at temperature 0 ℃ and initial temperature
f x = 4 − 0.8 𝑥 − 5 ℃.
Exercise 2
• A bar with heat generation of constant rate H(>0) is modeled by
ut = c 2 uxx + H. Solve this problem if L = π and the ends of the
bar are kept at 0℃.