CH E374 Lecture Notes - Lecture 7: Stabilisation Force In Bosnia And Herzegovina, Secant Method, Rhode Island Route 2
SchoolUniversity of Alberta
Course CodeCH E374
This preview shows pages 1-2. to view the full 7 pages of the document.
Lecture Notes CHE 374 Computational Methods in Engineering
MODULE 7: Ordinary differential equations – Boundary value problems (BVP)
Consider a rod whose ends are maintained at constant temperatures, T1 and TL as shown
in Figure 1. Remember the heating rod problem. The rod loses heat to the environment
which is at a temperature Ta. (ambient temperature). The rate of heat loss by convection
from the sides of the rod depends on the heat transfer coefficient, hc, and the ambient
temperature, Ta. The partial differential equation governing temperature distribution as
a function of x and t is
hc Ta T
Suppose we are only interested in the steady-state solution. At steady-state 0
the PDE turns into an ODE:
dT hc Ta T
The two boundary conditions of this second-order ODE are 1
(0)Tx T== and
Tx L T==.
Note that the conditions are given at two different locations (x=0 and x=L). This is
called a boundary value problem. The solution methods for initial value problem
ODE’s (Module 6) can not directly deal with boundary value problems. In initial value
Only pages 1-2 are available for preview. Some parts have been intentionally blurred.
problems the state of the system is fully known at one point (e.g. at t=0). From there on
we can march forward (e.g. with a Runge-Kutta method) to determine the solution at
any moment in time.
In boundary value problems, the state of the system is not fully known at one point and
we have no point to start our march from.
There are two solution approaches to boundary value problems, namely: The shooting
Method and Finite difference Method
Suppose we can guess the boundary conditions required at one of the domains. We can
then solve this problem by using the initial value methods discussed in initial value
problem (module 6). If our guessed value gives the correct value at the end of the
domain, we have arrived, otherwise we have to guess again, and again until
Finite difference Methods
Think again of the steady-state heating rod problem: we replace the function
the temperature at a set of discrete points i
T (discretization) and transform the ODE and
the boundary conditions into a set of algebraic equations that we can solve with the
methods from Module 2 (non-linear equations) or Module 3 (linear equations) .
We explain these two methods in the following subsections:
The Shooting method
For (systems of) linear ODE’s the shooting method does not need iteration. As an
example we take a system of two linear ODE’s:
() () ()
() () ()
dy gx ygx ygx
dy gx ygx ygx
with boundary conditions
ya y yb y==.
You're Reading a Preview
Unlock to view full version