21
Overview of the Higher-Order Design Environment (HOrDE) Erik D. Olson Aeronautics Systems Analysis Branch NASA-Langley Research Center Sept. 17, 2019

Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Overview of the Higher-Order Design

Environment (HOrDE)

Erik D. Olson

Aeronautics Systems Analysis Branch

NASA-Langley Research Center

Sept. 17, 2019

Page 2: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 1

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Introduction

Vision: Enabling higher-order analysis of conceptual-level, conventional

and unconventional aircraft concepts through design refinement.

• Motivation

– Low-order analysis limits ability to accurately model unconventional

configurations

– Meaningful high-order analysis is limited to fully-developed designs

– Lacking a capability for creating “higher order geometry” to complement

higher order analysis

• General Approach

– Leverage existing MDAO frameworks (OpenMDAO, ModelCenter)

– Exploit Vehicle Sketch Pad (OpenVSP) as a common geometry interface

– Develop “higher-order geometry” through automation and intelligent

streamlining in a multi-fidelity design process

– Build new design tools that integrate existing analysis methods tailored to

early design stages

Page 3: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 2

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

HOrDE Software Organization

• Data types (scalars, arrays, files, enumerations)

• Generic wrapper functionality (input variables, command execution,

output file parsing)

• Automated data storage/retrieval and multi-fidelity mapping

• Units library

• Initial Transonic Wing Design

• High-Lift Systems Design

• Low-Order Aero-Structural Analysis

Phoenix wrapper interface

• Initial Transonic Wing Design

• High-Lift Systems Design

• Low-Order Aero-Structural Analysis

Python bindings (py4j)

Python / OpenMDAOModelCenter

HOrDELib API

HOrDELib

Classes

Wrappers for

Analysis Methods

Integrated

Design

Processes

OpenVSP, AVL, DATCOM, XFoil,

MSES, ASWing, etc.

Page 4: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 3

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

HOrDELib Features

Page 5: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 4

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Degenerate Geometry

Surface Plate

Stick

Point

Page 6: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 5

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Geometry Representation

Vehicle

SurfaceGeometryComponentGeometryComponentGeometryComponent

SurfaceSurfaceSurfaceControlGroupControlGroupControlGroup

PropulsionGroupPropulsionGroupPropulsionGroup

QuadMesh TriMeshControlSurfaceControlSurfaceControlSurface

PropulsorPropulsorPropulsorDegenGeom

DegenSurface

DegenPlate

DegenStick

DegenPoint

BlankBlankBlankSubSurfaceSubSurfaceSubSurface

Page 7: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 6

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Multi-disciplinary, Multi-fidelity Mapping Process

Wrapper

API

DegenGeom

objects

Existing results

get variables

Stick

Analysis

User optionsFlight conditions

disaggregate

SurfacePlate

Results

put variables

interpolate aggregate

Point

Page 8: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 7

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Other Features

• Data Catalog

– Hierarchical library of data keys (ex: Aero_2D.Drag_Polar.cd)

– Compile-time data key lookup

– Compile-time check on unit compatibility

• Units Framework

– Implementation of Units of Measurement API v2.0

– Units conversion

– Convert units derived through combination of base units (e.g. Newton)

– Wrappers accept inputs for length, mass, temperature, etc. units and

maintain unit consistency of calculations throughout

– Analysis data can be stored in one unit and retrieved in a different one.

Page 9: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 8

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Wrapper Interfaces

Page 10: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 9

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Python Bindings

• HOrDEGateway

– Dynamically access Java classes from Python using Py4j

– Starts a Gateway Server prior to running Python scripts

• HOrDEWrapper

– Lightweight Python-side interface to an individual Java wrapper

– Get and set variable and array values as Python variables and lists

– Run the Java wrapper

• HOrDEModel

– Build a process model using one or more instances of HOrDEWrapper

– Link inputs and outputs between wrappers

– Scripted logic, iteration, intermediate calculations

– Can be set up to work with OpenMDAO

• HOrDEServer

– Initiated by the HOrDEModel at runtime

– Provides interface between the HOrDEModel and the HOrDEGateway

Page 11: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 10

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Local and Remote Computing in Python

Local Machine

Model

Wrapper

Server

HOrDELib

Java Wrapper

Py4j Gateway

Remote MachinePyro

Wrapper Server

HOrDELib

Java Wrapper

Py4j Gateway

Page 12: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 11

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

ModelCenter Interface

• Lightweight client-side wrapper files provide access to the Java wrapper

• ScriptWrapper Interface

– Wrapper object passed to interface

– Input and output variable values replicated using native classes on the

server side

• Support for dynamic output variables

ScriptWrapperInterface

ModelCenter Java Virtual Machine

• inputs

• run()

• outputs

Wrapper object

• inputs

• run()

• outputs

HOrDE Wrapper

Wrapper File

• inputs

• run()

• outputs

Wrapper object

Page 13: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 12

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Process Models

Page 14: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 13

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Library of Wrapped Codes

• Geometry Definition

– OpenVSP

• Aerodynamic Analysis and Design

– FRICTION – Zero-lift drag estimation

– AVL – Vortex-lattice aerodynamic analysis

– XFOIL – Two-dimensional panel code with coupled boundary layer

– MSES – Two-dimensional Euler CFD with coupled boundary layer

• Aerostructural Analysis

– ASWing –lifting-line aerodynamics and equivalent-beam structures

Page 15: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 14

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Utility Methods

• VSP2Geom – Create native geometry objects from OpenVSP export

files

• DATCOM Airfoil – Empirical estimation of section lift and drag

• Empirical High-Lift Performance – Empirical estimation of high-lift

system lift, drag, and moment

• Target Spanwise Lift Distribution – Generate target lift distributions for

twist optimization

• Sonic-Plateau Pressure Distribution – Define target airfoil pressure-

distribution for inverse design

• BSpline Airfoil – Fit fourth-order B-spline to smooth airfoil surface

• Kulfan Airfoils – Fit airfoils using Class-Shape Transformation

• Tecplot Data File Generation – Automatically generate Tecplot files from

DegenGeom objects

Page 16: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 15

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Process Models Library

Initial Transonic Wing Design Low-Order AeroStructural Analysis

High-Lift Geometry Definition Low-Order High-Lift Analysis

Page 17: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 16

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Documentation & Release

Page 18: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 17

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Documentation & Release Status

• Documentation

– Java API documented using Javadoc

– Python bindings documented using Sphinx

– HOrDELib User’s Guide

– HOrDE Process Models Guide

• Release Status

– Version 1.0 available from the NASA Software Catalog

(https://software.nasa.gov/software/LAR-19572-1)

– Approved for U.S. and foreign release

Page 19: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 18

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Related Publications

• Olson and Henricks: Parametric Analysis of Aircraft Wing Weight Using

Low-Order Physics-Based Analysis, AIAA 2018-4143.

• Olson: Multi-Disciplinary, Multi-Fidelity Discrete Data Transfer Using

Degenerate Geometry Forms, AIAA 2016-3208.

• Olson and Albertson: Aircraft High-Lift Aerodynamic Analysis Using a

Surface-Vorticity Solver, AIAA 2016-0779.

• Olson: Three-Dimensional Modeling of Aircraft High-Lift Components

with Vehicle Sketch Pad, AIAA 2016-1274.

• Olson: Three-Dimensional Piecewise-Continuous Class-Shape

Transformation of Wings, AIAA 2015-3238.

• Olson: Semi-Empirical Prediction of Aircraft Low-Speed Aerodynamic

Characteristics, AIAA 2015-1679.

Page 20: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,

Transformational Tools and Technologies Project [email protected] 19

Introduction

HOrDELib Features

Wrapper Interfaces

Process Models

Documentation &

Release

Acknowledgements

• This work was conducted as part of the NASA Transformational Tools

and Technologies Project, led by Dr. Michael Rogers, within the Multi-

Disciplinary Design, Analysis and Optimization element, led by Patricia

Glaab.

Page 21: Overview of the Higher-Order Design Environment (HOrDE)openvsp.org/wiki/lib/exe/...workshop_190917_horde.pdf · 9/17/2019  · HOrDE Software Organization • Data types (scalars,