Closed btracey closed 6 years ago
I updated the code to throw an AnalysisError when this is detected. This way, if the coupled system doesn't converge, your optimizer or code can handle that error however you choose.
Also, I suggest using the latest version of OpenMDAO1 from https://github.com/openmdao/openmdao1 The latest version has Aitken relaxation, which sometimes helps converge troublesome coupled systems. OpenAeroStruct automatically uses Aitken relaxation if it's available.
Cloning from master branch, and adding the following conditions (before the call to
OAS_prob.run()
:Crashes with