By Dharmit A. Thakore Finite Element Analysis Using Open Source Software
Total Page:16
File Type:pdf, Size:1020Kb
Finite Element Analysis using Open source Software Mesh Deformed shape Von Mises Tresca - by Dharmit A. Thakore Finite Element Analysis with Open Source Software Second Edition Finite Element Analysis with Open Source Software Second Edition Dharmit Thakore, CPEng, RPEQ Moonish Ent. Pty. Ltd. Brisbane, QLD, Australia Moonish Enterprises Pty Ltd GPO Box 1299, Brisbane, QLD 4001, Australia 2014 Credits and Copyright Written by: Dharmit Thakore [email protected] Publisher: Moonish Ent. Pty. Ltd [email protected] http://engineering.moonish.biz Graphic Design / Layout: Lomesha Thakore [email protected] Edition 2 ©2014 Dharmit Thakore No part of this publication may be reproduced, stored or transmitted in any form or by any means, electronic, mechanical or otherwise, without prior written consent from the publisher, except for the inclusion of brief quotations in a review. You may store the pdf on your computer and backups. You may print one copy of this book for your own personal use. Disclaimer: The information contained in this book is based on the author’s experience, knowledge and opinions. The author and publisher will not be held liable for the use or misuse of the information in this book. To My wife, Our beloved son & Open Source Software About the Author Dharmit Thakore is the Director of Moonish Enterprises Pty Ltd at Brisbane, Queensland, Australia. He practices as a Mechanical / Piping Engineer in Queensland. He received his Bachelor’s degree from Birla Vishwakarma Mahavidhyalaya, Vallabh Vidhyanagar, Gujarat, India which was affiliated with Sardar Patel University. He started his engineering career as a young Graduate in Larsen & Toubro – Sargent & Lundy, Vadodara. He came to Australia for further studies and settled here. He received his Registered Professional Engineer in Queensland (RPEQ) recognition early in his career and subsequently obtained his Chartered Professional Engineer (CPEng) as a Mechanical / Piping Engineer. Dharmit has broad interests, which include finite element analysis, design, optimization and Open Source software. He is a member of ASME, Engineers Australia and Board of Professional Engineers in Queensland. Table of Contents Foreword xiii What motivated me to write this book xiii This book is written for xiii This book is not written for xiv What software would you need to follow through xiv What are the steps in Finite Element Analysis xv Study Cases xvii Case 1: Getting to know Salome-Meca xvii Case 2: Editing command (.comm) file xvii Case 3: 1D Finite Element Analysis xviii Case 4: 2D Frame Finite Element Analysis xviii Case 5: Axi-symmetric Finite Element Analysis xviii Case 6: 2D Shell Finite Element Analysis xviii Case 7: Basic 3D Finite Element Analysis xviii Case 8: 3D Finite Element Analysis with Hexahedral Linear Mesh xix Case 9: 3D Finite Element Analysis with Hexahedral Quadratic Mesh xix Case 10: Finite Element Analysis of a Pseudo Assembly xix Case 11: Finite Element Analysis of a 3D Assembly xix Getting to know Salome-Meca 1 Step 1: Purpose of the FE Analysis / Description of the problem 2 Step 2: Input values for the FE analysis 2 Step 3: Model Geometry 3 Step 4: Meshing Geometry 8 Step 5, 6, 7, 8 and 9: Salome-Meca Linear Static Analysis Wizard 12 Step 10: Run the analysis 16 Step 11: Post Processing of the Results 18 Summary 31 PS – Using Efficient to generate command (.comm) file 32 Chapternotes 36 Editing command (.comm) file 39 Step 1: Purpose of the FE Analysis / Description of the problem 40 Step 2: Input values for the FE analysis 40 Step 3: Model Geometry 41 Step 4: Meshing Geometry 43 Step 5, 6, 7, 8 and 9: Salome-Meca Linear Static Analysis Wizard 45 Step 8 and 9 again: Manual editing of command (.comm) file 47 Step 10: Running the analysis 52 Step 11: Post Processing of the Results 53 Summary 55 PS – Using Efficient to generate command (.comm) file 56 Chapter notes 60 1D Finite Element Analysis 61 Step 1: Purpose of the FE Analysis / Description of the problem 62 Step 2: Input values for the FE analysis 63 Step 3: Model Geometry 64 Step 4: Meshing Geometry 67 Step 5, 6, 7, 8 and 9: Creating command (.comm) file with Eficas 70 Step 10: Run the analysis 82 Step 11: Post Processing of the Results 84 Result 85 Summary 85 PS – Using Efficient to generate command (.comm) file 86 Chapter notes 91 2D Frame Finite Element Analysis 93 Step 1: Purpose of the FE Analysis / Description of the problem 94 Step 2: Input values for the FE analysis 94 Step 3: Model Geometry 95 Step 4: Meshing Geometry 99 Step 5, 6, 7, 8 and 9: Creating command (.comm) file by using a template 102 Step 10: Run the analysis 105 Step 11: Post Processing of the Results 106 Summary 107 PS – Using Efficient to generate command (.comm) file 108 Chapter notes 113 Axi-Symmetric Finite Element analysis 115 Step 1: Purpose of the FE Analysis / Description of the problem 116 Step 2: Input values for the FE analysis 116 Step 3: Model Geometry 117 Step 4: Meshing of Geometry 120 Step 5, 6, 7, 8 and 9: Salome-Meca Linear Static Analysis Wizard 128 Step 10: Running the analysis 130 Step 11: Post Processing of the Results 131 Summary 143 PS – Using Efficient to generate command (.comm) file 144 Chapter notes 148 2D Shell Finite Element analysis 149 Step 1: Purpose of the FE Analysis / Description of the problem 150 Step 2: Input values for the FE analysis 150 Step 3: Model Geometry 151 Step 4: Meshing Geometry 153 Step 5, 6, 7, 8 and 9: Writing command (.comm) file by hand 156 Step 10: Run the analysis 161 Step 11: Post Processing of the Results 163 Result 167 Summary 167 PS – Using Efficient to generate command (.comm) file 168 Chapter notes 173 Basic 3D Finite Element Analysis 175 Step 1: Purpose of the FE Analysis / Description of the problem 176 Step 2: Input values for the FE analysis 176 Step 3: Model Geometry 177 Step 4: Meshing Geometry 179 Step 8 and 9 again: Manual editing of command (.comm) file 184 Step 10: Run the analysis 185 Step 11: Post Processing of the Results 186 Step 4 again: Meshing Geometry 188 Step 5, 6, 7, 8, 9 and 10 again: Salome-Meca Linear Static Analysis Wizard 189 Step 11 again: Post Processing of the Results 190 Summary 190 PS – Using Efficient to generate command (.comm) file 191 Chapter notes 194 3D Finite Element Analysis with Hexahedral Linear Mesh 195 Step1: Description of the problem 196 Step 2: Input values for the FE analysis 196 Step 3: Model Geometry 197 Step 4: Meshing Geometry 201 Step 5, 6, 7, 8 and 9: Salome-Meca Linear Static Analysis Wizard 204 Step 10: Run the analysis 208 Step 11: Post Processing of the Results 209 Summary 215 PS – Using Efficient to generate command (.comm) file 216 3D Finite Element Analysis with Hexahedral Quadratic Mesh 221 Step1: Description of the problem 222 Step 2: Input values for the FE analysis 222 Step 3: Model Geometry 223 Step 4: Meshing Geometry 240 Step 5, 6, 7, 8 and 9: Efficient Wizard 246 Step 10: Run the analysis 261 Step 11: Post Processing of the Results 262 Summary 267 Chapter notes 268 Finite Element Analysis of Pseudo Assembly 269 Step 1: Description of the problem 270 Step 2: Input values for the FE analysis 270 Step 3: Model Geometry 271 Step 4: Meshing Geometry 277 Step 5, 6, 7, 8 and 9: Efficient Wizard to generate command (.comm) file 280 Step 10: Run the analysis 284 Step 11: Post Processing of the Results 285 Summary 289 Chapter notes 290 Finite Element Analysis of 3D Assembly 291 Step 1: Description of the problem 292 Step 2: Input values for the FE analysis 292 Step 3: Model Geometry 293 Step 4: Meshing Geometry 299 Step 5, 6, 7, 8 and 9: Creating command (.comm) file by using a template 302 Step 10: Run the analysis 306 Step 11: Post Processing of the Results 312 Summary 315 PS – Using Efficient to generate command (.comm) file 316 Chapter notes 324 What will be covered in Volume 2 a Parametric Modelling in Salome for Geometry and Mesh generation a Editing and Generating Mesh in Salome’s Mesh Module a Combining element types in a single FE Analysis a Non Linear Material Analysis a Sliding Contact instead of Glued a Modal Analysis b Thermal Analysis b Volume 2 Book Promotion - 35% Off b Appendix A c Other sources of information c Appendix B d Installing Software required for this book d Ubuntu 12.04 Configuration d Salome-Meca 2013.2 installation f Efficient Install h Foreword Foreword During my university life, I had taken Computer Aided Design (CAD) and Finite Element Analysis (FEA) as my elective subjects. As a young university student, I was fascinated by the power of computers and the help that they provide to obtain results that are easy to understand for a complex simulation. Going from Drawing boards, pencils and erasers to CAD with everything on the computer, having multiple revisions of the same drawing and the powerful undo and redo functionality were one of the journeys that I will never forget. At that time, our university was having education version of AutoCAD® (I won’t tell the version of AutoCAD as that will reveal my age ) for drafting and Solid Edge® for Finite Element Analysis. The only problem was that outside university we were on our own. We even didn’t have student versions of those software to use at home. What motivated me to write this book It was not until 2006 that I was introduced to the world of Linux, Ubuntu (in particular) and Open Source Software.