mdolab / CMPLXFOIL

GNU General Public License v2.0
29 stars 20 forks source link

Allow multiple `xfoilAnalysis` instances #11

Closed eytanadler closed 2 years ago

eytanadler commented 2 years ago

Purpose

Previously, all instances of xfoilAnalysis would use the same XFOIL global variables. This caused conflicts if the two instances had different flight conditions, airfoil shapes, etc. This update changes pyXLIGHT to use the same method as ADflow to make a separate copy of XFOIL for every xfoilAnalysis class instance.

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR

Testing

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

bernardopacini commented 2 years ago

Gah, I had comments for this...