research

Objektno orijentirani pristup metodi konačnih elemenata

Abstract

Metoda konačnih elemenata je jedna od važnijih numeričkih metoda za rješavanje problema u inženjerstvu poput strukturne analize objekata. Korisnost metode može sve vidjeti po količini alata koji su razvijeni za nju te po tome što je standard u industrijama poput zrakoplovne i automobilske. Cilj ovog diplomskog rada bio je predstaviti OOFEM (Object Oriented Finite Element Method), jedan takav alat i strukturu njegovog otvorenog koda tako da se budući korisnici mogu lakše snaći u njegovom korištenju, a posebice ako im se ukaže potreba za nadogradnjom i implementacijom novih funkcionalnosti. U opisu OOFEM-a poseban naglasak stavljen je na strukturnu analizu te konačne elemente i materijale potrebne koje strukturna analiza zahtjeva poput greda i šipki u dvodimenzionalnom sustavu analize. Središnji dio rada je opis korištenja OOFEM-a putem njegovog sučelja za korištenje iz programskog jezika Python. Osim generalnih informacija što se sve i kako može koristiti putem Pythona, priloženo je i nekoliko primjera te je čak i ukratko opisan postupak kako je izrađeno sučelje iz C++-a tako da se može koristiti u Pythonu. Motivacija iza toga je ta što nisu sve značajke izložene putem Python sučelja, te se ukratko pokazuje kako bi se mogle izložiti nove funkcionalnosti u slučaju potrebe.The finite element method is one of the most important numerical methods for solving engineering problems such as structural analysis of objects. The usefulness of the method can be seen by the amount of tools developed for it and by the fact that it became standard in industries such as aviation and automotive. The aim of this thesis was to present OOFEM (Object Oriented Finite Element Method), enabling future users to use it more easily, especially if they need to upgrade existing or implement new functionalities. In the description of OOFEM, a special emphasis was placed on the structural analysis method and finite elements and materials needed for it as beams and trusses in two-dimensional analysis. The central part of the thesis describes the use of OOFEM through its interface for use in the Python programming language. In addition to general information about what and how to use it through Python, a few examples are included, and a brief description of how a C++ interface is made so that it can be used in Python. The motivation behind it is that not all features are exposed through Python interface, so there is brief introduction how new functionalities could be exposed if necessary

    Similar works