Preface |
|
v | |
|
|
1 | (38) |
|
|
1 | (9) |
|
|
1 | (1) |
|
|
2 | (2) |
|
1.1.3 Matrix Manipulation |
|
|
4 | (2) |
|
1.1.4 Tridiagonal Matrices |
|
|
6 | (2) |
|
|
8 | (1) |
|
1.1.6 Right and Left Divisions |
|
|
9 | (1) |
|
|
10 | (5) |
|
|
10 | (1) |
|
1.2.2 Examples of Script Files |
|
|
11 | (4) |
|
1.3 Introduction to Function Files |
|
|
15 | (18) |
|
1.3.1 Structure of Function Files |
|
|
15 | (2) |
|
1.3.2 Function with a Multiple Output Variable |
|
|
17 | (2) |
|
1.3.3 Flow Control Structures |
|
|
19 | (6) |
|
1.3.4 Local Functions, Anonymous Functions |
|
|
25 | (2) |
|
1.3.5 Logical Operators and Logical Functions |
|
|
27 | (6) |
|
|
33 | (6) |
|
Chapter 2 The Finite Difference Method |
|
|
39 | (60) |
|
2.1 Finite Difference Approximations of Derivatives |
|
|
39 | (10) |
|
2.1.1 Forward, Backward and Central Approximations |
|
|
39 | (7) |
|
2.1.2 Approximation of Functions Depending on Two Variables |
|
|
46 | (1) |
|
2.1.3 Approximation of Higher Order Derivatives |
|
|
47 | (2) |
|
|
49 | (9) |
|
2.2.1 Fourier's Law and Heat Equation |
|
|
49 | (6) |
|
2.2.2 Fick's Law and Diffusion |
|
|
55 | (1) |
|
2.2.3 Free Boundary Value Problems |
|
|
56 | (2) |
|
2.3 Finite Difference Method |
|
|
58 | (35) |
|
2.3.1 Explicit Euler Method |
|
|
58 | (6) |
|
2.3.2 Stability, Convergence, Consistence |
|
|
64 | (4) |
|
2.3.3 Boundary Value Problems |
|
|
68 | (8) |
|
2.3.4 Diffusion in a Multi-layer Medium |
|
|
76 | (4) |
|
2.3.5 Implicit Euler Method |
|
|
80 | (4) |
|
2.3.6 Crank--Nicolson Method |
|
|
84 | (5) |
|
2.3.7 Von Neumann Stability Criterium |
|
|
89 | (4) |
|
|
93 | (6) |
|
Chapter 3 Diffusion and Convection |
|
|
99 | (54) |
|
3.1 Convection-diffusion Equation |
|
|
99 | (19) |
|
|
99 | (8) |
|
3.1.2 Other Finite Difference Methods for the Convection-Diffusion Equation |
|
|
107 | (4) |
|
|
111 | (7) |
|
|
118 | (22) |
|
|
118 | (9) |
|
3.2.2 Nonlinear Equations |
|
|
127 | (6) |
|
3.2.3 Variable Diffusivity Coefficient |
|
|
133 | (3) |
|
3.2.4 Convection-Diffusion Equation |
|
|
136 | (4) |
|
3.3 Saving Data and Figures |
|
|
140 | (3) |
|
|
140 | (2) |
|
|
142 | (1) |
|
|
143 | (1) |
|
|
143 | (10) |
|
Chapter 4 Introduction to the Finite Element Method |
|
|
153 | (60) |
|
4.1 Numerical Integration |
|
|
153 | (11) |
|
4.2 Finite Element Method |
|
|
164 | (25) |
|
4.2.1 Axial Motion of a Bar |
|
|
164 | (3) |
|
|
167 | (2) |
|
|
169 | (2) |
|
4.2.4 Boundary Value Problems |
|
|
171 | (9) |
|
4.2.5 Axial Displacement and Stress in a Bar |
|
|
180 | (4) |
|
4.2.6 Concentrated Force and Dirac Function |
|
|
184 | (5) |
|
4.3 Partial Differential Equations |
|
|
189 | (16) |
|
|
189 | (8) |
|
|
197 | (8) |
|
|
205 | (8) |
|
Chapter 5 Introduction to the Finite Element Method in Two Spatial Dimensions |
|
|
213 | (54) |
|
5.1 Elliptic Partial Differential Equations |
|
|
213 | (4) |
|
|
213 | (1) |
|
5.1.2 Boundary Value Problems |
|
|
214 | (3) |
|
5.2 Finite Element Method in Two Spatial Dimensions |
|
|
217 | (23) |
|
|
217 | (8) |
|
5.2.2 Weak Form of the Poisson Equation |
|
|
225 | (5) |
|
5.2.3 Dirichlet--Neumann Problem |
|
|
230 | (4) |
|
5.2.4 Applications to the Dam and Sheet Pile Wall |
|
|
234 | (6) |
|
5.3 Finite Difference Method |
|
|
240 | (17) |
|
|
240 | (7) |
|
|
247 | (10) |
|
|
257 | (10) |
|
Chapter 6 The Euler--Bernoulli Beam |
|
|
267 | (44) |
|
6.1 Finite Element Method |
|
|
267 | (10) |
|
6.1.1 Euler--Bernoulli Beam Equation |
|
|
267 | (3) |
|
|
270 | (4) |
|
|
274 | (3) |
|
|
277 | (19) |
|
6.3 Beam Subjected to Concentrated Forces |
|
|
296 | (9) |
|
|
305 | (6) |
Bibliography |
|
311 | (2) |
Index |
|
313 | |