TotallyPlaneCrazy
Aerospace
- Jul 2, 2025
- 1
Greetings, all
I am trying to code a Python script to find the largest and lightest possible I-beam to fit inside an airfoil, given a minimum Ixx requirement.
My method currently involves trying to fit the largest possible rectangle with all 4 vertices close to the airfoil coordinates within a tolerance, such that A(rectangle)/A(airfoil section) is maximum, A(rectangle)/Ixx(rectangle) is a minimum. So far I have generated some feasible options, but recently Python just complains that no valid solution is possible, despite CAD and my calculations proving the possibility
How would you approach this problem?
I am trying to code a Python script to find the largest and lightest possible I-beam to fit inside an airfoil, given a minimum Ixx requirement.
My method currently involves trying to fit the largest possible rectangle with all 4 vertices close to the airfoil coordinates within a tolerance, such that A(rectangle)/A(airfoil section) is maximum, A(rectangle)/Ixx(rectangle) is a minimum. So far I have generated some feasible options, but recently Python just complains that no valid solution is possible, despite CAD and my calculations proving the possibility
How would you approach this problem?