joanibal / pyAVL

python wrapper of AVL's fortran layer made using f2py
8 stars 4 forks source link

run_opt example #21

Closed joyo44 closed 9 months ago

joyo44 commented 9 months ago

Hello @joanibal ,

I'm trying to run the run_opt example without success - CL and CM constraints are not matched.

I have installed openmdao 3.30.0 and pyoptsparse 2.20.2 on Ubuntu 20.04.

Find attached my example folder with additional outputs/reports.

OpenMdao is new to me, so I have no clue what's going wrong and it would be very nice if you can give some help.

Thanks in advance.

John

Opti.zip

joanibal commented 9 months ago

Hey John,

I'm at Scitech this week so I just recently saw this. Did you end up finding a solution to your problem? I suspect that the optimization example in the repo needs to be updated to use the newer pyavl openMDAO wrapper.

Best, Josh

joanibal commented 9 months ago

Pull request #22 should fix your issue. Checkout the updated example optimization run script.