Chapter 7 Finite element programming May 17, 2011.

Slides:



Advertisements
Similar presentations
Finite Elements Principles and Practices - Fall 03 FE Course Lecture II – Outline UCSD - 10/09/03 1.Review of Last Lecture (I) Formal Definition of FE:
Advertisements

Finite Element Method Monday, 11/11/2002 Equations assembling Displacement boundary conditions Gaussian elimination.
Introduction to Finite Elements
Chapter 10 Curve Fitting and Regression Analysis
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Chapter 17 Design Analysis using Inventor Stress Analysis Module
BVP Weak Formulation Weak Formulation ( variational formulation) where Multiply equation (1) by and then integrate over the domain Green’s theorem gives.
FE analysis with bar elements E. Tarallo, G. Mastinu POLITECNICO DI MILANO, Dipartimento di Meccanica.
Finite Element Method Introduction General Principle
Finite Element Method in Geotechnical Engineering
MANE 4240 & CIVL 4240 Introduction to Finite Elements
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Section 8.3 – Systems of Linear Equations - Determinants Using Determinants to Solve Systems of Equations A determinant is a value that is obtained from.
Functions. A function is a relation that has exactly one output for each input.
Systems of Equations and Inequalities
ME 520 Fundamentals of Finite Element Analysis
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 2-1 Equations and Inequalities Chapter 2.
The Finite Element Method
Vocabulary: Chapter Section Topic: Simultaneous Linear Equations
Math 3120 Differential Equations with Boundary Value Problems Chapter 4: Higher-Order Differential Equations Section 4-9: Solving Systems of Linear Differential.
Finite Element Method.
Functions. Warm Up Solve each equation. 1.2x – 6 = x = X + 29 = x – 5 – 4x = 17 x = 14 x = - 7 x = -15 x = 11.
Expressions, Equations, and Functions Chapter 1 Introductory terms and symbols: Variable – A letter or symbol to represent an unknown – Examples: Algebraic.
MECH593 Finite Element Methods
Structure of global stiffness matrix Global stiffness matrix K is completed by additions from element matrices, as described in detail in the illustrative.
Illustration of FE algorithm on the example of 1D problem Problem: Stress and displacement analysis of a one-dimensional bar, loaded only by its own weight,
Parallel Solution of the Poisson Problem Using MPI
HEAT TRANSFER FINITE ELEMENT FORMULATION
Chapter 9 Gauss Elimination The Islamic University of Gaza
Principles of Computer-Aided Design and Manufacturing Second Edition 2004 ISBN Author: Prof. Farid. Amirouche University of Illinois-Chicago.
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
Variational and Weighted Residual Methods
1.6 Further Results on Systems of Equations and Invertibility.
Chapter Systems of linear Equations. Objectives O Use the method of elimination to solve systems of linear equations O Graphically interpret the.
Chapter 5: Matrices and Determinants Section 5.5: Augmented Matrix Solutions.
X1X1 X2X2  Basic Kinematics Real Applications Simple Shear Trivial geometry Proscribed homogenous deformations Linear constitutive.
Chapter 2 Linear Equations and Functions. Sect. 2.1 Functions and their Graphs Relation – a mapping or pairing of input values with output values domain.
HEAT TRANSFER Problems with FEM solution
Section 9.4 – Solving Differential Equations Symbolically Separation of Variables.
The Finite Element Approach to Thermal Analysis Appendix A.
Our task is to estimate the axial displacement u at any section x
Copyright © Cengage Learning. All rights reserved.
EEE 431 Computational Methods in Electrodynamics
Finite Element Method in Geotechnical Engineering
Chapter 12 Section 1.
Chapter 6 Section 3.
FEM 1D Programming Term Project
1.6 Further Results on Systems
ECE 1270: Introduction to Electric Circuits
Chapter Functions.
FEM : Finite Element Method 2017.
Development of a 1-D Finite Element Program
FUNCTIONS Chapter 1 Section 4.
FEM Steps (Displacement Method)
Part 3 - Chapter 9.
NUMERICAL INTEGRATION
Chapter 31.
Chapter 4 Systems of Linear Equations; Matrices
Systems of Equations and Inequalities
NUMERICAL INTEGRATION
Numerical Analysis Lecture13.
Determinants CHANGE OF BASIS © 2016 Pearson Education, Inc.
Functions Rules and Tables.
Systems of Equations Solve by Graphing.
Chapter 6 Vocabulary Input Output Function
Chapter 4 Systems of Linear Equations; Matrices
Solving Systems of Equations by Elimination Part 2
Solving a System of Linear Equations
Chapter 5 Review.
Presentation transcript:

Chapter 7 Finite element programming May 17, 2011

Brief introduction Until Chapter 6, there are FEM (Finite Element Method) and solution of simultaneous linear equations. Chapter 7 focuses to explain how to make basic FEM programs. Some easy Fortran technique is needed in some program examples. In Appendix B, a C language program example appears.

7.1 Input data I. Node numbersII. Element numbers First, consider the element division. Node numbers and node coordinates are necessary. Don’t confuse global node numbers with element node numbers. Total of nodes: NNODE = 9 Total of elements: NELMT = 8 I. Node numbersII. Element numbers [1] [2] [3] [4] [5] [6] [7] [8] [1] [2] [3] [4] [5] [6] [7] [8] Fig. 7.1 FEM mesh division

7.2 Element coefficient matrix creating Consider the boundary value problem of the 2-dimensional Poisson equation in Chapter 5. The natural boundary condition is From (5.29) and (5.30), the element rhs vector is as follows: Given : (7.1) (7.2) (7.3) (7.4)

7.3 Creating the whole coefficient matrix and solving linear equations The direct stiffness method produces all coefficient matrixes and the rhs vectors. As explained in Chapter 5, element node numbers and global node numbers must be consistent. Elem. Global Table 7.2

7.4 Output and important points Don’t forget that input data have close relation to output data. Element numbers, node numbers, boundary conditions, and node coordinates are indispensable for input data checking.

7.5 Program examples Program’s structure: 1.Main program: the whole subprogram call 2.Input : input data’s reading 3.Assembling : getting the global matrix and the vector, and collecting element stiffness matrixes and element vectors 4.ECM: element matrix and element vector calculation 5.Solve: solving the linear equations by the Gauss elimination method 6.Output : showing obtained values. 7.Function: preparation of function f(x, y) (MAIN) INPUTASSEM ECM F SOLVEOUTPUT Fig.7.2 Relationship of each function

7.6 Examples of program use (1/3) Using the given program, let’s solve several problems. Figures 7.3 and 7.4

7.6 Examples of program use (2/3) number of nodes 36 number of nodes 121 m =5 m =10 number of elements 50 number of elements 200 The domain Ω is a unit square (0<x, y<1). The Poisson equation is given as follows: Fig.7.5 A mesh division example in Ω on Γ

7.6 Examples of program use (3/3) Table 7.3 Results of Example 7.5 Fig.7.7 and distributions along the centerline line Exact solution Fig.7.6 Error estimates Exact solution even number odd number gradient -2 line

7.7 An example program using a symmetric band matrix The big change in a symmetric band matrix is subroutines SOLVE and BAND. Some modification is needed in ASSEM For half band, input data should be + 1.

7.8 Ending The things described in above sections have told us how to use and understand FEM problems using an easy model. This program has been separated to several parts, good for beginners.

Appendix B Source of a C language program example is given as follows: