-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3782ba
commit ebe1119
Showing
15 changed files
with
97 additions
and
50 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
@@ -89,8 +93,8 @@ def engine(M, t, p): | |
|
||
panes([thrust, eff], | ||
h, | ||
x_labels=['T [kN]', '$\eta_T$'], | ||
y_label='h [km]', | ||
labels_x=['T [kN]', '$\eta_T$'], | ||
label_y='h [km]', | ||
colors=[cmap(Mi) for Mi in M], | ||
line_width=2, | ||
top=0.95, | ||
|
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[3])) | ||
|
||
""" | ||
Huracan | ||
------- | ||
|
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
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
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
mpl-plotter>=4.0.2 | ||
numpy>=1.21.2 | ||
Python-Alexandria>=2.0.0 | ||
numpy | ||
mpl-plotter>=55.5.0 |
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
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 |
---|---|---|
@@ -1,15 +1,22 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
# Path | ||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[1])) | ||
|
||
# General imports | ||
import unittest | ||
|
||
# Huracan | ||
from huracan.thermo.fluids import gas, fuel | ||
|
||
mf = 700 | ||
m = 0.6 | ||
t = 288 | ||
p = 101325 | ||
fr = 0 | ||
fr = 0.1 | ||
|
||
g = gas(mf = mf, | ||
cp = lambda T: 1150 if T > 600 else 1000, | ||
|
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 |
---|---|---|
@@ -1,8 +1,15 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
# Path | ||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[1])) | ||
|
||
# General imports | ||
import unittest | ||
|
||
# Huracan | ||
from huracan.components import inlet, compressor, turbine, nozzle | ||
from huracan.thermo.fluids import gas | ||
|
||
|
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 |
---|---|---|
@@ -1,8 +1,15 @@ | ||
# SPDX-FileCopyrightText: © 2021 Antonio López Rivera <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
# Path | ||
import sys | ||
from pathlib import Path | ||
sys.path.append(str(Path(__file__).parents[1])) | ||
|
||
# General imports | ||
import unittest | ||
|
||
# Huracan | ||
from huracan.utils import setattr_namespace | ||
|
||
|
||
|
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