v1.01.348 ZZZZ348 — Coupling Code-Aster commands and the Python time-integration solver used in the LEGOS tool#
Summary:
In the context of the development of the tool for calculating rotating machines in code LEGOS, which uses a solver written in C++ and has a API python, the possibility of coupling via the aster command file is simpler and no longer requires the complicated passage through YACS.
Thus, this possibility of coupling aster commands and the integration over time solver in Python used in code LEGOS is demonstrated through a simple mechanical calculation of a tree line subjected to a harmonic loading.
This test case is divided into two parts:
Aster commands in order to build the modal base and the matrices of mass, damping, gyroscopy and stiffness of the studied shaft line;
Python solver to achieve the integration of the dynamic system over time, which makes it possible to couple the dynamics of the shaft line with the lubrication code of code LEGOS.
The result of this test case is compared with the reference calculation of the old procedure for calculating rotating machines using the operator DYNA_VIBRA. It is therefore a non-regression test case. The comparison shows excellent consistency between the two results.