OpenMDAO / Aviary

NASA's aircraft analysis, design, and optimization tool
https://openmdao.github.io/Aviary/
Other
106 stars 51 forks source link

Reading GASP engine data with 3 Mach numbers #345

Open xjjiang opened 1 week ago

xjjiang commented 1 week ago

Desired capability or behavior.

If you run aviary convert_engine -f GASP CFM_56_7B27.eng, you will get RuntimeWarning: divide by zero encountered. This is because this GASP engine file has the following table:

3 11 0.0 0.0000 0.2000 0.3500 3.0000 119.3320 14.3682 -95.7382 4.0000 5986.5659 4426.9868 4101.6514 ...

Aviary uses 3d-lagrange3 interpolation which requires at least four points.

We can either automatically switch to linear interpolation or have a pre-process to CFM_56_7B27.eng by adding another point (say Mach 0.5) to it along with each T4/T2 value.

BTW the format for the data is F10.4 to read off the values. a lot of the more recent engine decks use data to one decimal point for the data. Really does not make a lot of sense to know the values of the thrust to the fourth decimal point.

Is your feature request related to a problem? Please describe.

No response

Associated Bug Report

No response