Presentation is loading. Please wait.

Presentation is loading. Please wait.

MECH300H Introduction to Finite Element Methods Lecture 2 Review.

Similar presentations


Presentation on theme: "MECH300H Introduction to Finite Element Methods Lecture 2 Review."— Presentation transcript:

1 MECH300H Introduction to Finite Element Methods Lecture 2 Review

2 Matrix Algebra Row and column vectors Addition and Subtraction – must have the same dimensions Multiplication – with scalar, with vector, with matrix Transposition – Differentiation and Integration

3 Matrix Algebra Determinant of a Matrix: Matrix inversion - Important Matrices diagonal matrix identity matrix zero matrix eye matrix

4 Numerical Integration Calculate: Newton – Cotes integration Trapezoidal rule – 1 st order Newton-Cotes integration Trapezoidal rule – multiple application

5 Numerical Integration Calculate: Newton – Cotes integration Simpson 1/3 rule – 2 nd order Newton-Cotes integration

6 Numerical Integration Calculate: Gaussian Quadrature Trapezoidal Rule : Gaussian Quadrature : Chooseaccording to certain criteria

7 Numerical Integration Calculate: Gaussian Quadrature 2pt Gaussian Quadrature 3pt Gaussian Quadrature Let:

8 Numerical Integration - Example Calculate: Trapezoidal rule Simpson 1/3 rule 2pt Gaussian quadrature Exact solution

9 Linear System Solver Solve: Gaussian Elimination: forward elimination + back substitution Example:

10 Linear System Solver Solve: Gaussian Elimination: forward elimination + back substitution Pseudo code: Forward elimination: Back substitution: Do k = 1, n-1 Do i = k+1,n Do j = k+1, n Do ii = 1, n-1 i = n – ii sum = 0 Do j = i+1, n sum = sum +


Download ppt "MECH300H Introduction to Finite Element Methods Lecture 2 Review."

Similar presentations


Ads by Google