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.
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.