Aalto University School of Engineering

Slides:



Advertisements
Similar presentations
Introduction to CAD/CAM/CAE
Advertisements

Finite element method Among the up-to-date methods of stress state analysis, the finite element method (abbreviated as FEM below, or often as FEA for analyses.
Solutions for Prestressed Reinforced Concrete Structures
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
LECTURE SERIES on STRUCTURAL OPTIMIZATION Thanh X. Nguyen Structural Mechanics Division National University of Civil Engineering
PARTICLE SWARM OPTIMISATION (PSO) Perry Brown Alexander Mathews Image:
Designing Tensile Structures Using Generic CAD Applications. Structural membranes 2007, Barcelona, September 2007 Javier Sánchez, Tecnun, University.
Engineering Optimization – Concepts and Applications Engineering Optimization Concepts and Applications Fred van Keulen Matthijs Langelaar CLA H21.1
Chapter 17 Design Analysis using Inventor Stress Analysis Module
Lecture 2 – Finite Element Method
Finite Element Primer for Engineers: Part 2
FE analysis with bar elements E. Tarallo, G. Mastinu POLITECNICO DI MILANO, Dipartimento di Meccanica.
ECIV 720 A Advanced Structural Mechanics and Analysis Solid Modeling.
A Designer’s Approach for Optimizing an End-Loaded Cantilever Beam while Achieving Structural and Manufacturing Requirements Timothy M. Demers November.
CAD/CAM Design Process and the role of CAD. Design Process Engineering and manufacturing together form largest single economic activity of western civilization.
Chapter 3 Planning Your Solution
Introduction to virtual engineering László Horváth Budapest Tech John von Neumann Faculty of Informatics Institute of Intelligent Engineering.
Lecture 15 Practice & exploration Subfunctions: Functions within functions “Guessing Game”: A hands-on exercise in evolutionary design © 2007 Daniel Valentine.
Osyczka Andrzej Krenich Stanislaw Habel Jacek Department of Mechanical Engineering, Cracow University of Technology, Krakow, Al. Jana Pawla II 37,
Computer Aided Mechanical Design
MARCUS SANDBERG, A knowledge-based master modelling approach for whole engine design Marcus Sandberg Luleå University of Technology.
Example II: Linear truss structure
SRAC 2001 Presented by: Kiko (Application Engineer) Intelligent CAD/CAM Technology LTD. Cosmos World.
Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
(Particle Swarm Optimisation)
The Particle Swarm Optimization Algorithm Nebojša Trpković 10 th Dec 2010.
Multilevel Distributed
CFX-10 Introduction Lecture 1.
DESIGN 1 DPT224 TOPIC 2: ENGINEERING DESIGN PROCESS.
Finite Element Analysis
Shape Finder Appendix Thirteen. Training Manual Shape Finder August 26, 2005 Inventory # A13-2 Chapter Overview In this chapter, using the Shape.
Advanced Simulation Techniques for the coupled Fatigue and NVH Optimization of Engines. K+P Software, Schönbrunngasse 24, A Graz / Austria Tel.:
Written by Changhyun, SON Chapter 5. Introduction to Design Optimization - 1 PART II Design Optimization.
2. WRITING SIMPLE PROGRAMS Rocky K. C. Chang September 10, 2015 (Adapted from John Zelle’s slides)
Engineering Optimization Most engineering design involves using optimization software Minimizes or maximizes a merit function Applies functional constraints.
Application Development in Engineering Optimization with Matlab and External Solvers Aalto University School of Engineering.
The University of SydneySlide 1 Simulation Driven Biomedical Optimisation Andrian Sue AMME4981/9981 Week 5 Semester 1, 2016 Lecture 5.
13-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Chapter 13 Solver.out File and CCL Introduction to.
Lecture and laboratory No. 5 Modeling of behavior of Engineering Objects. Realistic simulation Óbuda University John von Neumann Faculty of Informatics.
1 Introduction to Engineering Spring 2007 Lecture 18: Digital Tools 2.
CUFSM and Matlab CUFSM3.12 The Matlab version of CUFSM allows much greater flexibility than the standalone version. Within the Graphical User Interface.
Building Comfort With MATLAB
Process Chain for Optimization using ANSA, LS-OPT and μETA
Finite element mesh and load definition
ASIC Design Methodology
Particle Swarm Optimization (2)
Tech/ME 140: Unit 5 Lecture Mechanism Design: Introduction to Mechanisms, Synthesis Using Graphical Approach. Motion Analysis and Simulation: Animation.
CHAPTER 2 - EXPLICIT TRANSIENT DYNAMIC ANALYSYS
Python: Experiencing IDLE, writing simple programs
Chapter 13 Solver .out File and CCL
Architecture Concept Documents
OVERVIEW Impact of Modelling and simulation in Mechatronics system
PSO -Introduction Proposed by James Kennedy & Russell Eberhart in 1995
Soft Computing Applied to Finite Element Tasks
Bridge modelling with CSI software.
PreOpenSeesPost: a Generic Interface for OpenSees
ME 521 Computer Aided Design 15-Optimization
FEA Introduction.
*current controlled assessment plans are unknown
Unit# 9: Computer Program Development
Learning to Program in Python
FEA convergence requirements.
GENERAL VIEW OF KRATOS MULTIPHYSICS
Coding Concepts (Basics)
OVERVIEW OF FINITE ELEMENT METHOD
CSE S. Tanimoto Paradigms
Realistic multiphysics analysis
MECH 3550 : Simulation & Visualization
Y. Ordonez1, A. Bituin1, K. Kyain1, A. Maxwell2, Z. Jiang2
Topology Optimization through Computer Aided Software
Presentation transcript:

Aalto University School of Engineering Application Development in Engineering Optimization with Matlab and External Solvers

Contens The aim of the lecture is to courage you to use programming, optimization and computational analyses to speed up the design processes Motivation Exercise Contents Flow chart of optimization Pre-processing Analysis Post-processing Literature Romanoff, J., “Optimization of web-core steel sandwich decks at concept design stage using envelope surface for stress assessment”, Engineering Structures, Vol. 66, 2014, pp. 1-9. User manuals: Matlab, Abaqus, Ansys, Etc 

Motivation Analysis of large complex structure/systems involves lots of work Changes due to prototyping and optimization Numerous analyses are needed (vibration, thermo, costs, production, flows, ultimate strength) Numerous documents on analyses to be provided to authorities in form of reports Etc Some of these tasks can be automatized  requires programming This can be done is all stages of analyses, i.e. pre- and post processing as well as analysis itself Most of the solvers have their own programming language Abaqus: Python, Fortran,… (Finite Elements) FEMAP: API/VB (Finite Elements) Etc. This can make the solvers sensitive to the format of files, operating system differences (Windows vs. Unix), etc

Exercise Create a simple script in Matlab that automatically (grades): Creates/updates the vector in an input file Icore.dat (Hint: do not change the length or 1st number that indicates it 19) Calls external solver (webcoremain.exe) Waits until analysis is completed Reads one of the output files to Matlab Show how you would perform looping for example in terms of optimization. The external solver can be for example: Report The idea of the code The steps the application performs in commented code How well it works and what would be the natural way to extend

Motivation The structures/systems are becoming more advanced and optimized Lightweight Sustainable Safe Effectiveness often requires minimization or maximization of property(ies) of the structure under given load cases and constraints Optimization is mathematical method to find optimal solution We need optimization algorithms for search of the optimum We need constraints to make the design feasible in practice The key issue is to balance both constraint assessment and optimization algorithms – cost vs. accuracy The key question is what to optimize (dimensions, materials, shape, topology), under which conditions (loads, variable range, rules) and for what objective (mass, cost, safety, all of these)

Motivation 5 variable problem 15 different design possibilities for every variable 1 s for evaluating structural response tf1 tw hc tf2 2p

Flow of Optimization There are several algorithms available Matlab central Internet Commercial codes, e.g. modeFRONTIER Often you need to combine several software to run different types of analyses Flow solution Heat transfer FEA Etc Some of these analyses take time and you need to be able to control the process We go through an example containing each of these parts and touch the things you need to pay attention to

Example of Optimization Algorithm Particle Swarm Optimization (PSO) Relatively new method – proposed in 1995 Concept based on bird or fish swarm behavior and how knowedlge is tranferred Belongs to the group of evolutionary algorithms – similar principles as genetic algorithm Particle swarm optimisation (PSO) Identify the conceptual design alternatives Population-based optimisation technique developed by Kennedy and Eberhart (1995) Best particle in current calculation round redirects particles of next round to previous best particle One-way sharing mechanism, which looks only for the best solution only All particles tend to converge to the best solution

PSO Relatively new method – proposed in 1995 Concept based on bird or fish swarm behavior and how knowedlge is tranferred Belongs to the group of evolutionary algorithms – similar principles as genetic algorithm Identify the conceptual design alternatives Population-based optimisation technique developed by Kennedy and Eberhart (1995) Best particle in current calculation round redirects particles of next round to previous best particle One-way sharing mechanism, which looks only for the best solution only All particles tend to converge to the best solution http://www.youtube.com/watch?v=IYLqvfcAzg0&feature=related

Exploration of the design space Speed of particle ‘i’ at iteration ‘k’ in design space - Particle’s best location until iteration ‘k’ - Swarm’s best location until iteration ‘k’ - Weight factors for the three direction components -

Pre-processing The large complex structure can be built automatically using parametric modeling The logic is Definition of a strake variables Definition of strake lines and key points Extrusion of a strake Making connecting lines between strake end points Defining areas based on lines Meshing the areas Assemble all strakes

Pre-processing Ansys

Pre-processing Ansys

Pre-processing Ansys

Pre-processing Ansys

Pre-processing Ansys

Pre-processing Ansys

Pre-processing Ansys

Pre-processing Abaqus input file Programming can be also used to change the input file properties Equivalent stiffness of shells (e.g. in scantling optimization) Offset beams and their properties Nodal coordinates in geometrical optimization Etc Pay attention to input file format Space Tab Enter Process Create FE mesh Calculate the equivalent stiffness, e.g. in Matlab Print the result in right format to input file Abaqus input file

Pre-processing Matlab Creates Input for Abaqus

Pre-processing Matlab Creates Input for Abaqus

Analysis The analysis can be controlled by programming, e.g. in optimization sequence of tasks is important Create new design Analyze the design with FEM for Static Dynamic Extract the FE-results to optimization algorithm Another example is that during the analysis user defined material model can be used. This is coded in FE solver programming language Call input files with numerical info Run the structural analysis with all tasks

Analysis Assign the variables Create equivalent stiffness properties Call external application to combine the input files

Analysis Run the vibration analysis in Abaqus and wait that it is Completed (identified by .sta & .lck file existence/non-existence) Collect the results

Post-Processing Some tasks in post processing can be automated Critical stress check Critical displacement check Lowest eigenfrequency check Etc Reporting Create result file for Matlab Open Abaqus result file Pick the value of interest Close result file for Matlab

Conclusions Often we need to run analyses several times during optimization using various external solvers This requires automatization, file handling, timing of processes etc Matlab is good environment for of controlling such processes: Contains many open source optimization algorithms Can handle external solvers in batch-mode Has good visualization options Can create executable with GUI