An Introduction To Linear and Non Linear FE Analysis
An Introduction To Linear and Non Linear FE Analysis
Kythe
Dongming Wei
An Introduction
to Linear and Nonlinear
Finite Element Analysis
A Computational Approach
Kythe, Prem K.
An introduction to linear and nonlinear finite element analysis : a computational approach
Iby Prem K. Kythe, Dongming Wei.
p. cm.
Inc\udes bibliographical references and index.
ISBN 978-1-4612-6466-8 ISBN 978-0-8176-8160-9 (eBook)
DOI 10.1007/978-0-8176-8160-9
1. Structural analysis (Engineering) 2. Finite element method. 1. Wei, Dongming, 1958-
II. Title
TA646.K98 2003
620'.0042-<ic22 2003057713
CIP
The use of general descriptive names, trade names, trademarks, etc., in this publication, even ifthe
former are not especially identified, is not to be taken as a sign that such names, as understood by the
Trade Marks and Merchandise Marks Act, may accordingly be used freely by anyone.
9 8 7 6 543 2 1
Contents
Preface ix
Notation xvii
1 Introduction 1
1.1 Historical Sketch 1
1.2 Euler-Lagrange Equations 2
1.2.1 Functionals 2
1.2.2 Boundary Conditions 3
1.3 Weak Variational Form 3
1.4 Galerkin Method 9
1.5 Rayleigh-Ritz Method 11
1.6 Exercises 18
5 Two-Dimensional Elements 89
5.1 Linear Three-Node Triangular Elements 89
5.2 Bilinear Four-Node Rectangular Elements 91
5.3 Global Shape Functions 94
5.4 Triangular Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
5.5 Shape Functions on the Sides of a Triangle 99
5.5.1 Linear Shape Functions on the Sides of a Triangle 99
5.5.2 Quadratic Shape Functions on the Sides of a Triangle 101
5.6 Exercises 105
Bibliography 433
Index 439
Preface
This textbook on linear and nonlinear finite element methods has evolved out of
teaching of a sequence of two courses at the University of New Orleans for the past
12 years to a variety of students from the engineering, physics, geophysics, and
mathematics departments. The first of these courses is an introduction designed for
undergraduate and beginning graduate students, whereas the second is a follow-
up mainly for graduate students. In the past we used a number of textbooks and
selected material at different times on a trial basis, and we developed our own
notes and a repertoire of representative engineering and technological problems
that cater to the disciplines of our students.
As everyone knows the market is replete with textbooks on finite element
analysis. Then why do we need another textbook on this subject? To answer this
question, we next describe how we have used existing books and why we felt a
need to write our own textbook .
(i) Although there are many excellent books on the market, very few are de-
signed for students from different disciplines and use widely available modern
software such as Mathematica, Matlab, Fortran , and commercial finite element
codes such as Ansys.
(ii) In our view, the finite element technology oftoday has grown into a basic tool
for almost every field in engineering and applied sciences. Finite element courses
have become more and more popular in both undergraduate and graduate curricula
in colleges of engineering and sciences throughout the world. The new generation
of undergraduate and graduate students is more accustomed to using computers
for everyday homework assignments and research than ever before. There are
a few introductory finite element textbooks that provide a good combination of
x PREFACE
Salient Features
This textbook presents basic theoretical material and practical applications for
solving problems of interest in engineering and technology. The book covers a
two-semester course and is designed for junior/senior undergraduate and first-year
graduate students from engineering, geophysics, physics, and applied mathematics
who have had a course in calculus of several variables, differential equations as
well as linear algebra and have some knowledge of computers.
This book
• Fulfills the need for a service course taught to students with diverse background.
• Provides thorough instructions and training to these diverse students, unlike
most textbooks that are designed with specific applications, e.g., for structural
engineers , mechanical engineers, electrical engineers, chemical engineers, geo-
physicists, or applied mathematicians.
• Involves students in the use of widely available modern software such as Mathe-
matica, Matlab, and the use of commercial finite element codes such as Ansys .
• Deals with problems of varied types, including linear and nonlinear problems
in radiation heat transfer, mechanics of elastic and plastic media, continuum
mechanics , non-Newtonian fluid flows, and electromagnetics.
• Provides accessibility to all students with diverse backgrounds with a minimum
of mathematical analysis .
• Serves a broad range of engineering and science students and exposes them to
applications from different disciplines , unlike books that deal with only one
specific fields.
• In the first-semester course, presents one-dimensional equations and their appli-
cations in the following areas: structural analysis, heat conduction, fluid flows,
mechanical vibration , electromagnetics, variational principles, and thermoe-
lastic coupled systems .
• In the second-semester course , presents advanced techniques for solving dis-
crete algebraic systems , viz., line search, method of steepest descent, conjugate
gradient methods, Newton's methods , and penalty method.
• Offers supporting and other interesting material via the Internet at the authors'
web sites .
• Provides service, accessibility, and applications toward the development of the
subject.
xii PREFACE
Overview
A general description of the topics covered in the book is as follows. After a brief
historical sketch of the development of the finite element method and its subsequent
development, Chapter 1 introduces the weak variational formulation of a boundary
value problem. Galerkin and Rayleigh-Ritz weighted residual methods. This in-
troduction lays the foundation of the Galerkin finite element method developed in
subsequent chapters. Chapter 2 is devoted to the development of one-dimensional
global and local linear and quadratic Legendre interpolation shape functions and
the Hermite interpolation shape functions that are used with fourth-order differen-
tial equations in the beam problems. The Galerkin method for a one-dimensional
second-order equation, also known as the potential or the bar equation, is first
developed in Chapter 3, using linear and quadratic elements. Problems are solved
by mixing these two types of elements, and a one-dimensional problem with two
dependent variables is solved in this chapter. Problems with a one-dimensional
fourth-order equation, also known as the beam equation, are covered in Chap-
ter 4. Two-dimensional problems start from Chapter 5, which is devoted to the
development of linear three-node triangular and bilinear four-node rectangular cle-
ments. Triangular coordinate system is introduced, and linear and quadratic shape
functions on the sides of a triangle are developed in this chapter.
Chapter 6 deals with two-dimensional problems involving a single space vari-
able; the finite element equation is developed, stiffness matr ix and the load vector
are evaluated, element matrices are assembled, and boundary integrals are eval-
uated for different types of boundary value problems taken from industrial and
technological areas . More two-dimensional boundary value problems, mainly
from heat transfer, torsion, seepage, and fluid flows, are presented in Chapter 7.
Axisymmetric linear and nonlinear heat transfer problems in solids and fluids
are presented in Chapter 8. Transient problem and numerical time integration
methods are presented in Chapter 9. Single nonlinear one-dimensional equations
and the related finite element method are discussed in Chapter 10. Plane elasticity
problems are introduced in Chapter 11; principle of virtual work, linear triangu-
lar elements and bilinear rectangular elements are introduced, the concept of two
degrees of freedom at each node is explained, and simple problems mostly involv-
ing two elements are presented. Chapter 12 deals with the Stokes equation and
the penalty method; linear triangular and bilinear rectangular Stokes elements are
derived, and solution by the conjugate gradient method is explained in detail. The
corresponding nonlinear Stokes elements for power-law non-Newtonian flows are
also introdu ced together with the penalty method and some nonlinear conjugate
gradient methods. Chapter 13 deals with the vibration analysis ; the Hamiltonian
principle is introduced, and the free axial vibrations of an elastic rod , free vibra-
PREFACE xiii
tions of an Euler elastic rod, free in-plane vibrations of an elastic plate, and axial
vibrations of a plastic rod are discussed. The chapter ends with solutions of eigen-
value problems that arise from hyperbolic and parabolic equations and that lead to
the Helmholtz equation. New codes in Mathematica, Ansys, Matlab, and Fortran
are given in Chapter 14.
There are six appendices, which contain useful supplemental information. Ap-
pendix A contains integration formulas that are used in the development of the
subject. Appendix B contains special cases of linear triangular and bilinear rectan-
gular stiffness matrix and load vector that arise in certa in special situations. For-
mulas for numerical solution of time-dependent problems are given in Appendix
C. Information about some basic isoparametric elements, together with curvilinear
coordinates and the Pascal triangle, is collected in Appendix D. Green 's identities
are available in Appendix E, Gaussian quadrature is presented in Appendix F, and
gradient-based methods, viz., the method of steepest descent and the linear and
nonlinear conjugate gradient methods, are discussed in Appendix G.
As mentioned earlier, this book contains both linear and nonlinear finite element
methods . The nonlinear development of two-dimensional heat transfer problems
and the related Gauss-Legendre integration method are presented in Chapter 8.
The finite element method for solving single nonlinear one-dimensional equations
is developed in Chapter 10. It introduces the Newton's method and discusses
problems involving radiational heat transfer, stress analysis of plastic rods, power-
law pressure driven flows, mixing-length equation for turbulent flows in pipes, and
the Rayleigh-Ritz and nonlinear gradient methods . Since the subject of nonlinear
finite element methods is advanced, we have taken care to include topics that can
be easily understood, especially by the students for whom this book is primarily
written.
The book is a bit heavy on heat transfer problems. It has been our experi-
ence that such problems are easy for instructors to explain and the students to
comprehend their elegance and simplicity.
There are 87 examples and 148 exercises in the book ; hints , answers, and
solutions for most of the exercises are available in the book. A liberal use of
illustrations is made to clarify the nature of the problems; as a result there are 152
figures and illustrations in the book.
The bibliography at the end of the book contains literature that has been con-
sulted as well as references that are cited . The book ends with a detailed subject
index.
This is an introductory textbook which provides a good combination of method-
ology, applications, computer implementation, and hands-on projects for students
with diverse background from engineering, technology, physics, geophysics, and
applied mathematics.
xiv PREFACE
To Instructors
Computational Aspects
Computer codes using Mathematica, Ansys, Matlab, and Fortran are presented in
Chapter 14. They cover linear as well as nonlinear problems, which are discussed
in detail. Our students have freely used and modified some well-known Fortran
programs, for example, by Taylor and Hughes (1981), Reddy (1984, 1993) and
Segerlind (1984), and certain other codes available in private domain. They have
generated these modifications for certain specific problems and used them to obtain
computational solutions. We have encouraged our students to study these and other
authors in order to use and modify their codes. It has helped them understand the
subject much better than using a single textbook.
We have provided some new codes in Mathematica, Ansys, Matlab, and For-
tran, as they arise during the course of the presentation of the textual material.
Mathematica 3.0 or higher is used to verify most of the solutions. For various
PREFACE xv
Acknowledgments
The authors thank all the students who have participated in our finite element
courses since 1990. Although the list is very large, we will take liberty of mention-
ing names of certain students who, by their hard work and perseverance, excelled
in the study of this subject, benefited not only themselves but other students,
and kept the course running with full steam throughout these years . These dedi-
cated students are Antonis Antoniou, Pravan Kumar Bachu, Xiang Bian, Rambabu
Chennupati, Gordon C. Cuculla III, Shawn Davis, Andrea M. Dunham, Lang
Yan Fook , Karunakar R. Gaddam, Patrick Louis Garrity, Praveen Ghantasala,
Monikonda Shekar Goud, Wael M. Khairy, Gloria Ladnier, Haibiao Luo , Larry
Manalo, William A. Myers, Yashawant Mummaneni, Chakvartula 1. S. V. Nallani,
Vuong Hun Nguyen, Tien Szu Pan, Madahv K. Parimi, Srinivasa Rao Pasala, Srid-
har Rao Pasupuleti, Yezdi Parvez Pavri, Khoa Pham, Suresh K. Sivapuram, Atluri
Srinivas, Edupuganti Suneel, Jifeng Ru , Annette R. Schulte, Reddy P. Shashikanth,
Michael Sheaf, Ved P. Tandle, Nuthan K. Vajinapalli, Chandra Rao Valipe, Satya-
narayana Rao Valipe, Prakash Vyakaran, Bonnie Williams, Qin Xu, Zhidong Xu,
Xuan Yu, Keshu Zhang, and Peng Zang.
The authors thank Dr. Vivek Sahai of Cheng Fluid Systems, Mountain View,
CA , for some valuable advice. They thank Dr. Carroll F. Blakemore for help and
support, and some other colleagues for useful suggestions. The contribution of
the Senior Production Editor and the copy editor at Birkhauser Boston for the fine
work of editing the manus cript, and of the people at TechType Works , Inc. , Gretna,
Louisiana, for typesetting the manuscript is sincerely acknowledged.
Standard notation is used throughout the book. Since matrices and vectors occupy
most of the text, the usual convention is adopted. All matrices are printed in
uppercase boldface and all vectors in lowercase boldface letters , except U , F , Q,
and T, which represent the displacement vector, load (force) vector, flux vector,
temperature vector, and the error vector at the global nodal points, respectively,
and F (e) and R (e), which denote the load vector and the error vector for an element
n (e) , respectively. This practice does not lend to any confusion in the conte xt of
their use. Also, sometimes to save space on a page, a column vector is printed as
the transpose of its corresponding row vector.
A list of the notation , abbreviations and acronyms used in this book is given
below.
R radius
Rn Euclidean n-space
R+ set of positive real numbers
Rj errors (j = 1, . . . , n + 1)
Re Reynolds number
~ real part
R(e) residual or error vector
R global error vector
8 variable of the Laplace transform; arc length ; second(s) (time)
(8, t) nondimensional coordinates on the unit square
sym symmetric (matrix)
s(e) square matrix
t time
ix ,iy prescribed secondary variables
T temperature, temperature distr ibution
t; base temperature of a fin
Too amb ient temperature
T temperature vector
T( e) temperature vector for an element n( e)
U dependent variable; stress function; displacement; mean velocity
Uo prescribed velocit y
Uoo free stream velocity
(e)
Ui value of U at node i
(e )
Ua linear interpolation function for the interval [x ~e) , x~e) ]
U velocity vector, displacement vector
U vector of the first time derivatives of u
U vector of the second time derivatives of u
u( e) approximation of u on an element n (e)
u ,v velocity components of u or v , in x and y direction
ii , V approximate solution for u or v
Uo inlet velocity
Ue nodal value of U at a global node e, e = 1, . . . , NE
u (e) (e) (e) (e) (e)]
coIumn vector [u 1 ... uN vI .. . V N
U vector of global values of displacement U
Vr radial component of velocity v
V three-dimensional solid or volume
av boundary surface of a solid V
v velocity vector
W test function
Wi weights in Gaussian quadrature
Wl ,W2 ,W3 three different test functions
W work
global coordinate
end points of a line element
NOTATION xxi
,fJr
s Hestenes-Stiefel parameter
specific heat ration (= cp / c,J
r boundary of a domain (= a n)
f 1,f z disjoint portions of boundary I' (f 1 U f z = an)
b tolerance
bi j Kronecker delta (= 1 if i = j ; -1 if i =1= j)
D.t time step
emissivity
strain ; penalty parameter
strain vector
shear strain
e strain ( = - ~~); angle of twist (torsion)
{) nondimensional temperature
= lu~e) -u~~ll , i = 1, 2, .. . , N
von Karman constant
eigenvalue
dynamic viscosity of a fluid
kinematic viscosity of a fluid (= J.L / p); Poisson's ratio (elasti city)
~ isoparametric one-dimensional coordinate, -1 < :::
~ 1
~, 'TJ isoparametric two-dimensional coordinates, -1 ::::: ~ , 'TJ ::::: 1
~i Gaussian points
6 ,6,6 trilinear coordinates
p density
a stress; Stefan-Boltzmann constant
aD uniform load
a stress vector
T shear stress
Txy , Tyz average shear stresses
¢ velocity potential of a flow
¢~ e) basis function ; interpolation shape function
<I>e global shape functions for e = 1, . . . , N + 1
lj>(e) vector of the shape functions for an element n (e)
X (e) characteristic function for the interval [x~e), x~e) ] or n (e)
'IjJ stream function
w radian frequency
n domain
n(e) general finite element
xxii NOTATION