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
Bugfix (non-breaking change which fixes an issue)
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.
[x] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
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 everyxfoilAnalysis
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.