turbo-sim / turboflow

Meanline model for performance prediction and preliminary design of turbomachinery
MIT License
11 stars 1 forks source link

Component-oriented formulation #15

Open RoberAgro opened 6 days ago

RoberAgro commented 6 days ago

Refactor code structure (specially axial turbine model) to organize the code around components.

The advantages of this approach is that it will be easier to identify the residual equations and design variables of each component and give them meaninful names. Then they can be combined together in a single dictionary and given tot he solvers.

The other advantage is that it will be very easy and flexible to define different turbomachinery topologies by adding/removing components to the configuration file.

It will also be possible to plot each component in the radial-meridional plane.