an interactive object-oriented tool for structural

0 downloads 0 Views 242KB Size Report
Key Words: Optimization, sensitivity analysis, object-oriented programming, C++, ... well as traditional procedural languages, the careless application of OOP features can compromise ... functional definition can bring productivity to structural design. .... βj's behave as a fourth coordinate in addition to the physical coordinates.
COMPUTATIONAL MECHANICS New Trends and Applications S. Idelsohn, E. O˜ nate and E. Dvorkin (Eds.) c

CIMNE, Barcelona, Spain 1998

AN INTERACTIVE OBJECT-ORIENTED TOOL FOR STRUCTURAL OPTIMIZATION Cl´ audio A. de Carvalho Silva and Marco L. Bittencourt Universidade Estadual de Campinas

Faculdade de Engenharia Mecˆanica, Departamento de Projeto Mecˆanico P.O. Box 6051, Zip Code 13083-970, Campinas/SP, Brazil e-mail:[email protected] e-mail:[email protected] Key Words: Optimization, sensitivity analysis, object-oriented programming, C++, finite elements, Nurbs. Abstract. An interactive shape and parameter optimization tool was developed using continuum sensitivity analysis, mathematical programming and elastic structural analysis. Global efficiency of an optimization tool not only depends on the kind of algorithms used but also on the effectiveness of the data exchange among its several modules during the iterative process. Object-oriented programming features were applied in the development of an structural optimization enviroment aiming for efficiency. The evaluation of performance functionals and sensitivity analysis procedures were implemented in a class having the finite element model of the system to be optimized as a variable. Hence, the characteristics of the finite element model, its methods of solution and results are stored in memory, allowing them to be accessed without data file sharing costs. All these numerical tools were integrated by means of a NURBS-based graphical interface.

1

Cl´audio A. de Carvalho Silva and Marco L. Bittencourt

1

INTRODUCTION

In spite of object-oriented programming (OOP) framework being well suited to deal with large software, there still are few implementations of this methodology in engineering. To some extent, it is due to the loss of efficiency the first object-oriented languages brought to implementations. Even using the present languages such as C++, which perform as well as traditional procedural languages, the careless application of OOP features can compromise the numerical efficiency of the code when compared to traditional practices. The aim of this work is to present the concepts used and the results obtained in the development of an structural optimization tool, which applies OOP features to reach high global efficiency while keeping the benefits of this programming technique. An interior point mathematical programming algorithm1–3 was considered. The finite element method is used for structural analysis and gradients of performance functionals gradients are computed by continuum-based design sensitivity analysis.4 The design geometry is described by NURBS (Non Uniform Ration B-Splines) curves due to their flexibility and simplicity on the description of boundaries.5, 6 The computational requirements of an efficient structural optimization enviroment are identified from the mathematical formulation of the optimization problem. One of the characteristics of this problem is the necessity of dealing with complex data structures used for finite element analysis and geometry description. In this way, improvements on the global efficiency can be reach with clever access, management and sharing of data among components of the environment. As OOP features very good characteristics of data modelling, it can be used to obtain better reliability and efficiency. In addition, combining a NURBS-based interface, interactive finite element, parametrization and performance functional definition can bring productivity to structural design. 2 2.1

MATHEMATICAL FORMULATION OF STRUCTURAL OPTIMIZATION Structural optimization model

In applications, an optimization code works together with an analysis program. In structural engineering field, the most widely used technique is, undoubtedly, the finite element method, because of its accuracy and versatility. Therefore, it is worthwhile to examine the characteristics of an optimization problem whose analysis stage is done by finite elements. Consider the following model of structural optimizatiom problem,8 min f (p, u (p)) sujeita a` gi (p, u (p)) ≤ 0 hj (p, u (p)) = 0

i = 1, 2, . . . , m j = 1, 2, . . . , p

(1)

f , gi e hj are the structural performance functionals of the problem: f is the objective 2

Cl´audio A. de Carvalho Silva and Marco L. Bittencourt

function; gi e hj are the constraints. The vector of nodal displacements u ∈

Suggest Documents