Skip to content

Commit e8426a7

Browse files
committed
Clean up the aircraft specs files and add readme
1 parent 619aad1 commit e8426a7

File tree

4 files changed

+32
-7
lines changed

4 files changed

+32
-7
lines changed

AircraftSpecs/FlightPoint.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def __init__(self, name: str, loadFactor: float, fuelFraction: float, failureGro
1414
Flight point load factor (how many G's the aircraft is pulling)
1515
fuelFraction : float
1616
What fraction of the total fuel mass is the aircraft carrying at this flight point
17-
failureGroups : _type_
18-
_description_
17+
failureGroups : list of strings
18+
Names of wingbox component groups for which to compute a failure constraint value at this flight point
1919
"""
2020
super().__init__(name=name, **kwargs)
2121

AircraftSpecs/Boeing717FlightPoints.py AircraftSpecs/MACHTutorialWingFlightPoints.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""
22
==============================================================================
3-
Definition of Boeing 717 flight points
3+
Definition of MACH Tutorial wing flight points
44
==============================================================================
5-
@File : Boeing717FlightPoints.py
5+
@File : MACHTutorialWingFlightPoints.py
66
@Date : 2023/10/05
77
@Author : Alasdair Christison Gray
88
@Description :

AircraftSpecs/Boeing717Specs.py AircraftSpecs/MACHTutorialWingSpecs.py

+22-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
1+
"""
2+
==============================================================================
3+
MACH Tutorial wing aircraft and mission specifications
4+
==============================================================================
5+
@File : MACHTutorialWingSpecs.py
6+
@Date : 2023/10/05
7+
@Author : Alasdair Christison Gray
8+
@Description :
9+
"""
10+
11+
# ==============================================================================
12+
# Standard Python modules
13+
# ==============================================================================
114
import sys
215
import os
3-
import numpy as np
416

17+
# ==============================================================================
18+
# External Python modules
19+
# ==============================================================================
20+
import numpy as np
521
import openmdao.api as om
622
from openconcept.aerodynamics import ParasiteDragCoefficient_JetTransport
723

8-
from Boeing717FlightPoints import standardCruise
24+
# ==============================================================================
25+
# Extension modules
26+
# ==============================================================================
27+
from MACHTutorialWingFlightPoints import standardCruise
928

1029
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../geometry"))
1130
from wingGeometry import wingGeometry # noqa: E402
@@ -47,7 +66,7 @@
4766
MAX_WING_LOADING = 650.0 # kg/m^2 Max allowable wing loading
4867

4968
# ==============================================================================
50-
# Drag estimate
69+
# Airframe drag estimate
5170
# ==============================================================================
5271
fuselageLaminarFrac = 0.05 # Raymer table 12.4
5372
tailLaminarFrac = 0.1 # Raymer table 12.4

AircraftSpecs/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Structural files
2+
3+
## File descriptions:
4+
5+
- **`MACHTutorialWingSpecs.py`:** Python file containing various aircraft and mission specifications, designed to be imported and used in other scripts, particularly the `aircraftSpecs` dictionary.
6+
- **`MACHTutorialWingFlightPoints.py`:** Python file defining the flight point objects for each of the flight points used in the MACH Tutorial Wing benchmark problems.

0 commit comments

Comments
 (0)