A two-dimensional FE truss program

Similar documents
As an example, the two-bar truss structure, shown in the figure below will be modelled, loaded and analyzed.

Non-linear and time-dependent material models in Mentat & MARC. Tutorial with Background and Exercises

1 Nonlinear deformation

Stress analysis of a stepped bar

As an example we consider the stacking and analysis of a 2-ply symmetric laminate. First we clear the Matlab space and close figures.

Finite Element Method in Geotechnical Engineering

Post Graduate Diploma in Mechanical Engineering Computational mechanics using finite element method

Due Tuesday, September 21 st, 12:00 midnight

ME 475 Modal Analysis of a Tapered Beam

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 06

Due Monday, September 14 th, 12:00 midnight

Methods of Analysis. Force or Flexibility Method

4 Finite Element Method for Trusses

Level 7 Postgraduate Diploma in Engineering Computational mechanics using finite element method

Analysis of Planar Truss

Two Tier projects for students in ME 160 class

CAAM 335 Matrix Analysis Planar Trusses

CRITERIA FOR SELECTION OF FEM MODELS.

3. Overview of MSC/NASTRAN

Truss Structures: The Direct Stiffness Method

Plane and axisymmetric models in Mentat & MARC. Tutorial with some Background

Finite Element Method-Part II Isoparametric FE Formulation and some numerical examples Lecture 29 Smart and Micro Systems

Fig. 1. Circular fiber and interphase between the fiber and the matrix.

Measurement of deformation. Measurement of elastic force. Constitutive law. Finite element method

Quintic beam closed form matrices (revised 2/21, 2/23/12) General elastic beam with an elastic foundation

Institute of Structural Engineering Page 1. Method of Finite Elements I. Chapter 2. The Direct Stiffness Method. Method of Finite Elements I

Structural Analysis of Truss Structures using Stiffness Matrix. Dr. Nasrellah Hassan Ahmed

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Module - 01 Lecture - 13

Strength of Material. Shear Strain. Dr. Attaullah Shah

INTRODUCTION TO STRAIN

Thermal Stress Analysis of a Bi- Metallic Plate

JEPPIAAR ENGINEERING COLLEGE

Project Engineer: Wesley Kinkler Project Number: 4.14 Submission Date: 11/15/2003. TAMUK Truss Company Trusses Made Simple

UNIVERSITY OF SASKATCHEWAN ME MECHANICS OF MATERIALS I FINAL EXAM DECEMBER 13, 2008 Professor A. Dolovich

Static and Modal Analysis of Telescope Frame in Satellite

Geometric Misfitting in Structures An Interval-Based Approach

DISPENSA FEM in MSC. Nastran

Multi-Point Constraints

Lecture 27 Introduction to finite elements methods

AN EFFECTIVE SOLUTION OF THE COMPOSITE (FGM S) BEAM STRUCTURES

Institute of Structural Engineering Page 1. Method of Finite Elements I. Chapter 2. The Direct Stiffness Method. Method of Finite Elements I

Application of pseudo-symmetric technique in dynamic analysis of concrete gravity dams

Chapter 5 Structural Elements: The truss & beam elements

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Lecture 4 Implementing material models: using usermat.f. Implementing User-Programmable Features (UPFs) in ANSYS ANSYS, Inc.

Using the finite element method of structural analysis, determine displacements at nodes 1 and 2.

N = Shear stress / Shear strain

General elastic beam with an elastic foundation

ENGN 2340 Final Project Report. Optimization of Mechanical Isotropy of Soft Network Material

The University of Melbourne Engineering Mechanics

MATERIAL MECHANICS, SE2126 COMPUTER LAB 4 MICRO MECHANICS. E E v E E E E E v E E + + = m f f. f f

Content. Department of Mathematics University of Oslo

Practice Final Examination. Please initial the statement below to show that you have read it

46th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamics, and Materials Conference April 2005 Austin, Texas

Converting Plane Stress Statics to 2D Natural Frequencies, changes in red

MECh300H Introduction to Finite Element Methods. Finite Element Analysis (F.E.A.) of 1-D Problems

Using MATLAB and. Abaqus. Finite Element Analysis. Introduction to. Amar Khennane. Taylor & Francis Croup. Taylor & Francis Croup,

Computational models of diamond anvil cell compression

CHAPTER 7 FINITE ELEMENT ANALYSIS OF DEEP GROOVE BALL BEARING

IDENTIFICATION OF THE ELASTIC PROPERTIES ON COMPOSITE MATERIALS AS A FUNCTION OF TEMPERATURE

ME FINITE ELEMENT ANALYSIS FORMULAS

EFFECTS OF THERMAL STRESSES AND BOUNDARY CONDITIONS ON THE RESPONSE OF A RECTANGULAR ELASTIC BODY MADE OF FGM

MESH MODELING OF ANGLE-PLY LAMINATED COMPOSITE PLATES FOR DNS AND IPSAP

EMA 3702 Mechanics & Materials Science (Mechanics of Materials) Chapter 2 Stress & Strain - Axial Loading

Mechanical Properties of Materials

Leaf Spring (Material, Contact, geometric nonlinearity)

Plates and Shells: Theory and Computation. Dr. Mostafa Ranjbar

MATERIAL MECHANICS, SE2126 COMPUTER LAB 3 VISCOELASTICITY. k a. N t

UNCONVENTIONAL FINITE ELEMENT MODELS FOR NONLINEAR ANALYSIS OF BEAMS AND PLATES

Nonlinear Static - 1D Plasticity - Isotropic and Kinematic Hardening Walla Walla University

Chapter 2: Rigid Bar Supported by Two Buckled Struts under Axial, Harmonic, Displacement Excitation..14

Analysis of a portal steel frame subject to fire by use of a truss model

CHAPTER 14 BUCKLING ANALYSIS OF 1D AND 2D STRUCTURES

Module 2: Thermal Stresses in a 1D Beam Fixed at Both Ends

CIVL 7/8117 Chapter 4 - Development of Beam Equations - Part 2 1/34. Chapter 4b Development of Beam Equations. Learning Objectives

Stiffness Matrices, Spring and Bar Elements

Geometric nonlinear sensitivity analysis for nonparametric shape optimization with non-zero prescribed displacements

Dynamics Manual. Version 7

Nonlinear analysis in ADINA Structures

Stretching of a Prismatic Bar by its Own Weight

Purpose of this Guide: To thoroughly prepare students for the exact types of problems that will be on Exam 3.

FLEXIBILITY METHOD FOR INDETERMINATE FRAMES

Effect of Specimen Dimensions on Flexural Modulus in a 3-Point Bending Test

MICROMECHANICAL ANALYSIS OF FRP COMPOSITES SUBJECTED TO LONGITUDINAL LOADING

Linear Static Analysis of a Simply-Supported Truss (SI)

Inverse Design (and a lightweight introduction to the Finite Element Method) Stelian Coros

Soft Bodies. Good approximation for hard ones. approximation breaks when objects break, or deform. Generalization: soft (deformable) bodies

INTERNATIONAL JOURNAL OF APPLIED ENGINEERING RESEARCH, DINDIGUL Volume 2, No 1, 2011

Module-6: Laminated Composites-II. Learning Unit-1: M6.1. M 6.1 Structural Mechanics of Laminates

Code_Aster. SDNV114 Simulation of benchmark SAFE - T5 veil out of reinforced concrete

pyoptfem Documentation

Continuum Mechanics and the Finite Element Method

Preprocessor Geometry Properties )Nodes, Elements(, Material Properties Boundary Conditions(displacements, Forces )

The Direct Stiffness Method II

Introduction to Finite Element Analysis Using Pro/MECHANICA Wildfire 5.0

D : SOLID MECHANICS. Q. 1 Q. 9 carry one mark each.

A.0 IDUKKI ARCH DAM - ANALYSIS FOR VARIOUS LOAD CASES AND DISCRETISATIONS

F.M. with Finite Element analysis - Different calculation techniques + Numerical examples (ANSYS Apdl) 2/2

Fracture Behaviour of FRP Cross-Ply Laminate With Embedded Delamination Subjected To Transverse Load

A First Course on Kinetics and Reaction Engineering Example S5.1

Transcription:

A two-dimensional FE truss program 4M020: Design Tools Eindhoven University of Technology Introduction The Matlab program fem2d allows to model and analyze two-dimensional truss structures, where trusses are homogeneous and linear elastic. Deformation and rotations must be small, i.e. the behavior is geometrically linear. Model geometry, topology (connectivity), geometrical and material parameters and boundary conditions (prescribed displacements and point loads) must be available as input data. After reading this input, fem2d checks it and initializes some variables. Input data are stored in a data base. When the analysis is finished, output date are stored in the data base and various other data arrays. Save the file fem2d.tar in the directory fem and extract the tar-file. It is very convenient to make a text-file e.g. com.txt to save some Matlab commands which you can copy into the Matlab shell. In the following section an example input is presented, with explanatory comments. The program itself is explained in more detail in the last section. 2 Example input file As an example, the two-bar truss structure, shown in the figure below, will be modelled, loaded and analyzed. y 3 2 2 F x Both trusses have different geometrical and material properties, which are given in the table below.

2 truss a b cross-sectional area A 0 20 [mm 2 ] Young s modulus E 200 50 [GPa] Poisson s ratio ν 0.3 0.3 [-] Now lets see which Matlab commands do the job. Before starting, it might be wise to clear everything and close all figures. clear all; close all; First we give the coordinates of the nodes in the array crd0. Now we have to decide on the units and in this example we choose to model everything in mm. crd0 = [ 0 0; 00 0; 0 00/sqrt(3) ]; Then the connectivity of the elements is defined in the array lok. This array has a row for each element. The first column contains the element type, which is 9 for a truss. The second row is the element group number. Typically elements with the same properties are placed in one and the same group. Because our two elements indeed have different properties, they are placed in two different groups. The third and fourth column contain the first and second node of the element. lok = [ 9 2 ; 9 2 2 3 ]; Now we have to provide the geometrical and material properties in the array elda (element data). For each element group we have a row in elda. The first column contains a zero (0), which is not important for our use of fem2d. The second column contains the material identification number. For linear elastic material, which we will use here and also further in other cases, this number is (eleven). The third column contains the cross-sectional area (in mm 2 ). The fourth and fifth column are not used for our problems and always contain a zero (0). The sixth and seventh column contain Young s modulus and Poisson s ratio. So for our example we have : elda = [ 0 0 0 0 200000 0.3 0 20 0 0 50000 0.3 ]; Boundary conditions are prescribed nodal displacements and/or prescribed nodal forces. Prescribed nodal displacements are always needed to prevent rigid body motions. Prescribed displacements are provided in the array pp. For each prescribed displacement component we have one row. The first column contains the node, the second column contains the direction (either (= x = horizontal) or 2 (= y = vertical). The third column contains the value. For our example we have : pp = [ 0; 2 0; 3 0; 3 2 0; ]; The prescribed forces are given in the array pf. Again each prescribed force component is placed on a row, with the node in the first, the direction in the second and the value in the third column. For our example :

3 pf = [ 2 2-00 ]; That is about all. The input is complete and fem2d can be executed to analyze the behavior. fem2d; When the analysis is completed successfully, we want to see some results. First the nodal data, i.e. displacements and reaction forces. They are available in the array s MTp and Mfi. Rows contain nodal data : displacement and forces in the first ( = x = horizontal) and second (2 = y = vertical) directions. Just type the next commands in the Matlab shell. MTp Mfi Element data, like stress and strain, are available in the data base. This is a Matlab structure eda.eldac. For element e we find the date in the array eda(e).eldac. The relevant date can be found at the following locations : eda(e).eldac() = sine of angle between axis and -direction eda(e).eldac(2) = cosine of angle between axis and -direction eda(e).eldac(3) = length eda(e).eldac(4) = cross-sectional area eda(e).eldac(6) = linear axial strain eda(e).eldac(7) = axial stress eda(e).eldac() = axial stretch ratio eda(e).eldac(2) = radial stretch ratio eda(e).eldac(8) = axial force To see some results for our example just type the following in the Matlab shell : eda().eldac(6) eda().eldac(7) eda().eldac(8) eda(2).eldac(6) eda(2).eldac(7) eda(2).eldac(8) These values can ofcourse be stored and printed in various ways. The above input commands can also be put in one single input file, e.g. Ifem2d.m : clear all; close all; crd0 = [ 0 0; 00 0; 0 00/sqrt(2) ]; lok = [ 9 2 ; 9 2 2 3 ]; elda = [ 0 0 0 0 200000 0.3; 0 20 0 0 50000 0.3 ]; pp = [ 0; 2 0; 3 0; 3 2 0; ]; pf = [ 2 2-00 ];

4 3 The program fem2d The two-dimensional finite element program fem2d is not only suited to analyze truss structures. As we only use it for this purpose, the following explanation is confined to this use. It is recommended to look at the program listing, when reading the text. The program starts with a check of input variables and initialization. This is done in separate m-files. prog= fe2d ; checkinputn; daba; lcase; initialzero; After that the loop over all elements ne is started to make the system of equations. for e=:ne... end; % element loop e In this loop some data are extracted from the data base eda.elpa, which contains the element parameters. ety = element type egr = element group nenod = number of element nodes nedof = number of element degrees of freedom neip = number of element integration points The last variable is irrelevant for the truss element. Element nodal coordinates are also needed : ec0 = initial element nodal coordinates ec = current element nodal coordinates After initialization of element matrix ( em ) and force column ( ef ) to zero, the element stiffness matrix is made. Here we only show the part for the truss element ( ety = 9 ). [ML,V] = geomm(e,eda); l0 = eda(e).elda0(3); A0 = eda(e).elda0(4); E0 = eda(e).elda0(8); em = (A0/l0 * E0) * ML ; The m-file geomm is used to generate the array s ML and V. From the data base we extract the initial element length l0, cross-sectional area A0 and Young s modulus E0. The element stiffness matrix em is assembled into the structural stiffness matrix sm, using information on the connectivity, which is stored in the array lokvg, which finishes the element loop. Now that we have the left hand structural stiffness matrix sm, the right hand force column rs must be made from the prescribed nodal forces, which are contained in the array fe. The total system of equations is reduced by partitioning, which means that prescribed nodal displacements are taken into account. This is done with the m-file partit. The reduced equation system is solved and the solution is found in the column sol.

5 sol = inv(sm)*rs; From this solution array, the nodal displacements and new coordinates are extracted. To calculated element strains and stresses, we have to go into an element loop for the second time. Using the nodal displacements, various element values are calculated and stored in the data base. 4 Mesh plotting function Truss structures can be plotted in undeformed and deformed state with a Matlab function pmshn.m. The call to the function looks like : pmshn(option,lok,crd0,crd,eda) We recognize the arrays lok, crd0, crd and eda, respectively the location (connectivity) matrix, the coordinates in initial and current state and the element data base. The first argument is a column array with some options : option() = magfac : magnification factor option(2) = inimsh : -> plotting of initial mesh option(3) = nodpnt : -> plotting of nodal numbers option(4) = elmnrs : -> plotting of element numbers option(5:0) = 0 : values are not relevant for trusses So it will almost always be enough to use : option = [ 0 0 0 0 0 0 0 0]; pmshn(option,lok,crd0,crd,eda);