mdolab / OpenAeroStruct

OpenAeroStruct is a lightweight tool that performs aerostructural optimization using OpenMDAO.
Apache License 2.0
193 stars 118 forks source link

Error in SplineComp #313

Closed l-brevault closed 4 years ago

l-brevault commented 4 years ago

Hi,

Since OpenAeroStruct v2.2.0 I have the following error appearing running either the exemples or the test functions (for instance test_aerostruct_analysis.py) and I am not sure how to correct it:

ValueError: SplineComp (wing.geometry.t_over_c_bsp): Error interpolating output 't_over_c': Number of samples, -1, must be non-negative.

Can you provide me any inshight ? Thank you.

johnjasa commented 4 years ago

Hi there, since v2.2.0, OpenAeroStruct requires OpenMDAO v3.1.0+. Try updating your OpenMDAO installation to v3.1.0 using pip install openmdao==3.1.0 or by pulling the latest changes from their GItHub.