Eventos Anais de eventos
COBEM 2023
27th International Congress of Mechanical Engineering
DEVELOPMENT OF A PYTHON SCRIPT FOR STRUCTURAL ANALYSIS BASED ON THE FINITE ELEMENT THEORY
Submission Author:
Roberto Wagner Bressan Junior , SP
Co-Authors:
Dawson Tadeu Izola, Roberto Wagner Bressan Junior
Presenter: Roberto Wagner Bressan Junior
doi://10.26678/ABCM.COBEM2023.COB2023-0206
Abstract
Dawson Tadeu Izola (Centro Universitário da Fundação Hermínio Ometto – Av. Dr. Maximiliano Baruto, 500, Jd. Universitário | Araras, SP – Brasil | dawson@fho.edu.br) Roberto Wagner Bressan Junior (Centro Universitário da Fundação Hermínio Ometto – Av. Dr. Maximiliano Baruto, 500, Jd. Universitário | Araras, SP – Brasil | robertowbj@gmail.com) Facing the advance of technology and the most modern way to analyze the stresses on the structures of all types, the knowledge about the finite element analysis is necessary. To understand the dynamics of the commercial software available and to comprehend the calculations occurring inside the “black box” of these programs, a script to solve any kind of plane geometry with boundary conditions acting on the plane of this structure is developed. The script receives the geometry generated in the Gmsh software, which is free to use software with a graphical interface that the user can build the plane geometries, configure the mesh and define the boundaries conditions. After receiving the geometry, with the functions of the script, the user must define the forces, constraints, material properties and the results to examine. The script is written in python language and uses the constant strain triangle element to analyze the geometries. The mesh is imported and interpreted by the meshio library, the linear system is solved by numpy and the contour results are shown with matplotlib. To ensure the reliability of the script, the results are compared with commercial software considering the same boundary conditions and simplifications. Moreover, a comparison with an instrumented plate by an extensometer is utilized, this plate is fixed in one side and pulled in the other extremity. To arrange the calibration of the extensometers a variating transversal load is applied. Considering the math as the basis for both programs (script and commercial software), the results must be similar except because of any kind of singularity in respect of the boundary conditions applications method since the commercial software has more developed manners to apply the constraints and forces. And, for the extensometry, close results are also expected on the area that the extensometer is placed. After the development of this work, it is evident that the area of the finite element and structural analysis is vast and thought-provoking. However, the challenge to write an own solver and compare the results with valid software and a real experimental case gives a brief comprehension of how the “black box” works.
Keywords
Finite Element Method, Python, extensometry, Linear Elasticity, Plane state of tension

