Engineering Optimization Most engineering design involves using optimization software Minimizes or maximizes a merit function Applies functional constraints.

Slides:



Advertisements
Similar presentations
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
SCIP Optimization Suite
Chapter 7 Introduction to Procedures. So far, all programs written in such way that all subtasks are integrated in one single large program. There is.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
The Web Warrior Guide to Web Design Technologies
Exploring the Basics of Windows XP. Objectives Start Windows XP and tour the desktop Explore the Start menu Run software programs, switch between them,
1 ICS103 Programming in C Lecture 2: Introduction to C (1)
Guide To UNIX Using Linux Third Edition
By: Jamie McPeek. 1. Background Information 1. Metasearch 2. Sets 3. Surface Web/Deep Web 4. The Problem 5. Application Goals.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Exploring the Basics of Windows XP
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Lab 8 Solver In VBA ► Review – Solver Add-in In Excel ► Solver Add-in In VBA.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Introduction to FORTRAN
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Tutorial 1: Getting Started with Adobe Dreamweaver CS4.
Computer Aided Mechanical Design
An Introduction to Visual Basic
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
ANSYS Fundamentals This document contains no technical data subject to the EAR or the ITAR.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
XP New Perspectives on Windows XP Tutorial 1 Exploring the Basics.
Chapter 06 (Part I) Functions and an Introduction to Recursion.
Tutorial 10 Programming with JavaScript
Done by: Hanadi Muhsen1 Tutorial 1.  Learn the history of JavaScript  Create a script element  Write text to a Web page with JavaScript  Understand.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
Chapter Two Creating a First Project in Visual Basic.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
What does C store? >>A = [1 2 3] >>B = [1 1] >>[C,D]=meshgrid(A,B) c) a) d) b)
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
38 4/11/98 CSE 143 Modules [Chapter 2]. 39 4/11/98 What is a Module?  Collection of related items packaged together  Examples:  Stereo System Components.
CISB434: VisiRule 1.
Chapter 1 Introduction. Chapter 1 - Introduction 2 The Goal of Chapter 1 Introduce different forms of language translators Give a high level overview.
CS 460/660 Compiler Construction. Class 01 2 Why Study Compilers? Compilers are important – –Responsible for many aspects of system performance Compilers.
Covenant College November 27, Laura Broussard, Ph.D. Professor COS 131: Computing for Engineers Chapter 5: Functions.
Practical Programming COMP153-08S Week 5 Lecture 1: Screen Design Subroutines and Functions.
Finite Element Analysis
CSCI 1100/1202 April 1-3, Program Development The creation of software involves four basic activities: –establishing the requirements –creating.
Shape Finder Appendix Thirteen. Training Manual Shape Finder August 26, 2005 Inventory # A13-2 Chapter Overview In this chapter, using the Shape.
Lecture 26: Reusable Methods: Enviable Sloth. Creating Function M-files User defined functions are stored as M- files To use them, they must be in the.
Chapter 8 Arrays. A First Book of ANSI C, Fourth Edition2 Introduction Atomic variable: variable whose value cannot be further subdivided into a built-in.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Chapter 1 Java Programming Review. Introduction Java is platform-independent, meaning that you can write a program once and run it anywhere. Java programs.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
Chapter 1: Introduction to Computers and Programming.
Mesh Refinement: Aiding Research in Synthetic Jet Actuation By: Brian Cowley.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
LINGO TUTORIAL.
Visual Basic .NET BASICS
Microsoft Visual Basic 2005 BASICS
Programming In Any Language With “Hello, World!” Examples
Introduction to MATLAB
ENGG 1801 Engineering Computing
Use of Mathematics using Technology (Maltlab)
Exploring the Basics of Windows XP
Algorithm Efficiency Chapter 10.
GENERAL VIEW OF KRATOS MULTIPHYSICS
Excel Solver IE 469 Fall 2018.
BUS-221 Quantitative Methods
Presentation transcript:

Engineering Optimization Most engineering design involves using optimization software Minimizes or maximizes a merit function Applies functional constraints Applies regional constraints

You Must… Select or define –the Merit Function (MF) –the Analysis Variables (AV) –and their sub-set of Design Variables (DV) –the Analysis Functions (AF) Define the constraints –Functional –Regional

Software Tools At least 4 software tools to solve optimization problems of different scope: –COSMOS finite element stress & thermal –ANSYS finite element multi-physics –OPTDESX user defined –TK Solver user defined

Problem Scopes Large FE system with a limited number of pre-defined MF, AV, DV, AF. MF is a user defined equation. Very general ability defined by application dependent subroutines in f90 or C.

OptdesX The X-Windows interface to the Optdes (Optimum design) system. Requires 3 user-written, compiled, and linked subroutines (for AV, AF, MF). Optionally, user can supply operating system commands to use a big “black box” code to form the MF. You supply consistent units.

OptdesX Interface Allows interactive selection (mapping) of the DV from the AV. Allows interactive definition of the problem constraints. Allows interactive definition of multiple Merit Functions (MFs). Graphical displays of design history, etc.

OptdesX Algorithms Includes multiple algorithms for –Continuous optimization (smoothly changing variables) –Discontinuous optimization (tabular non- smooth items like pipe sizes or standard structural shapes)

3 OptdesX Subroutines ANAPRE (ANAlysis PRE-processor) is called only once. Open files, etc. ANAFUN (ANAlysis FUNctions) is called every iteration to define MF, etc. ANAPOS (ANAlysis POSt-processor) is called only if the user hits the post- process button.

Subroutine ANAPRE (model_name) Provides one time calculations, if any, before optimization. Can also be used to open files needed in ANAPOS or to initialize ANAPRE. Often it simply sets the model_Name (of 17 characters, max).

Subroutine ANAFUN, 1 Provides double precision analysis function calculations of the trial vector Three major segments: –a) gets the scalar Analysis Variable (AV) values from the X-Window subprogram AVDSCA –b) you must use those AV names to compute needed constants and the Analysis Functions (AF) values –c) returns the scalar Analysis Function (AF) values to the X-Window subprogram AFDSCA

Subroutine ANAFUN, 2 Step b) above could call any other analysis program, such as an FE code. Optdes provides a operating system level interface to aid with the calls Optdes can run in background These options are difficult to implement

X-Window Interfaces Two arguments to AVDSCA –local variable name used in ANAFUN –name (and units) used in the X-Window display, limited to 15 characters. Two arguments to AVFSCA –local variable name you created for the analysis function in step b.), –name (and units) used in the X-Window display, limited to 15 characters.

Subroutine ANAPOS Provides optional calculations, if any, after optimization Can be invoked by pushing the "Post process" button in the Design Variable Window Usually, if this function actually does any calculations they are written to a I/O unit you opened in ANAPRE

ANAPRE, ANAFUN, ANAPOS Fortran 90 source examples are on class web page, with compile, link, and run info. C and f77 source examples are in online manual.

ANAPRE, ANAFUN, ANAPOS Most common errors: –Integer division instead of double precision, 1 / 2 = 0, not 0.5d0 as do 1.d0 / 2 or 1 / 2.d0 –Inconsistent engineering units in input and analysis functions –Omitting units in X-Window displays

OptdesX Documentation PDF Manual is on class web site Continuous optimization tutorial on p. 30 Discrete optimization tutorial on p. 80 Algorithm theories on p. 175 Contents on p. 4, Index on p. 230 Example source files are on class web site