-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds NACA-RM-A50K27 wind tunnel data to study, for comparison
- Loading branch information
1 parent
d17797f
commit 0ad9da1
Showing
4 changed files
with
1,405 additions
and
123 deletions.
There are no files selected for viewing
1,511 changes: 1,388 additions & 123 deletions
1,511
...01 - AeroSandbox 3D Aerodynamics Tools/01 - Comparison and Validation - Flying Wing.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+11.4 KB
tutorial/06 - Aerodynamics/01 - AeroSandbox 3D Aerodynamics Tools/assets/NACA-RM-A50K27.xlsx
Binary file not shown.
Empty file.
17 changes: 17 additions & 0 deletions
17
tutorial/06 - Aerodynamics/01 - AeroSandbox 3D Aerodynamics Tools/assets/load_naca_data.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import pandas as pd | ||
from pathlib import Path | ||
|
||
file = Path(__file__).parent / "NACA-RM-A50K27.xlsx" | ||
|
||
CL = pd.read_excel(file, sheet_name="CL") | ||
CD = pd.read_excel(file, sheet_name="CD") | ||
Cm = pd.read_excel(file, sheet_name="CM") | ||
|
||
from scipy import interpolate | ||
CL_to_alpha= interpolate.interp1d( | ||
CL["CL"], | ||
CL["alpha"], | ||
fill_value="extrapolate" | ||
) | ||
|
||
Cm['alpha'] = CL_to_alpha(Cm['CL']) |