
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

MATH 610-600 Numerical Methods for PDEs Programming assignment # FEM for Two-Point Boundary Value Problems Using Linear Elements Write a program for solving two-point boundary value problems for second order ordinary differ- ential equations by Ritz-Galerkin method using linear finite elements. Submit a report with graphs of the results, table with the error in discrete L^2 - and maximum-norms, and comments.
Specifications
(1) Use double precision. For solving the corresponding system of linear equations use the program from LAPACK that you discussed on your lab. (or any other program you have). (2) Use 25 , 50 , 100 , 200 linear finite elements. Plot the solution. Plot the error. (3) In a table give the error in L^2 , H^1 , and maximum-norms.
Computational examples - solve the following problems:
(1) The deflection of a uniformly loaded, long rectangular plate under axial tension force and fixed ends, for small deflections, is governed by the second order differential equation. Let S represent the axial force and q the intensity of the uniform load. The deflection W along the elemental length is given by:
(1) W ′′(x) −
W (x) = −
qx 2 D
(l − x), 0 < x < l, W (0) = W (l) = 0,
where l is the length of the plate, and D is the flexural rigidity of the plate. Take q = 200 lb/in^2 , S = 100 lb/in., D = 8.8 10^7 lb in, and l = 50 in. Consider also the cases S = 1000 lb/in and S = 10000 lb/in. The exact solution is given by: a = Sl
2 D , b^ =^
ql^4 2 D , t^ =^ x/l and
W (t) =
b a
−t^2 + t −
a
asinh(
a)
[sinh(
at) + sinh(
a(1 − t))]
(2) Consider the problem (1) when the r.h.s. 2 qxD (l − x) is replaced by the constant 2 qD. The exact solution for Q = ql
2 2 D is:
W (t) =
a
sinh
a
sinh(
at) + sinh(
a(1 − t))
(3) Consider the problem (1) in the case when the right end of the plate is free, i.e. instead of the boundary condition W (l) = 0 now we have the condition W ′(l) = 0. The exact solution in this case is:
W (t) =
b a
−t^2 + t −
a
acosh(
a)
asinh(
at) + 2cosh(
a(1 − t))]
If the r.h.s. 2 qxD (l − x) is replaced by the constant 2 qD then the exact solution is (with Q = ql
2 2 D ): W (t) =
a
sinh
a cosh
a
sinh(
at) − cosh(
at)
(4) A thin rod made of three different materials with insulated lateral surface has ends kept at temperature 0 and 4 degrees respectively. The steady state distribution of the temperature u(x) is a solution to the problem: −(ku′)′^ = 0, x ∈ (0, 1), u(0) = 0, u(1) = 4, where k(x) = 1 for x ∈ (0, .3); k(x) = 2, for x ∈ (0. 3 , 0 .7), and k(x) = 3 for x ∈ (0. 7 , 1). The exact solution u(x) is a piece-wise linear function defined as 20x/ 3 , 20 x/6+1, and 20(x−1)/9+ in the corresponding intervals of definition of k(x). There will be a penalty for delaying the programming assignment - 5 points per day (out of 100).
1