Download presentation
Presentation is loading. Please wait.
Published byAvis Cole Modified over 9 years ago
1
1 Computational Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal 14300 Pulau Pinang Week 3 (Lecture 2)
2
2 Overview We already know the nature of PDE’s, now we will attempt to discretize and compute the PDE’s. We will focus on model problems. These model problems have difficulties that are shared with more realistic models, but much simpler to handle.
3
3 Overview (cont’d) The model problems that will be discussed are - hyperbolic - hyperbolic - parabolic - parabolic - elliptic - elliptic
4
4 Overview (cont’d) We will discretize the models using FD method. Only simple uniform grids are used. Stick to the notations introduced before.
5
5 Overview (cont’d) Evolution Equilibrium
6
6 Computation of Parabolic Equation Apply FTCS scheme
7
7 von Neumann (VN) Analysis A method to determine stability of numerical schemes Decompose solution in terms of Fourier modes Variation in space in terms of sine wave from θ=[0,π] g is amplification factor, indication for stability Even though it only applies for linear problems, it provides a reasonably accurate guide to more general cases.
8
8 Von Neumann Analysis on FTCS Rewrite FTCS scheme solving 1D heat equation Using von Neumann analysis
9
9 VN on FTCS (cont’d) This means that if input is pure sine wave (Fourier mode), after 1 time step the sine wave will be amplified by g which depends on θ and μ. Restriction must be done on μ, not on θ=[0, π]. For stability requires, hence
10
10 Comments using FTCS on 1D Heat Eqn The scheme is conditionally stable If we use small Δx, we need extremely small Δt since it is scaled in It can be shown that the restriction applies to all numerical schemes solving the 1D heat eqn applies to all numerical schemes solving the 1D heat eqn
11
11 FTCS Solution on 1D Heat Eqn The electric blanket problem-heat added in the center of blanket Use 1D model where at t=0, add heat such that And switch off power
12
12 FTCS Solution on 1D Heat Eqn (cont’d) Results are very accurate but oscillations will grow wild if restriction is violated.
13
13 Computation of Hyperbolic Equation Apply FTCS scheme
14
14 FTCS Solution on 1D Advection Eqn FTCS is unstable Just because it works for 1 type of PDE, does not mean it will work for other types
15
15 VN Analysis on FTCS (advection) Rewrite FTCS scheme solving 1D heat equation Using von Neumann analysis FTCS unconditionally unstable!
16
16 Computation of Hyperbolic Equation Apply 1 st order upwind scheme a > 0
17
17 1 st order Upwind Solution on 1D Advection Eqn 1 st order upwind is conditionally stable It can be shown using VN analysis that scheme is stable if
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.