introduction to finite elements engineering · pdf fileintroduction to finite elements in...

473
CO· ROM Included INTRODUCTION TO FINITE ELEMENTS IN ENGINEERING THIRD EDITION Tirupathi R. Chandrupatla Ashok D. Belegundu

Upload: phungque

Post on 09-Mar-2018

228 views

Category:

Documents


5 download

TRANSCRIPT

Programs Included in the CD-ROM
CH·1 CH·l GAUSS caSOL
SKYLINE
QUADCG FRAME2D AXIQUAD FRAME3D
CH·J cn .. FEMlD TRUSS2D
TRUSSKY
HEXAFRQN HEAT2D TORSION
Deseription
Programs in QBASIC Programs in Fortran Language Programs in C Programs in Visual Basic Programs in Excel Visual Basic Programs in MATLAB
CH·5 CST
cn .. AXISYM
Symbol
w(x,y,Z)]T
r, [[,,f,,a
displacements along coordinate directions at point (x, y, zj
components of body force per unit volume, at point (x, y. z)
components of traction force per unit area, at point (x, y,z) on the surface
strain eomponents;t: are normal strains and}' are engineering shear strains
stress components; u are normal stresses and T are engineering shear stresses
Potential energy = U + W P, where U == strain energy, W P = work potential
vector of displacements of the nodes (degrees of freedom or DOF) of an
element, dimension (NDN·NEN,l)---see next Table for explanation of NDNand NEN
vector of displacements of ALL the nodes of an element, dimension
(NN·NDN, I)-see next Table for explanation of NN and NDN
element stiffne~ matrix: strain energy in element, U, == !qTkq
glohal stiffness matrix for entire structure: n = I Q1 KQ _ Q IF
body force in element e distributed to the nodes of the element
traction fOfce in element e distributed to the nodes of the element
virtual displacement variable: counterpart of the real displacement u(x, y, z)
vector of vinual displacements of the nodes in an element; cOWlterpart of q
shape functions in t1)( coordinates, material matrix, strain-displacement malril. respectively. u = Nq, € = Bq and (J' = DBq
structure ofInpnt Files' TITLE (*) PROBLEM DESCRIPTION (*) NN NE NM NOIM NEN NON (*)
4 2 2 2 3 2 1 Line of data, 6 entries per 1ine NO Nl NMPC (*)
5 2 0 --- 1 Line of data, 3 entries Node. Coordinate'! Coordinate#NDIH (*)
4~, g; O~2 } ---NN Lines of data, (NlJIM+l)entries
Eleml Nodell NodelNEN Mat' Element Characteristicstt (*) 1 4 1 2 1 0.5 o.) ---HE Lines of data. 2 3 4 2 2 O.S O. (NEN+2+#ofChar.)entries
OO~~F' speCggified}DiSPlacement (*)
8 0 DOF' Load (*)
4 -7500 ) 3 3000
MAn Mat.erial 1 30e6
Propertiestt (*) 0.25 12e-6 } --!.NM Lines of data, (1+ , of prop.)entries
2 20e6 81 i 82
0.3 O. B3 (Multipoint constraint: Bl*Qi+B2*Qj=B3)
} ---NMPC Lines of data, 5 entries j (OJ
tHEATlD and HEATID Programs need extra boundary data about flux and convection. (See Chapter 10.) (~) = DUMMY LINE - necessary No/eo' No Blank Lines must be present in the input file t'See below for desCription of element characteristics and material properties
Main Program Variables NN = Number of Nodes; NE = Number of Elements; NM = Number of Different Materials NDIM = Number ofCoordinales per Node (e.g..NDlM = Uor 2·D.or = 3for3.D): NEN = Number of Nodes per
Element (e.g., NEN '" 3 for 3-noded trianguJar element, or = 4 for a 4-noded quadrilateral) NDN '" Number of Degrees of Freedom per Node (e.g., NDN '" 2 for a CiT element, or '" 6 for 3-D beam element)
ND = Number of Degrees of Freedom along which Displacement is Specified'" No. of Boundary Conditions
NL = Number of Applied Component Loads (along Degrees of Freedom) NMPC = Number of Multipoint Constraints; NO '" Total Number of Degrees of Freedom = NN ~ NDN
.......... Element Cbancterisdcs Mlterial PToperties
CST,QUAD Thickness, Temperature Rise E,II,a
AXISYM Temperature Rise E. ". Ct
FRAME2D Area, Inertia, Distributed liJad E
FRAME3D Area, 3·ioertias, 2-Distr. Loads E
TETRA, HEXAFNT Temperature Rise E,II,a
HEATID Element Heat Source Thermal Conductivity, k
BEAMKM Inertia,Area E,p
CSTKM Thickness E,I',a,p
Introduction to Finite Elements in Engineering
Introduction to Finite Elements in Engineering T H I R D EDITION
TIRUPATHI R. CHANDRUPATLA Rowan University Glassboro, New Jersey
ASHOK D. BELEGUNDU The Pennsylvania State University University Park, Pennsylvania
Prentice Hall, Upper Saddle River, New Jersey 07458
Chandl'llpalla,TIl'lIpathi R., Introouction to finite elements in engineering ITIl'lIpathi R. ClIandrupatla,Ashok D.
Belegundu.-- 3rd ed. p.em.
I. finite element method.2. Engineering mathematics. I. Belugundu,Ashok D., Il.TItle
TA347.F5 003 2001 620'.001 '51535--d0:21
Vice President and Editorial Director,ECS: Marcial. Horton Acquisitions Editor; Laura Fischer Editorial Assistant: Erin Katchmar Vice President and Director of Production and Manufacturing, ESM: David W Riccardi E~ecutive Managing Editor: Vince O'Brien Managing Editor, David A. George Production SeMiicesiComposition: Prepart,lnc. Director of Creative Services: Pa ... 18elfanti Creative Director: Carole Anson Art Director: kylU! Cante Art Editorc Greg O ... lIes Cover Designer: Bmu &nselaar Manufacturing Manager: Trudy PisciOlli Manufacturing Buyer: LyndD Castillo Marketing Manager; Holly Stark
© 2002 by Prentice·Hall, Inc. Upper Saddle River, New Jersey 07458
All rights reseMied. No part of this book may be reproduced in any form or by any means, without permission in writing from the publisher.
The author and publisher of this book have used their besl efforts in preparing this hook. These efforts include the development, re­ search,and testing of the theories and programs to determine their effectiveness. The author and publisher make no warranty of any kind. expressed or implied. with regard 10 thele programs Or Ihe dOf,:Umentation conlained in this book. The author and publisher shall not be liable in any event for incidental or consequential damages in connection with,or arising out of, the furnishing, perfonnance,or use of Ihese programs.
"Visual Basic~ and "'Excel H
are registered trademarks of the Microsoft Corporation, Redmond, WA.
"MATLAB'" is a registered trademark of The MalhWorks, Inc., 3 Apple Hill Drive, Natick, MA 01760.-21)98.
Printed in the United State. of America 109876
ISBN D-13-0b1S~1-~
Pearson Education Ltd .. Lond"" Pearson Education Australia P1}". Ltd .Sydn<,y Pearson EdUcation Singapore, Pte. Ltd. Pearson Education North Asia Ltd .. Hong Kong Pearson Education Canada. Inc .• Toronto Pearson Educadon de Me~ico, S.A.de C.V. Pear'lOf) Educalion--Japan. 7okyo Pearson 'oducation Malaysia, Pte. Ltd. Pearson EdUcation. Upper Soddle Ri~er, New Jersey
To our parents
1 FUNDAMENTAL CONCEPTS
1.1 Introduction 1 1.2 Historical Background 1 1.3 Outline of Presentation 2 1.4 Stresses and Equilibrium 2 1.5 Boundary Conditions 4 1.6 Strain-Displacement Relations 4 1.7 Stress-Strain Relations 6
Special Cases, 7
1.8 Temperature Effects 8 1.9 Potential Energy and Equilibrium;
The Rayleigh-Ritz Method 9 Potential Energy TI, 9 Rayleigh-Ritz Method, 11
1.10 Galerkin's Method 13 1.11 Saint Venant's Principle 16 1.12 Von Mises Stress 17 1.13 Computer Programs 17 1.14 Conclusion 18
Historical References 18 Problems 18
2 MATRIX ALGEBRA AND GAUSSIAN EUMINATION
2.1 Matrix Algebra 22 Rowand Column Vectors, 23 Addition and Subtraction, 23 Multiplication by a Scalar. 23
xv
1
22
vii
viii Contents
Matrix Multiplication, 23 Transposition, 24 Differentiation and Integration, 24 Square Matrix, 25 Diagonal Matrix, 25 Identity Matrix, 25 Symmetric Matrix, 25 Upper Triangular Matrix, 26 Determinant of a Matrix, 26 Matrix Inversion, 26 Eigenvalues and Eigenvectors, 27 Positive Definite Matrix, 28 Cholesky Decomposition, 29
2.2 Gaussian Elimination 29 General Algorithm for Gaussian Elimination, 30 Symmetric Matrix. 33 Symmetric Banded Matrices, 33 Solution with Multiple Right Sides, 35 Gaussian Elimination with Column Reduction, 36 Skyline Solution, 38 Frontal Solution, 39
2.3 Conjugate Gradient Method for Equation Solving 39 Conjugate Gradient Algorithm, 40
Problems 41 Program Listings, 43
3 ONE-DIMENSIONAL PROBLEMS
Coordinates and Shape Functions 48 The Potential.Energy Approach 52
Element Stiffness Matrix, 53 Force Terms, 54
The Galerkin Approach 56 Element Stiffness, 56 Force Terms, 57
Assembly of the Global Stiffness Matrix and Load Vector 58 Properties of K 61
The Finite Element Equations; Treatment of Boundary Conditions 62 Types of Boundary Conditions, 62 Elimitwtion Approach, 63 Penalty Approach, 69 Multipoint Constraints, 74
.... ~l ...... ______________ ~,,~.
45
Input Data File, 88
4 TRUSSES
4.1 Introduction 103 4.2 Plane 1fusses 104
Local and Global Coordinate Systems, 104 Formulas for Calculating € and m, 105 Element Stiffness Matrix, 106 Stress Calculations, 107 Temperature Effects, 111
4.3 Three-Dimensional'Ihlsses 114 4.4 Assembly of Global Stiffness Matrix for the Banded
and Skyline Solutions 116 Assembly for Banded Solution, 116 Input Data File, 119
Problems 120 Program Listing, 128
S TWO·DIMENSIONAL PROBLEMS USING CONSTANT STRAIN TRIANGLES
5.1 Introduction 130 5.2 Finite Element Modeling 131 5.3 Constant-Strain Triangle (CST) 133
lsoparametric Representation, 135 Potential· Energy Approach, 139 Element Stiffness, 140 Force Terms, 141 Galerkin Approach, 146 Stress Calculations, 148 Temperature Effects,150
5.4 Problem Modeling and Boundary Conditions 152 Some General Comments on Dividing into Elements, 154
5.5 Orthotropic Materials 154 Temperature Effects, 157 Input Data File, 160
Problems 162 Program Listing, 174
Contents Ix
6.1 Introduction 178 6.2 Axisymmetric Formulation 179 6.3 Finite Element Modeling: Triangular Element 181
Potential-Energy Approach, 183 Body Force Term, 184 Rotating Flywheel, 185 Surface Traction, 185 Galerkin Approach, 187 Stress Calculations, 190 Temperature Effects, 191
6.4 Problem Modeling and Boundary Conditions 191 Cylinder Subjected to Internal Pressure, 191 Infinite Cylinder, 192 Press Fit on a Rigid Shaft, 192 Press Fit on an Elastic Shaft, 193 Bellevifle Spring, 194 Thermal Stress Problem, 195 Input Data File, 197
Problems 198 Program Listing, 205
7 TWO·DIMENSIONAL ISOPARAMETRIC ELEMENTS AND NUMERICAL INTEGRAnON
7.1 Introduction 208 7.2
The Four-Node Quadrilateral 208 Shape FUnctions, 208 Element Stiffness Matrix, 211 Element Force Vectors, 213
Numerical Integration 214 Two·Dimensional Integrals, 217 Stiffness Integration, 217 Stress Calculations, 218
Higher Order Elements 220 Nine-Node Quadrilatera~220 Eight-Node Quadrilateral, 222 Six-Node Triangle, 223
Four-Node Quadrilateral for Axisymmetric Problems 225 Conjugate Gradient Implementation of the Quadrilateral Element 226
Concluding Note, 227 /nplll Data File, 228
Problems 230 Program Listings, 233
, ..
8.1 Introduction 237 Potential.Energy Approach, 238 Galerkin Approach, 239
8.2 Bnite Element Formulation 240 8.3 Load Vector 243 8.4 Boundary Considerations 244
8.5 Shear Force and Bending Moment 245 8.6 Beams on Elastic Supports 247 8.7 Plane Frames 248 8.8 Three·Dimensionai Frames 253 8.9 Some Comments 257
Input Data File, 258
9 THREE-DIMENSIONAL PROBLEMS IN STRESS ANALYSIS 275
9.1 Introduction 275 9.2 Finite Element Formulation 276
Element Stiffness, 279 Force Terms, 280
9.3 Stress Calculations 280 9.4 Mesh Preparation 281 9.5 Hexahedral Elements and Higher Order Elements 285 9.6 Problem Modeling 287 9.7 Frontal Method for Bnite Element Matrices 289
Connectivity and Prefront Routine, 290 Element Assembly and Consideration of Specified dot 290 Elimination of Completed dot 291 Bac/csubstitution, 291 Consideration of Multipoint Constraints, 291 Input Data File, 292
Problems 293 Program Listings, 297
10 SCALAR FIELD PROBLEMS
One-Dimensional Heat Conduction, 309 One-Dimensional Heat Transfer in Thin Fins, 316 7Wo-Dimensional Steady-State Heat Conduction, 320 7Wo-Dimensional Fins, 329 Preprocessing for Program Heat2D, 330
306
10.3 Torsion 331 Triangular Element, 332 Galerkin Approach, 333
10.4 Potential Flow, Seepage, Electric and Magnetic Fields, and Fluid Flow in Ducts 336
Potential Flow, 336 Seepage, 338 Electrical and Magnetic Field Problems, 339 Fluid Flow in Ducts, 341 Acoustics, 343 Boundary Conditions, 344 One· Dimensional Acoustics, 344 1·D Axial Vibrations, 345 Two-Dimensional Acoustics, 348
10.5 Conclusion 348 Input Data File, 349
Problems 350 Program Listings, 361
11 DYNAMIC CONSIDERAnONS
11.1 Introduction 367 11.2 Fonnulation 367
Solid Body with Distributed Mass, 368 11.3 Element Mass Matrices 370
11.4 Evaluation of Eigenvalues and Eigenvectors 375 Properties of Eigenvectors, 376 Eigenvalue-Eigenvector Evaluation, 376 Generalized Jacobi Method, 382 Tridiagonalization and Implicit Shift Approach, 386 Bringing Generalized Problem to Standard Fonn, 386 Tridiagonafization, 387 Implicit Symmetric QR Step with Wilkinson Shift
for Diagonalization, 390
11.5 Interfacing with Previous Fmite Element Programs and a Program for Determining Critical Speeds of Shafts 391
11.6 Guyan Reduction 392 11.7 Rigid Body Modes 394 11.8 Conclusion 396
Input Data File, 397
l..~i"" __ ·_7Z __________ ~""
12.1 Introduction 411 12.2 Mesh Generation 411
Region and Block Representation, 411 Block Comer Nodes, Sides, and Subdivisions, 412
12.3 Postprocessing 419 Deformed Configuration and Mode Shape, 419 Contour Plotting, 420 Nodal Values from Known Constant Element Values
for a Triangle, 421 Least Squares Fit for a Four-Naded Quadrilateral, 423
12.4 Conclusion 424 Input Data File, 425
Problems 425 Program Listings, 427
APPENDIX Proof of dA ~ det J d[ d~
BIBLIOGRAPHY
INDEX
443
447
449
Preface
The first edition of this book appeared over 10 years ago and the second edition fol· lowed a few years later. We received positive feedback from professors who taught from the book and from students and practicing engineers who used the book. We also benefited from the feedback received from the students in our courses for the past 20 years. We have incorporated several suggestions in this edition. The underly­ ing philosophy of the book is to provide a clear presentation of theory, modeling, and implementation into computer programs. The pedagogy of earlier editions has been retained in this edition.
New material has been introduced in several chapters. Worked examples and exercise problems have been added to supplement the learning process. Exercise prob­ lems stress both fundamental understanding and practical considerations. Theory and computer programs have been added to cover acoustics. axisymmetric quadrilateral elements, conjugate gradient approach, and eigenvalue evaluation. Three additional pro­ grams have now been introduced in this edition. All the programs have been developed to work in the Windows environment. The programs have a common structure that should enable the users to follow the development easily. The programs have been pro­ vided in Visual Basic, Microsoft Excel/Visual Basic, MATLAB, together with those pro­ vided earlier in QBASIC, FORTRAN and C. The Solutions Manual has also been updated.
Chapter 1 gives a brief historical background and develops the fundamental con­ cepts. Equations of equilibrium, stress-strain relations, strain-displacement relations, and the principles of potential energy are reviewed. The concept of Galerkin's method is introduced.
Properties of matrices and determinants are reviewed in Chapter 2. The Gaussian elimination method is presented, and its relationship to the solution of symmetric band­ ed matrix equations and the skyline solution is discussed. Cholesky decomposition and conjugate gradient method are discussed.
Chapter 3 develops the key concepts of finite element formulation by consider­ ing one-dimensional problems. The steps include development of shape functions, derivation of element stiffness, fonnation of global stiffness, treatment of boundary conditions, solution of equations, and stress calculations. Both the potential energy approach and Galerkin's formulations are presented. Consideration of temperature effects is included.
xv
xvi Preface
Finite element fonnulation for plane and three-dimensional trusses is developed in Chapter 4. The assembly of global stiffness in banded and skyline fonns is explained. Computer programs for both banded and skyline soluti?ns are given.. .
Chapter 5 introduces the finite element fonnulatIon for two-dimensional plane stress and plane strain problems using constant strain triangle (CST) ele~ents. Probl~m modeling and treatment of boundary conditions are presented ~n detail. Fonnul.atton for orthotropic materials is provided. Chapter 6 treats the modeling aspects ofaxlsym­ metric solids subjected to axisymmetric loading. Formulation using triangular elements is presented. Several real-world problems are included in this chapter.
Chapter 7 introduces the concepts of isoparametric quadrilateral and higher order elements and numerical integration using Gaussian quadrature. Fonnulation for axi­ symmetric quadrilateral element and implementation of conjugate gradient method for quadrilateral element are given.
Beams and application of Hermite shape functions are presented in Chapter 8. The chapter covers two-dimensional and three-dimensional frames.
Chapter 9 presents three-dimensional stress analysis. Tetrahedral and hexahe­ dral elements are presented. The frontal method and its implementation aspects are discussed.
Scalar field problems are treated in detail in Chapter 10. While Galerkin as well as energy approaches have been used in every chapter, with equal importance, only Galerkin's approach is used in this chapter. This approach directly applies to the given differential equation without the need of identifying an equivalent functional to mini­ mize. Galerkin fonnulation for steady-state heat transfer, torsion, potential flow, seep­ age flow, electric and magnetic fields, fluid flow in ducts, and acoustics are presented.
Chapter 11 introduces dynamic considerations. Element mass matrices are given. Techniques for evaluation of eigenvalues (natural frequencies) and eigenvectors (mode shapes) of the generalized eigenvalue problem are discussed. Methods of inverse itera­ tion, Jacobi, tridiagonalization and implicit shift approaches are presented.
Preprocessing and postprocessing concepts are developed in Chapter 12. Theory and implementation aspects of two-dimensional mesh generation, least-squares ap­ proach to obtain nodal stresses from element values for triangles and quadrilaterals, and contour plotting are presented.
At the undergraduate level some topics may be dropped or delivered in a differ­ ent order without breaking the continuity of presentation. We encourage the introduc­ tion of the Chapter 12 programs at the end of Chapter 5. This helps the students to prepare the data in an efficient manner.
" We thank Nels Ma.dsen,.Auburn University; Arif Masud, University of Illinois, Chl~ago; Robert L Rankm,Anzona State University; John S. Strenkowsi, NC State Uni~ v.erslty; and Hormoz Zareh. ~ortland State University, who reviewed our second edi~ hon an? gave ~any constructive suggestions that helped us improve the book.
':
Preface xvii
our production editor Fran Daniele for her meticulous approach in the final produc­ tion of the book.
Ashok Belegundu thanks his students at Penn State for their feedback on the course material and programs. He expresses his gratitude to Richard C. Benson, chair­ man of mechanical and nuclear engineering, for his encouragement and appreciation. He also expresses his thanks to Professor Victor W. Sparrow in the acoustics department and to Dongjai Lee, doctoral student, for discussions and help with some of the material in the book. His late father's encouragement with the first two editions of this book are an ever present inspiration.
We thank our acquisitions editor at Prentice Hall, Laura Fischer, who has made this a pleasant project for us.
TIRUPATHI R. CHANORUPATLA
ASHOK D. BELEGUNDU
About the Authors
TIrupatbi R. Cbandrupada is Professor and Chair of Mechanical Engineering at Rowan University, Glassboro, New Jersey. He received the B.S. degree from the Regional En­ gineering College, Warangal, which was affiliated with Osmania University, India. He re­ ceived the M.S. degree in design and manufacturing from the Indian Institute of Technology, Bombay. He started his career as a design engineer with Hindustan Machine Tools, Bangaiore. He then taught in the Department of Mechanical Engineering at l.l T, Bombay. He pursued his graduate studies in the Department of Aerospace Engineer­ ing and Engineering Mechanics at the University of Texas at Austin and received his Ph.D. in 1977. He subsequently taught at the University of Kentucky. Prior to joining Rowan, he was a Professor of Mechanical Engineering and Manufacturing Systems Engineering at GMI Engineering & Management Institute (fonnerly General Motors Institute), where he taught for 16 years.
Dr. Chandrupada has broad research interests, which include finite element analy~ sis, design, optimization, and manufacturing engineering. He has published widely in these areas and serves as a consultant to industry. Dr. Chandrupatla is a registered Pro­ fessional Engineer and also a Certified Manufacturing Engineer. He is a member of ASEE, ASME, NSPE, SAE, and SME,
Ashok D. Belegundu is a Professor of Mechanical Engineering at The Pennsylvania State University, University Park. He was on the faculty at GMI from 1982 through 1986. He received the Ph.D. degree in 1982 from the University of Iowa and the B.S. de­ gree from the Indian Institute of Technology, Madras. He was awarded a fellowship to spend a summer in 1993 at the NASA Lewis Research Center. During 1994---1995, he obtained a grant from the UK Science and Engineering Research Council to spend his sabbatical leave at Cranfield UniverSity, Cranfield, UK.
Dr. Belegundu's teaching and research interests include linear, nonlinear, and dynamic finite elements and optimization. He has worked on several sponsored pro­ jects for g~vernme~t and industry. He is an associate editor of Mechanics of Structures and Machines. He IS also a member of ASME and an Associate fellow of AIAA.
Introduction to Finite Elements in Engineering
CHAPTER 1
Fundamental Concepts
1.1 INTRODUCTION
The finite element method has become a powerful tool for the numerical solution of a wide range of engineering problems. Applications range from deformation and stress analysis of automotive, aircraft, building, and bridge structures to field analysis of beat…