Multibody Free Software for Teaching Purposes

13
Multibody Free Software for Teaching Purposes Giuseppe Quaranta, Marco Morandini and Pierangelo Masarati Dipartimento di Ingegneria Aerospaziale Multibody Dynamics 2005, June 21- 24 Madrid, Spain

Transcript of Multibody Free Software for Teaching Purposes

Page 1: Multibody Free Software for Teaching Purposes

Multibody Free Software for Teaching PurposesGiuseppe Quaranta, Marco Morandini and Pierangelo Masarat i

Dipart imento di Ingegneria Aerospaziale

Multibody Dynamics 2005, June 21- 24 Madrid, Spain

Page 2: Multibody Free Software for Teaching Purposes

2

Multibody Dynamics 2005

Outlook

➢ Introduction & Motivat ions➢ Status & requirements of MBD Teaching

➢A special case MBD for aerospace engineering f ield➢ Teaching through software development & applicat ion➢ A case study: MBDyn a DIAPM software

➢Mult idisciplinary approach➢Open Source software➢ Object Oriented programming

➢ Experience gained ➢ Conclusions & future developments

Page 3: Multibody Free Software for Teaching Purposes

3

Multibody Dynamics 2005

Introduction & Motivations

➢ Strong nonlinearit ies lead toward an higher degree of complex ity of classical linear FEM models

➢ Users must possess strong foundations in➢ MATHEMATICS ➢ NUMERICS ➢ PHYSICS

Applicat ion of lessons learned on realist ic models is a must to reach a deep understanding

MBD

NL Finite Elements

Computat ional

Mathematics

System Dynamics

ClassicalMechanics

Page 4: Multibody Free Software for Teaching Purposes

4

Multibody Dynamics 2005

Introduction & Motivations (Cont.)➢ Simple adoption of commercial, “black box” codes, may

not help students to understand main crit ical points➢ It is unrealist ic to expect student to write even a trivial

MBD software from scratch➢ A good compromise is represented by the adoption of

MBDyn an Open Source analysis software for➢ new physical problems➢ new mathematical formats➢ new numerical recipes ➢ more ....

➢ Students may focus on realist ic problems with a signif icant scient if ic contents, and at the same t ime:➢ do not “reinvent the wheel” every t ime➢ learn from predecessors ➢ acquire a global vision of the interconnect ions

Page 5: Multibody Free Software for Teaching Purposes

5

Multibody Dynamics 2005

MBD Teaching: Status and Requirements

➢ Students have to deal with an high level of complex ity ➢ A “proper” MBD user must possess the capability to

dist inguish when an analysis failure is due to:➢ improper modelling of physical phenomena➢ inaccuracies of input data➢ numerical failures➢wrong dynamic formulat ion➢ physical pathological behaviours

➢ The main university commitment must be to transfer to future engineers awareness of possible pit fall more than practice in the usage of a specif ic commercial GUI

➢ Simple and accessible GUI, at f irst stages of learning, may give the misleading impression of utmost simplicity

Page 6: Multibody Free Software for Teaching Purposes

6

Multibody Dynamics 2005

MBD for Aerospace Engineers

➢ Typical applicat ion of MBD to aerospace engineering are naturally mult idisciplinary➢ helicopters and t ilt rotors➢ landing gear systems➢ ....

➢ f luid dynamics forces, hydraulic components, controls and so on

➢ Users need to develop/ use non standard modules

➢ numerical modelling knowledge to create interacting mult idisciplinary elements is needed

Page 7: Multibody Free Software for Teaching Purposes

7

Multibody Dynamics 2005

MBDyn a multibody code

➢ Open Source MBD project developed at DIAPM➢ Mult idisciplinary

➢mechanical elements➢ kinematically perfect constraints➢ deformable nonlinear elements➢ electric, hydraulic, aerodynamic & control elements

➢ Interconnected to other software for concurrent simulat ions➢MATLAB/ Simulink (Scilab/ Scicos)➢Aerodynamic codes for Fluid- Structure Interact ions

➢ Real- Time capabilit ies when connected with RTAI (Real Time Applicat ion Interface) Linux OS

MBDynMBDyn

Page 8: Multibody Free Software for Teaching Purposes

8

Multibody Dynamics 2005

MBDyn: Open Source

If the source code of a software package is available to experienced and motivated users, those who really need a feature, will succeed in modifying the code, making their improvements available to the whole community. ➢ Successful stories

Linux OS

➢ ... and for scientif ic software

Page 9: Multibody Free Software for Teaching Purposes

9

Multibody Dynamics 2005

MBDyn: Open Source (Cont.)

How openness helps teaching/ learning MBD?Free access to the whole software source code gives the

opportunity to➢ learn about the structure and the key parts of a MBD

code ➢ learn from solut ions implemented by predecessors➢ experiment and compare new elements, new

formulat ions, and so on without start ing every t ime from scratch

➢work on realist ic (complex) test cases and not on simple examples

➢ interact with a community of users/ developers

Page 10: Multibody Free Software for Teaching Purposes

10

Multibody Dynamics 2005

MBDyn: Object Oriented Programming

➢ The object oriented structure, based on the adoption of C+ + , is one of the main strength of MBDyn for teaching purposes

➢ It allows to ident ify easily the principal operat ions which must be executed during every mult ibody simulat ion: modularity and standardization are exploited

Page 11: Multibody Free Software for Teaching Purposes

11

Multibody Dynamics 2005

MBDyn: OO Programming (Cont.)

Principal advantages of OO programming➢ definit ion of object with a common external interface

which hides the technical details of the real implementat ion➢ in this way it is possible to interact with all the

modules without knowing the internals➢ Operator overloading capability

➢ possibility to def ine a new object with the same external interface but with a completely dif ferent technical implementat ion

Page 12: Multibody Free Software for Teaching Purposes

12

Multibody Dynamics 2005

Experience gained

➢ The possibility to learn with the hands direct ly on the core of a MBD tool is a prof icient method to transfer knowledge

➢ A lot of interest ing features have been developed with the help of, or under the pressure of student projects➢ electro- elast ic behaviour of piezo- electric embedded

elements➢ parallel algorithms➢ a library of hydraulic components➢ f lex ible slider joint➢ Fluid- Structure interaction simulat ions with MBD codes

and CFD codes➢ extraction of stability information using POD➢ and many more...

Page 13: Multibody Free Software for Teaching Purposes

13

Multibody Dynamics 2005

Conclusions

➢ The experience gained by the MBDyn developing team in teaching MBD using code programming, developing and employment has been presented

➢ Specif ic aerospace applicat ions often require the capability to interact with commercial codes to develop specif ic new features

➢ the experience up to now is very posit ive and increases the self- conf idence of new MBD software users

➢ We think the experience can be spread to others, either by the adoption of MBDyn by more students for development and test ing of new ideas or techniques, or by start ing a new common Open Source product to be adopted for this purpose by the mult ibody research community