Skip to content

Commit 98d72a9

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents feddd35 + 1ab44d7 commit 98d72a9

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ For more details, see the [changelog](./CHANGELOG.md).
268268

269269
### Citation & Commercial Use
270270

271-
If you find AeroSandbox useful in a research publication, please cite one of the following publications:
271+
If you find AeroSandbox useful in a research publication, please cite the following publications:
272272

273273
[The author's PhD thesis](./tutorial/sharpe-pds-phd-AeroAstro-2024-thesis.pdf):
274274

@@ -303,3 +303,7 @@ If you use AeroSandbox, attribution is appreciated.
303303
## Stargazers over time
304304

305305
[![Stargazers over time](https://starchart.cc/peterdsharpe/AeroSandbox.svg)](https://starchart.cc/peterdsharpe/AeroSandbox)
306+
307+
## Supported by
308+
309+
<a href="https://jb.gg/OpenSourceSupport"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg" alt="JetBrains logo."></a>

aerosandbox/aerodynamics/aero_3D/avl.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
from aerosandbox.common import ExplicitAnalysis
2-
import aerosandbox.numpy as np
31
import subprocess
4-
from pathlib import Path
5-
from aerosandbox.geometry import Airplane, Wing, WingXSec, Fuselage, ControlSurface
6-
from aerosandbox.performance import OperatingPoint
7-
from typing import Union, List, Dict
82
import tempfile
93
import warnings
4+
from pathlib import Path
5+
from typing import Dict, List, Union
6+
7+
import aerosandbox.numpy as np
8+
from aerosandbox.common import ExplicitAnalysis
9+
from aerosandbox.geometry import Airplane, ControlSurface, Fuselage, Wing, WingXSec
10+
from aerosandbox.performance import OperatingPoint
1011

1112

1213
class AVL(ExplicitAnalysis):
@@ -341,7 +342,6 @@ def run(
341342
return res
342343

343344
def _default_keystroke_file_contents(self) -> List[str]:
344-
345345
run_file_contents = []
346346

347347
# Disable graphics
@@ -441,7 +441,6 @@ def clean(s):
441441
airfoil_counter = 0
442442

443443
for wing in airplane.wings:
444-
445444
wing_options = self.get_options(wing)
446445

447446
spacing_line = f"{wing_options['chordwise_resolution']} {self.AVL_spacing_parameters[wing_options['chordwise_spacing']]}"
@@ -533,7 +532,6 @@ def clean(s):
533532

534533
### Write the commands for each wing section
535534
for i, xsec in enumerate(wing.xsecs):
536-
537535
xsec_options = self.get_options(xsec)
538536

539537
xsec_def_line = f"{xsec.xyz_le[0]:.8g} {xsec.xyz_le[1]:.8g} {xsec.xyz_le[2]:.8g} {xsec.chord:.8g} {xsec.twist:.8g}"
@@ -743,7 +741,6 @@ def parse_unformatted_data_output(
743741
index = s.find(data_identifier)
744742

745743
while index != -1: # While there are still data identifiers:
746-
747744
key = "" # start with a blank key, which we will build up as we read
748745

749746
i = index - 1 # Starting from the left of the identifier
@@ -804,10 +801,8 @@ def parse_unformatted_data_output(
804801

805802

806803
if __name__ == "__main__":
807-
808804
### Import Vanilla Airplane
809805
import aerosandbox as asb
810-
811806
from aerosandbox.aerodynamics.aero_3D.test_aero_3D.geometries.vanilla import (
812807
airplane as vanilla,
813808
)

0 commit comments

Comments
 (0)