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

Slides:



Advertisements
Similar presentations
Introduction to CAD/CAM/CAE
Advertisements

CHAPTER 1: COMPUTATIONAL MODELLING
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.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture.
Optimal Shape Design of Membrane Structures Chin Wei Lim, PhD student 1 Professor Vassili Toropov 1,2 1 School of Civil Engineering 2 School of Mechanical.
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Alternate Software Development Methodologies
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.
MCE 561 Computational Methods in Solid Mechanics
Chapter 3 Planning Your Solution
Introduction to Computer Technology
The Finite Element Method
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.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
ES 128 Computational Solid and Structural Mechanics
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
1 On to Object Design Chapter 14 Applying UML and Patterns.
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.
4 Fundamentals of Particle Swarm Optimization Techniques Yoshikazu Fukuyama.
Intelligent Information Expert System for Employment and General Purposed Fuzzy Shell.
Slide 12.1 Chapter 12 Implementation. Slide 12.2 Learning outcomes Produce a plan to minimize the risks involved with the launch phase of an e-business.
APPLIED MECHANICS Lecture 13 Slovak University of Technology
Multilevel Distributed
Introduction to Design Engineer Analysis
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)
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
1 JEOPARDY! Version 2005: Review for IED 2 Design Process Sketching Visualization Geometric Relations Modeling $100 $200 $300 $400 $500 Presentations.
哈工大信息检索研究室 HITIR ’ s Update Summary at TAC2008 Extractive Content Selection Using Evolutionary Manifold-ranking and Spectral Clustering Reporter: Ph.d.
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.
Lecture Objectives: Accuracy of the Modeling Software.
Building Comfort With MATLAB
Process Chain for Optimization using ANSA, LS-OPT and μETA
Finite element mesh and load definition
Aalto University School of Engineering
ASIC Design Methodology
Particle Swarm Optimization (2)
Python: Experiencing IDLE, writing simple programs
PSO -Introduction Proposed by James Kennedy & Russell Eberhart in 1995
Soft Computing Applied to Finite Element Tasks
Bridge modelling with CSI software.
FEA Introduction.
*current controlled assessment plans are unknown
Learning to Program in Python
GENERAL VIEW OF KRATOS MULTIPHYSICS
Coding Concepts (Basics)
OVERVIEW OF FINITE ELEMENT METHOD
Algorithms and Problem Solving
Realistic multiphysics analysis
Topology Optimization through Computer Aided Software
Presentation transcript:

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

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 1.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 User manuals: Matlab, Abaqus, Ansys, Etc

Motivation Analysis of large complex structure involves lots of work –Changes due to prototyping and optimization –Numerous analyses are needed (vibration, 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 –FEMAP, API/VB –Etc.

Exercise Create a simple script or pseudo code that would automatically create a input file to an external solver and reads the result from output file. Show how you would perform looping for example in terms of optimization. The external solver can be for example: –FE-code: Abaqus (Python), FEMAP (API/VB) –Some executable file –Etc. Report –The idea of the code –The steps the application performs –How well it works and what would be the natural way to extend

Motivation The structures 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 hchc twtw 2p t f1 t f2 5 variable problem 15 different design possibilities for every variable 1 s for evaluating structural response

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

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 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 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

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 - Exploration of the design space

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 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 1.Create FE mesh 2.Calculate the equivalent stiffness, e.g. in Matlab 3.Print the result in right format to input file Abaqus input file

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 Combine the input files Create equivalent stiffness properties

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