Skip to content

Commit

Permalink
update license
Browse files Browse the repository at this point in the history
update HISTORY
  • Loading branch information
adriendelsalle committed Feb 21, 2023
1 parent 81ede7b commit 6bbeda3
Show file tree
Hide file tree
Showing 89 changed files with 198 additions and 40 deletions.
6 changes: 3 additions & 3 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# History

## 0.2.0 (2023-02-20)
## 0.2.0 (2023-02-21)

### Features

- Add new system `Atmosphere` and `TurbofanWithAtm` to ease computing of ambient conditions (from altitude, Mach and delta tamb)
- Use `pythermo` for gas modeling

### Code quality & packaging
### API

- Add `Compressor` to public API of the `systems.compressor` and `systems` modules
- Fix demo turbofan notebook to set design target before adding targets to the non-linear solver

### Bug fix

- Fix `TurbineAero` exit total pressure computation from polytropic efficiency
- Fix some descriptions, especially related to gas models
- Fix incorrectly automatic pulling of `fan_duct_core_cowl_slope` in `Turbofan`
- Fix demo turbofan notebook to set design targets before adding targets to the non-linear solver

## 0.1.0 (2022-10-18)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2022, twiinIT
Copyright (c) 2022-2023, twiinIT
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause
2 changes: 1 addition & 1 deletion pyturbo/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

__version__ = "0.2.0"
2 changes: 1 addition & 1 deletion pyturbo/mft/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause
2 changes: 1 addition & 1 deletion pyturbo/mft/compressor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/ports/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.ports.fluidport import FluidPort
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/ports/fluidport.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause
from math import sqrt

Expand Down
2 changes: 1 addition & 1 deletion pyturbo/ports/keypoints.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/ports/shaftport.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.ports import Port
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.atmosphere import Atmosphere
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/atmosphere/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from .atmosphere import Atmosphere

__all__ = ["Atmosphere"]
3 changes: 3 additions & 0 deletions pyturbo/systems/atmosphere/atmosphere.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import ambiance
from cosapp.systems import System

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/channel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.channel.channel_aero import ChannelAero
from pyturbo.systems.channel.channel_geom import ChannelGeom

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/channel/channel.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.systems.channel import ChannelAero, ChannelGeom
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/channel/channel_aero.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.ports import FluidPort
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/channel/channel_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np

from pyturbo.systems.generic.generic_simple_geom import GenericSimpleGeom
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/combustor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.combustor.combustor_aero import CombustorAero
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/combustor/combustor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.systems.combustor.combustor_aero import CombustorAero
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/combustor/combustor_aero.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.ports import FluidPort
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/compressor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.compressor.compressor import HPC, Booster, Compressor, CompressorAero, Fan
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/compressor/compressor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System

Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/compressor/compressor_aero.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from math import sqrt
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/compressor/compressor_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np

from pyturbo.systems.generic.generic_simple_geom import GenericSimpleGeom
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/compressor/compressor_mft_aero.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/duct/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.duct.fan_duct import FanDuct

__all__ = ["FanDuct"]
3 changes: 1 addition & 2 deletions pyturbo/systems/duct/fan_duct.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause


from cosapp.base import System

from pyturbo.systems.channel import ChannelAero
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/duct/fan_duct_geom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/fan_module/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.fan_module.fan_module_geom import FanModuleGeom

from pyturbo.systems.fan_module.fan_module import FanModule # isort: skip
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/fan_module/fan_module.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/fan_module/fan_module_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/fan_module/spinner.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System
from pyoccad.create import CreateAxis, CreateBezier, CreateRevolution, CreateTopology
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/gas_generator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.gas_generator.gas_generator_geom import GasGeneratorGeom
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/gas_generator/gas_generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/gas_generator/gas_generator_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System

Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/generic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.generic.cowl import Cowl
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/generic/cowl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from typing import Dict
Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/generic/generic_simple_geom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/inlet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.inlet.inlet_aero import InletAero
from pyturbo.systems.inlet.inlet_geom import InletGeom

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/inlet/inlet.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.systems.inlet.inlet_aero import InletAero
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/inlet/inlet_aero.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.ports import FluidPort
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/inlet/inlet_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System
from pyoccad.create import CreateAxis, CreateBezier, CreateRevolution, CreateWire
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/mixers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.mixers.mixer_fluid import MixerFluid
from pyturbo.systems.mixers.mixer_shaft import MixerShaft

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/mixers/mixer_fluid.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/mixers/mixer_shaft.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nacelle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.nacelle.nacelle_geom import NacelleGeom
from pyturbo.systems.nacelle.plug_geom import PlugGeom

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nacelle/nacelle.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.systems.nacelle.nacelle_geom import NacelleGeom
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nacelle/nacelle_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System
from OCC.Core.Geom import Geom_RectangularTrimmedSurface
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nacelle/plug.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.systems.nacelle.plug_geom import PlugGeom
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nacelle/plug_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np
from cosapp.systems import System
from pyoccad.create import CreateAxis, CreateBezier, CreateEdge, CreateRevolution
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nozzle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.nozzle.nozzle_aero import NozzleAero
from pyturbo.systems.nozzle.nozzle_geom import NozzleGeom

Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nozzle/nozzle.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from typing import Dict

from cosapp.systems import System
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nozzle/nozzle_aero.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.ports import FluidPort
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/nozzle/nozzle_geom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np

from pyturbo.systems.generic.generic_simple_geom import GenericSimpleGeom
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/structures/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from pyturbo.systems.structures.core_cowl import CoreCowl
from pyturbo.systems.structures.intermediate_casing import IntermediateCasing

Expand Down
2 changes: 1 addition & 1 deletion pyturbo/systems/structures/core_cowl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022, twiinIT
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from typing import Dict
Expand Down
3 changes: 3 additions & 0 deletions pyturbo/systems/structures/intermediate_casing.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2022-2023, twiinIT
# SPDX-License-Identifier: BSD-3-Clause

from cosapp.systems import System

from pyturbo.systems.channel import ChannelAero
Expand Down
Loading

0 comments on commit 6bbeda3

Please sign in to comment.