Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kccwing authored Oct 18, 2023
2 parents f4b5472 + 8843c0d commit a326940
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3531965.svg)](https://doi.org/10.5281/zenodo.3531965)

SHARPy is a nonlinear aeroelastic analysis package originally developed at the Department of Aeronautics, Imperial
College London. It can be used for the structural, aerodynamic and aeroelastic analysis of flexible wings, aircraft and wind turbines.
College London. It can be used for the structural, aerodynamic and aeroelastic analysis of flexible wings, aircraft and wind turbines. It is shared here under a BSD 3-Clause permissive license.

![XHALE](./docs/source/_static/XHALE-render.jpg)

Expand Down
2 changes: 1 addition & 1 deletion docs/source/content/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ or running any SHARPy cases.
```

4. Create the conda environment that SHARPy will use. Change `environment_new.yml` to read `environment_macos.yml`
if you are installing SHARPy on Mac OS X.
if you are installing SHARPy on Mac OS (Intel), or `environment_macos_arm64.yml` if installing on Mac OS (Apple Silicon).
```bash
cd sharpy/utils
conda env create -f environment_new.yml
Expand Down
2 changes: 1 addition & 1 deletion sharpy/utils/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ def assembly_aerodynamics(self, *args):
if self.m_distribution.lower() == 'user_defined':
self.user_defined_m_distribution = self.user_defined_m_distribution + aerodynamics_to_add.user_defined_m_distribution
if self.polars is not None:
self.polars = self.polars + aerodynamics_to_add.polars
self.polars = np.array([self.polars, aerodynamics_to_add.polars])
total_num_airfoils += len(aerodynamics_to_add.airfoils[:, 0, 0])
# total_num_surfaces += len(aerodynamics_to_add.surface_m)
total_num_surfaces += np.sum(aerodynamics_to_add.surface_m != -1)
Expand Down

0 comments on commit a326940

Please sign in to comment.