Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pjuangph committed Sep 20, 2024
1 parent 272a59c commit 1843cde
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 332 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyturbo-aero"
version = "1.0.13"
version = "1.0.14"
description = "PyTurbo_Aero is a Turbomachinery blade design library that lets you create a full 3D blades and passages."
authors = ["Paht Juangphanich <paht.juangphanich@nasa.gov>"]
packages = [
Expand Down
4 changes: 2 additions & 2 deletions pyturbo/aero/airfoil2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import matplotlib.pyplot as plt
import copy

class airfoil2D():
class Airfoil2D():
"""Design a 2D Airfoil using bezier curves
"""
'''Initial values'''
Expand All @@ -28,7 +28,7 @@ class airfoil2D():
psBezierX:List[float]
psBezierY:List[float]

def __init__(self,alpha1,alpha2,axial_chord,stagger):
def __init__(self,alpha1:float,alpha2:float,axial_chord:float,stagger:float):
"""Constructor for Airfoil2D
Args:
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/aero/airfoil3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class stack_type(enum.Enum):



class airfoil3D():
class Airfoil3D():
'''
Properties
'''
Expand Down
466 changes: 249 additions & 217 deletions tutorials/2D_DesignTutorial.ipynb

Large diffs are not rendered by default.

312 changes: 201 additions & 111 deletions tutorials/3D_DesignTutorial.ipynb

Large diffs are not rendered by default.

0 comments on commit 1843cde

Please sign in to comment.