Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to main for version 2.0.1 release #236

Merged
merged 296 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
296 commits
Select commit Hold shift + click to select a range
a7ba6ac
improve readability
ArturoMS13 Apr 3, 2021
616ba3b
fix hinge in constant vel (WIP)
ArturoMS13 Apr 3, 2021
75d8e3e
wip review line 967
ArturoMS13 Apr 5, 2021
25e0b41
Merge remote-tracking branch 'origin/develop' into dev_blade_pitch_v2
ArturoMS13 Apr 5, 2021
866f273
raise NotImplementedError for penalty method
ArturoMS13 Apr 5, 2021
37d5414
Include NotImplementedError and warnings
ArturoMS13 Apr 5, 2021
c1bad64
stride savedata and pickledata
ArturoMS13 Apr 5, 2021
1ae4482
include cd multiplier
ArturoMS13 Apr 6, 2021
2d843e9
Merge branch 'dev_external_forces' into dev_blade_pitch_v2
ArturoMS13 Apr 6, 2021
186bd68
remove commented lines
ArturoMS13 Apr 6, 2021
a2fad7f
include missing line from merge
ArturoMS13 Apr 6, 2021
7747c86
rm penalty test
ArturoMS13 Apr 6, 2021
a8d7e87
fix interpolation
ArturoMS13 Apr 7, 2021
6b00260
Merge branch 'dev_external_forces' into dev_blade_pitch_v2
ArturoMS13 Apr 7, 2021
e5dc0a8
include forces option and fix quat
ArturoMS13 Apr 8, 2021
4fbcd0a
clean up
ArturoMS13 Apr 9, 2021
9901725
fix syntax wave forces
ArturoMS13 Apr 12, 2021
f92f408
move convergence together
ArturoMS13 Apr 12, 2021
63e7b4f
Test skip step multibody
ArturoMS13 Apr 12, 2021
719f8f3
fix node ordering mb
ArturoMS13 Apr 13, 2021
a39d805
do not compute psi_dot_local
ArturoMS13 Apr 15, 2021
c4768d9
fix k=0 dynamiccoupled
ArturoMS13 Apr 15, 2021
fd87f1c
multibody for single body
ArturoMS13 Apr 16, 2021
f1b3de7
include force coeff in other forces
ArturoMS13 Apr 19, 2021
062d589
move k
ArturoMS13 Apr 19, 2021
6290cac
generalised alpha in setting options
ArturoMS13 Apr 19, 2021
675e2cc
fix bug missing -
ArturoMS13 Apr 20, 2021
69e5b64
option concentrate spar
ArturoMS13 Apr 20, 2021
bc790d9
include NodesOverhang
ArturoMS13 Apr 20, 2021
6b5131e
fix drag force
ArturoMS13 Apr 20, 2021
a9c2dd8
Merge remote-tracking branch 'origin/dev_blade_pitch_v2' into dev_bla…
ArturoMS13 Apr 20, 2021
52b9297
change computation of drag in concentrate_spar
ArturoMS13 Apr 21, 2021
68a6c10
fix computation platform properties
ArturoMS13 Apr 21, 2021
d8b610d
remove force_coeff from some forces
ArturoMS13 Apr 21, 2021
0833080
write drag and minor fixes
ArturoMS13 Apr 21, 2021
817723a
add controllers and generators to default values
ArturoMS13 Apr 22, 2021
f3451ae
fix variable all dicts
ArturoMS13 Apr 22, 2021
0483477
fix yaw inertia computation
ArturoMS13 Apr 22, 2021
36e2b97
additional damping
ArturoMS13 Apr 24, 2021
5a98f26
shape check initial aeroelastic loader
ArturoMS13 Apr 25, 2021
060704a
comment out zero initialisation mb
ArturoMS13 Apr 25, 2021
89ccc4c
fix node CD concentrate spar
ArturoMS13 Apr 28, 2021
25bdb06
zero init and rigid bodies
ArturoMS13 Apr 28, 2021
dbb6420
include option no overhang beam
ArturoMS13 Apr 28, 2021
c2783ba
update fully constrained WIP
ArturoMS13 Apr 29, 2021
761b03e
rename function
ArturoMS13 Apr 29, 2021
ad306b9
fix hub nodes
ArturoMS13 Apr 30, 2021
e8f529f
change convergence mb
ArturoMS13 Apr 30, 2021
5f4f8d3
lumped mass mat in split mb
ArturoMS13 Apr 30, 2021
743ad80
equal rot vel node FoR
ArturoMS13 Apr 30, 2021
a49d925
simplify multibody functions
ArturoMS13 May 3, 2021
1405be9
minor bugs
ArturoMS13 May 3, 2021
1d13753
fix bug several masses same node
ArturoMS13 May 4, 2021
2e41702
fix split ini info
ArturoMS13 May 5, 2021
59a0633
runtime steady and unsteady forces
ArturoMS13 May 5, 2021
2264c10
fix bug in quat2euler
ArturoMS13 May 10, 2021
bf41ff3
fix readh5 in restart cases
ArturoMS13 May 13, 2021
5c4f7b3
fix bug syntax, constant added mass and no gravity
ArturoMS13 May 13, 2021
e6cab3d
fix read h5
ArturoMS13 May 16, 2021
122e4dc
comment test added mass
ArturoMS13 May 16, 2021
519c9dc
new sine velocity lagrangeconstraint
ArturoMS13 May 16, 2021
25d04e4
missing self
ArturoMS13 May 16, 2021
93d0908
rigid mb convergence in dc
ArturoMS13 May 16, 2021
2bc42c9
Merge develop into dev_blade_pitch_v2
ArturoMS13 May 27, 2021
05602d1
update UVLM
ArturoMS13 May 27, 2021
f1c80df
update wind turbine jupyter
ArturoMS13 May 27, 2021
bf5d29f
fix vtu extension in files with .
ArturoMS13 May 28, 2021
f0a63fb
Merge remote-tracking branch 'origin/dev_remove_istates' into dev_bla…
ArturoMS13 May 28, 2021
632fef9
remove folder setting
ArturoMS13 May 28, 2021
784c49a
remove write screen
ArturoMS13 May 28, 2021
9f81d69
update savedata from dev_remove_istates
ArturoMS13 May 28, 2021
6df789a
nodal_b_for_2_a_for
ArturoMS13 May 28, 2021
32bdacd
Merge remote-tracking branch 'origin/develop' into dev_blade_pitch_v2
ArturoMS13 Jun 2, 2021
e7675bf
fix aeroforces ts
ArturoMS13 Jun 2, 2021
42cc2a0
remove unsteady setting aeroforcescalculator
ArturoMS13 Jun 2, 2021
a219efb
restoring forces to steady
ArturoMS13 Jun 4, 2021
5c1a2b1
Merge branch 'dev_blade_pitch_v2' of https://github.com/ImperialColle…
ArturoMS13 Jun 4, 2021
96812b4
update blade pitch control
ArturoMS13 Jun 8, 2021
fa14f1a
fix pitch LC
ArturoMS13 Jun 10, 2021
8d49b64
fix log file SHARPy
ArturoMS13 Jun 10, 2021
81bf12b
improvements blade pitch WIP
ArturoMS13 Jun 13, 2021
3e45944
generator power and torque models
ArturoMS13 Jun 14, 2021
52ae4aa
compute blade pitch and use gen vel
ArturoMS13 Jun 16, 2021
5d774f4
comment out pitch rate = 0
ArturoMS13 Jun 16, 2021
0532d43
save solvers in pickledata and restart
ArturoMS13 Jun 17, 2021
ab6e031
avoid doubling added mass on restart
ArturoMS13 Jun 18, 2021
73daefc
fix nonmatching nodes lagrange constraints
ArturoMS13 Jun 24, 2021
7fe4e1d
kwargs for solvers and solvers variable in sharpy_main
ArturoMS13 Jun 24, 2021
06caa55
add restart variable
ArturoMS13 Jun 25, 2021
f4f3733
save more data to plot in test
ArturoMS13 Jul 8, 2021
d48bc5f
initial pitch and fix restart bugs
ArturoMS13 Jul 9, 2021
8aa8871
include space delay to waves
ArturoMS13 Jul 10, 2021
233eb24
append controller output
ArturoMS13 Jul 12, 2021
9b47688
fix radians initial pitch
ArturoMS13 Jul 13, 2021
d80d961
fix drag force
ArturoMS13 Jul 14, 2021
0c42f21
new controllers folder
ArturoMS13 Jul 15, 2021
e6154e2
import os controllers
ArturoMS13 Jul 20, 2021
8bc147a
fix bugs controller
ArturoMS13 Jul 21, 2021
f664a1a
option map forces in staticuvlm
ArturoMS13 Jul 22, 2021
81e4e7f
option to apply sweep before twist
ArturoMS13 Jul 22, 2021
8b54e62
option to generate aero in initialaeroelasticloader
ArturoMS13 Aug 19, 2021
7163110
rotor velocity wrt zb
ArturoMS13 Aug 20, 2021
a86bd67
fix bugs and min/max pitch
ArturoMS13 Aug 20, 2021
6ad563e
change default max pitch
ArturoMS13 Aug 24, 2021
25de167
rel vel in B FoR
ArturoMS13 Aug 26, 2021
b326603
change gen speed filter
ArturoMS13 Aug 26, 2021
8cd2f77
add uns forces staticcoupled
ArturoMS13 Sep 3, 2021
f2cc5ca
include rotation velocity in polaraeroforces
ArturoMS13 Oct 13, 2021
c498c67
update master xbeam
ArturoMS13 Oct 16, 2021
6ab161c
Merge branch 'develop' into dev_blade_pitch_v2
ArturoMS13 Oct 16, 2021
d9cf5e2
include missing packages after merge
ArturoMS13 Oct 16, 2021
3bfffe7
new floating test case and example
ArturoMS13 Oct 21, 2021
c6cb53d
cleanup code
ArturoMS13 Nov 22, 2021
f5b8aa4
backwards compatible restart
ArturoMS13 Dec 22, 2021
c3e492d
Merge branch 'dev_backwards_restart' into dev_blade_pitch_v2
ArturoMS13 Dec 22, 2021
826e25b
add updatepickle
ArturoMS13 Dec 23, 2021
fb324aa
oc3 floating file
ArturoMS13 Feb 8, 2022
41ded38
Merge branch 'master' into dev_blade_pitch_v2
ngoiz Jul 5, 2022
f3d8d74
Fix setting utils name
ngoiz Jul 5, 2022
2c05323
New date to refer to v2.0 installation updates
rafapalacios Jul 7, 2022
1c3536b
fix: horseshoe wake handling in UVLM
sduess Jul 14, 2022
a010078
Merge pull request #204 from ImperialCollegeLondon/fix_horseshoe
rafapalacios Jul 14, 2022
7965574
fix: typo in setting name
sduess Jul 24, 2022
47a7c7f
Update __init__.py
kccwing Sep 7, 2022
fa8b301
fix [airfoilpolars]: remove rows with nAns from polar inputfile
sduess Sep 12, 2022
6d8880a
refactor [airfoilpolars]: faster interpolation with scipy interp1d
sduess Sep 12, 2022
d2a7ad5
add[wake discretization]: allow individuell input for each surface
sduess Sep 16, 2022
0886188
add[wake disccretization]: allow several input for mstar
sduess Sep 16, 2022
2d51aeb
fix: use correct parameter names
sduess Sep 16, 2022
625f69d
add documentation for new function
sduess Sep 16, 2022
a9b9403
refactor[settings]: get default as function to reuse
sduess Sep 16, 2022
1f967fa
add [polaraeroforces]: skip surface and specified AoA for CL0 setting
sduess Sep 16, 2022
f722830
fix: minor typo in doc
sduess Sep 16, 2022
51eca66
add [settings]: raise exception if wrong data types if several options
sduess Sep 16, 2022
393e494
fix [polaraeroforces]: typo parameter name
sduess Sep 16, 2022
812e802
fix [polar]: errors in code to compute aoa cl0 if not specified
sduess Sep 16, 2022
fd5124a
add input setting to specify gust component(s)
sduess Sep 28, 2022
07ffa66
refactor time varying gust types
sduess Sep 28, 2022
c1f1a53
fix [wake discretisation]: handle -1. inputs for multiple input options
sduess Oct 4, 2022
3e9b37a
add [polar] option to export induced aoa to txt file
sduess Oct 4, 2022
9d6c2c5
fix [polars] get correct induced coefficient for shared nodes
sduess Oct 5, 2022
5fc22ef
fix [polars] correct wingtip nodes and refactor surface area correction
sduess Oct 5, 2022
04882bb
refactor [polars] induced aoa export
sduess Oct 5, 2022
e43803c
remove [polars] unused parameter
sduess Oct 5, 2022
59bc054
fix [polars] raise warning instead of error in case aoa out of bounds
sduess Oct 5, 2022
ec44d9f
add [statictrim] multiple tail cs index inputs possible
sduess Oct 10, 2022
9cc5646
fix [polars] get folder to write aoa induced as output
sduess Oct 11, 2022
a3c4155
Merge branch 'develop' into fix_settings
kccwing Oct 19, 2022
7acde0f
Merge pull request #206 from ImperialCollegeLondon/fix_settings
kccwing Oct 19, 2022
e28d2b9
Merge remote-tracking branch 'origin/gust_input_improvements' into dy…
sduess Oct 20, 2022
42c8541
fix [gust] child class time varying
sduess Oct 20, 2022
2ebda4c
fix [polars] set or get flag for specific node
sduess Oct 20, 2022
819ee11
fix [polars] remove wingtip panels from area correction
sduess Oct 20, 2022
700a032
refactor [aerogrid] multiple mstar handling
sduess Oct 20, 2022
c737736
add [unittest] test for checking list input for multiple type options
sduess Oct 20, 2022
900cc24
Update Dockerfile to use pip install for sharpy
ngoiz Oct 20, 2022
75b20c0
Create docker_build.yaml
ngoiz Oct 20, 2022
a42f8f1
Update Dockerfile for CentOS 8 and pip
ngoiz Oct 21, 2022
3397e9d
Add submodule update
ngoiz Oct 21, 2022
731e76f
Update docker build branches and bashrc
ngoiz Oct 21, 2022
e102e57
Update Docker installation instructions
ngoiz Oct 21, 2022
162daad
Add latest publications
ngoiz Oct 21, 2022
d1df2a7
Update link
ngoiz Oct 21, 2022
337b25d
Change version handling to run version query
ngoiz Oct 21, 2022
af2c50c
Add missing import statement
ngoiz Oct 21, 2022
a981f7d
Merge remote-tracking branch 'origin/master' into dev_docker
ngoiz Oct 21, 2022
fe7f881
Update workflow conditions and add docker test
ngoiz Oct 22, 2022
3eb8597
Add missing steps
ngoiz Oct 22, 2022
1f84b15
Add missing run command
ngoiz Oct 22, 2022
da0fee6
Add missing hyphen
ngoiz Oct 22, 2022
09e8cb0
Build image directly
ngoiz Oct 22, 2022
6176371
Update build command
ngoiz Oct 22, 2022
3d47388
Update path
ngoiz Oct 22, 2022
1833e2d
Do not push image
ngoiz Oct 22, 2022
b7ec3af
Add workflow readme
ngoiz Oct 22, 2022
4bd8538
Update test names
ngoiz Oct 22, 2022
5f2b3f3
Minor changes
ngoiz Oct 23, 2022
6e9133a
Fix directory where version is stored
ngoiz Oct 23, 2022
14e33f1
Add missing closing bracket
ngoiz Oct 23, 2022
380294a
Update installation.md
rafapalacios Oct 25, 2022
09ba5c4
Update installation.md
rafapalacios Oct 25, 2022
d898c36
fix [structural solvers] add absolute tolerance as an input option
sduess Oct 26, 2022
f778c06
Merge pull request #221 from ImperialCollegeLondon/dev_fix_convergenc…
kccwing Oct 27, 2022
8d74260
new environment file
ACea15 Oct 31, 2022
8a1b877
small modifications to fix tests
ACea15 Oct 31, 2022
e2a1e27
add cmake in case it is not installed in MacOS
ACea15 Nov 1, 2022
da44a0c
fixed SyntaxWarning for is / is not with literals
kccwing Nov 1, 2022
881990d
fixed DeprecationWarning for deprecated namespaces
kccwing Nov 1, 2022
9e67fef
Merge branch 'develop' into dev_blade_pitch_v2
ACea15 Nov 4, 2022
737846b
fix [polars]: remove warnings in polar interpolation
sduess Nov 7, 2022
fcd30c7
fix [polars] adjust input to polar correction in all coupled solvers
sduess Nov 7, 2022
c75c9b4
fix [gust] typo in function name
sduess Nov 7, 2022
e3d0b82
remove [polars] unused imported library
sduess Nov 7, 2022
c80dd14
reduce error in test_statespace from 1e-14 to 1e-12
Nov 9, 2022
2edc1fc
Merge pull request #176 from ImperialCollegeLondon/dev_blade_pitch_v2
ACea15 Nov 9, 2022
4d92d12
updating github testing workflow to use 3.10
kccwing Nov 9, 2022
f8d1262
Update sharpy_tests.yaml
kccwing Nov 9, 2022
b1ca2ab
Merge branch 'develop' into dynamic_polar_and_wake_discretisation
sduess Nov 9, 2022
ccb208f
refactor [lin_aeroelastic]: remove prints and unnecessary code
sduess Nov 9, 2022
a102012
refactor [nl_dynamic_mb_solver]: remove prints and unnecessary parame…
sduess Nov 9, 2022
09daa14
remove [solver] staticcoupledrbm
sduess Nov 9, 2022
a0440c1
fixing function importing from current namespaces
kccwing Nov 9, 2022
c242d02
Merge branch 'dev_env' of http://github.com/ImperialCollegeLondon/sha…
kccwing Nov 9, 2022
2675fe4
refactor [utils] function to get aero solver settings
sduess Nov 9, 2022
6b83da1
import function fix
kccwing Nov 9, 2022
3690c7e
fix [utils] get aero solver settings from correct key
sduess Nov 9, 2022
d4db1d9
hot fix for lack of 3.10 support in miniconda
kccwing Nov 9, 2022
307c120
Update sharpy_tests.yaml
kccwing Nov 9, 2022
a411c6b
Update sharpy_tests.yaml
kccwing Nov 9, 2022
a01cf3e
Update sharpy_tests.yaml
kccwing Nov 9, 2022
ad8fcbe
Update sharpy_tests.yaml
kccwing Nov 9, 2022
6a490ce
Update sharpy_tests.yaml
kccwing Nov 9, 2022
8de97af
Update sharpy_tests.yaml
kccwing Nov 9, 2022
bc2fba0
Update sharpy_tests.yaml
kccwing Nov 9, 2022
cc441f0
Update .codecov.yml
kccwing Nov 9, 2022
f7727e1
check codecov
kccwing Nov 9, 2022
78c727b
Merge branch 'dev_env' of http://github.com/ImperialCollegeLondon/sha…
kccwing Nov 9, 2022
f1aa684
fixing codecov CI integration
kccwing Nov 9, 2022
9f9b9a5
check codecov.yml
kccwing Nov 9, 2022
77a71a2
rename su to settings_utils
sduess Nov 9, 2022
6b93e45
Update sharpy_tests.yaml
kccwing Nov 9, 2022
0143684
update codecov for json
kccwing Nov 10, 2022
2dffe17
Merge branch 'dev_env' of http://github.com/ImperialCollegeLondon/sha…
kccwing Nov 10, 2022
d102d1e
fix paths to not load symbolic links and consistency with sharpydir
ACea15 Nov 3, 2022
39c233c
remove unnecessary exception handling
ACea15 Nov 3, 2022
f97f28c
remove unused function in the code
ACea15 Nov 3, 2022
bfcac0e
prevent autosaved files in solvers, etc. from being loaded
ACea15 Nov 3, 2022
ef973b1
Merge pull request #223 from ACea15/dev_internals
kccwing Nov 11, 2022
f359043
Merge branch 'develop' into dev_env
ACea15 Nov 13, 2022
3e5efc7
Merge pull request #222 from ImperialCollegeLondon/dev_env
ACea15 Nov 13, 2022
4f824a4
Merge branch 'develop' into dynamic_polar_and_wake_discretisation
ACea15 Nov 14, 2022
13d0882
Merge pull request #217 from ImperialCollegeLondon/dynamic_polar_and_…
ACea15 Nov 14, 2022
6eea679
Merge branch 'develop' into dev_docker
ngoiz Nov 15, 2022
c534fa4
A bit of clean-up of the readme file of the repo
rafapalacios Apr 29, 2023
16bfa31
fix [readme] typo in link
sduess May 1, 2023
d0d2c51
Readme clean-up
sduess May 1, 2023
501dfd9
Updates to Goland wing example
rafapalacios May 15, 2023
a5a0207
Update installation.md
rafapalacios May 19, 2023
3f367b1
Update installation.md
rafapalacios May 19, 2023
50db414
Update installation docs with python 3.10
rafapalacios May 19, 2023
1c197ea
Update installation.md
rafapalacios May 19, 2023
e0bbfcf
Merge branch 'develop' into rafapalacios-patch-2
sduess May 20, 2023
d5858d4
Merge pull request #234 from ImperialCollegeLondon/rafapalacios-patch-2
sduess May 20, 2023
10fd2fe
Changing revision date to solve merge conflict
kccwing May 31, 2023
55d0286
Merge branch 'develop' into dev_docker
kccwing May 31, 2023
7aa139b
Merge pull request #218 from ImperialCollegeLondon/dev_docker
kccwing May 31, 2023
1e9ec66
updating version number for new release
kccwing May 31, 2023
75eb7b7
Update changelog 2.0.1
kccwing May 31, 2023
e0d6431
2023!
kccwing May 31, 2023
c34fcae
Merge branch 'main' into develop
kccwing May 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ignore:
- "*/tests/*
- '*/tests/*'
45 changes: 45 additions & 0 deletions .github/workflows/docker_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Create and publish Docker image

on:
push:
branches:
- develop
- master
tags:
- 'v*'

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
49 changes: 49 additions & 0 deletions .github/workflows/docker_build_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test Docker image build

on:
pull_request:
branches:
- master
- develop
- 'rc*'
push:
paths:
- 'utils/*'
- 'Dockerfile'
- '.github/workflows/docker*'

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
test_image_build:
runs-on: ubuntu-latest
name: Test Docker image build
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build Docker image
uses: docker/[email protected]
with:
context: .
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
23 changes: 23 additions & 0 deletions .github/workflows/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SHARPy GitHub Workflows

There are 4 automated workflows for SHARPy's CI/CD.

## SHARPy Tests

The related to the SHARPy tests that run the `SHARPy Tests` job are:

* `sharpy_tests.yaml`: when Python or the submodules files are edited
* `sharpy_no_test_needed.yaml`: otherwise

This avoids running the full set of tests for changes in the documentation etc.
Since the merge to `develop` and `master` is protected by the tests passing, the
second workflow ensures a positive result for those PRs that did not change the
Python code, hence allowing the merge.

## Docker

Two nearly identical workflows, the only difference is that one pushes the Docker
image to the SHARPy packages. Therefore:

* `docker_build.yaml`: Builds the Docker image but does not push. Runs on changes to the `docker*` workflows, changes to the `utils/` directory (environments) and changes to the `Dockerfile`. Required test for PRs to merge to `develop` and `master`.
* `docker_build.yaml`: Builds and pushes the Docker image. Runs on pushes to `develop`, `master` and annotated tags.
2 changes: 1 addition & 1 deletion .github/workflows/sharpy_no_test_needed.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python package
name: SHARPy Tests

on:
pull_request:
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/sharpy_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Python package
name: SHARPy Tests

on:
push:
paths:
- '*.py'
- 'lib/*'
- '.github/workflows/*'
- '.github/workflows/sharpy*'
pull_request:
branches:
- master
Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
python-version: [3.10.8]

steps:
- uses: actions/checkout@v2
Expand All @@ -34,24 +34,26 @@ jobs:
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
python-version: 3.7
python-version: 3.9
- name: Pre-Install dependencies
run: |
gfortran --version
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
# wget https://repo.anaconda.com/archive/Anaconda3-2022.10-Linux-x86_64.sh -O miniconda.sh;
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
hash -r
conda config --set always_yes yes --set changeps1 no
# conda config --append channels conda-forge
conda update --name base conda
conda list --name base conda
conda init bash
hash -r
export QT_QPA_PLATFORM='offscreen'
sudo apt install libeigen3-dev
conda env create -f utils/environment_minimal.yml
conda env create -f utils/environment_new.yml
conda init bash
source activate sharpy_minimal
source activate sharpy
git submodule init
git submodule update
git fetch --tags -f
Expand All @@ -60,7 +62,8 @@ jobs:
pip install .
pip install coverage
coverage run -m unittest discover
coverage json
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
verbose: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,7 @@ figs/*

# sharpy extension
*.sharpy

# Exceptions
# !tests/coupled/multibody/floating_wind_turbine/oc3_cs_v07.floating.h5
!tests/coupled/multibody/floating_wind_turbine/oc3_cs_v07.floating.h*
2 changes: 1 addition & 1 deletion .version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "release version",
"message": "2.0",
"message": "2.0.1",
"color": "green"
}
84 changes: 84 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [2.0.1](https://github.com/imperialcollegelondon/sharpy/tree/2.0.1) (2023-05-31)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/2.0...2.0.1)

**Closed issues:**

- Twist direction inconsistent [\#212](https://github.com/ImperialCollegeLondon/sharpy/issues/212)

## [2.0](https://github.com/imperialcollegelondon/sharpy/tree/2.0) (2022-07-04)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/1.3...2.0)
Expand Down Expand Up @@ -102,11 +110,16 @@
- Simple post-processor to save simulation parameters for batch runs [\#91](https://github.com/ImperialCollegeLondon/sharpy/pull/91) ([ngoiz](https://github.com/ngoiz))
- SHARPy support for external inputs via UDP network [\#90](https://github.com/ImperialCollegeLondon/sharpy/pull/90) ([ngoiz](https://github.com/ngoiz))
- Vortex radius as input parameter [\#86](https://github.com/ImperialCollegeLondon/sharpy/pull/86) ([ArturoMS13](https://github.com/ArturoMS13))
- Enhanced Frequency Response post-processor and linear system input/output options [\#83](https://github.com/ImperialCollegeLondon/sharpy/pull/83) ([ngoiz](https://github.com/ngoiz))
- Pazi wing added to flying\_wing template [\#82](https://github.com/ImperialCollegeLondon/sharpy/pull/82) ([outoforderdev](https://github.com/outoforderdev))
- Several new aerodynamic enhancements [\#79](https://github.com/ImperialCollegeLondon/sharpy/pull/79) ([ArturoMS13](https://github.com/ArturoMS13))

**Fixed bugs:**

- libss.py disc2cont doesn't accept SISO systems [\#88](https://github.com/ImperialCollegeLondon/sharpy/issues/88)
- Dimension mismatch when assembling linear UVLM with "shortened" wake [\#71](https://github.com/ImperialCollegeLondon/sharpy/issues/71)
- Fix bug wake shape generator StaticCoupled [\#85](https://github.com/ImperialCollegeLondon/sharpy/pull/85) ([ArturoMS13](https://github.com/ArturoMS13))
- Rework of direct balancing [\#74](https://github.com/ImperialCollegeLondon/sharpy/pull/74) ([outoforderdev](https://github.com/outoforderdev))

**Closed issues:**

Expand All @@ -130,6 +143,9 @@
- New SHARPy examples in the documentation [\#94](https://github.com/ImperialCollegeLondon/sharpy/pull/94) ([ArturoMS13](https://github.com/ArturoMS13))
- Add support for offline use of UDPout postproc [\#93](https://github.com/ImperialCollegeLondon/sharpy/pull/93) ([ngoiz](https://github.com/ngoiz))
- Option to transform rigid modes given at A FoR to centre of gravity and aligned with principal axes of inertia [\#92](https://github.com/ImperialCollegeLondon/sharpy/pull/92) ([ngoiz](https://github.com/ngoiz))
- Pazy wing modified to include the tip weight [\#87](https://github.com/ImperialCollegeLondon/sharpy/pull/87) ([outoforderdev](https://github.com/outoforderdev))
- Minor output clean up [\#81](https://github.com/ImperialCollegeLondon/sharpy/pull/81) ([ngoiz](https://github.com/ngoiz))
- Fixes assembly of linUVLM after plotting wake with minus m\_star [\#72](https://github.com/ImperialCollegeLondon/sharpy/pull/72) ([ngoiz](https://github.com/ngoiz))

## [v1.1.1](https://github.com/imperialcollegelondon/sharpy/tree/v1.1.1) (2020-02-03)

Expand All @@ -154,6 +170,10 @@
- Update README.md [\#63](https://github.com/ImperialCollegeLondon/sharpy/pull/63) ([rafapalacios](https://github.com/rafapalacios))
- Clean up linear SHARPy's interface with UVLM [\#60](https://github.com/ImperialCollegeLondon/sharpy/pull/60) ([ngoiz](https://github.com/ngoiz))

## [v1.1.0-2](https://github.com/imperialcollegelondon/sharpy/tree/v1.1.0-2) (2019-12-12)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/v1.1.0...v1.1.0-2)

## [v1.1.0](https://github.com/imperialcollegelondon/sharpy/tree/v1.1.0) (2019-12-12)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/v1.0.1...v1.1.0)
Expand Down Expand Up @@ -214,6 +234,70 @@

- Version v1.0.1 released [\#29](https://github.com/ImperialCollegeLondon/sharpy/pull/29) ([fonsocarre](https://github.com/fonsocarre))

## [1.0.0](https://github.com/imperialcollegelondon/sharpy/tree/1.0.0) (2019-11-07)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/v1.0.0-rc...1.0.0)

**Implemented enhancements:**

- WriteVariablesTime output global beam variables and consistent out dir [\#19](https://github.com/ImperialCollegeLondon/sharpy/pull/19) ([ngoiz](https://github.com/ngoiz))
- Autodocumenter [\#16](https://github.com/ImperialCollegeLondon/sharpy/pull/16) ([ngoiz](https://github.com/ngoiz))

**Closed issues:**

- Tests not passing due to them being outdated + test refactoring. [\#11](https://github.com/ImperialCollegeLondon/sharpy/issues/11)

**Merged pull requests:**

- Release of v1.0.0!!! [\#20](https://github.com/ImperialCollegeLondon/sharpy/pull/20) ([fonsocarre](https://github.com/fonsocarre))
- Documentation fixes/updates [\#18](https://github.com/ImperialCollegeLondon/sharpy/pull/18) ([ngoiz](https://github.com/ngoiz))
- Fix dynamic control surface and settings for aerogridloader [\#15](https://github.com/ImperialCollegeLondon/sharpy/pull/15) ([ngoiz](https://github.com/ngoiz))

## [v1.0.0-rc](https://github.com/imperialcollegelondon/sharpy/tree/v1.0.0-rc) (2019-08-22)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/V0.2.1...v1.0.0-rc)

**Closed issues:**

- Output table [\#10](https://github.com/ImperialCollegeLondon/sharpy/issues/10)

**Merged pull requests:**

- Remove H5pyDeprecationWarning [\#14](https://github.com/ImperialCollegeLondon/sharpy/pull/14) ([ArturoMS13](https://github.com/ArturoMS13))
- Lagrange multipliers for Catapult Take Off works + clean tests [\#13](https://github.com/ImperialCollegeLondon/sharpy/pull/13) ([fonsocarre](https://github.com/fonsocarre))

## [V0.2.1](https://github.com/imperialcollegelondon/sharpy/tree/V0.2.1) (2019-03-14)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/v0.2...V0.2.1)

## [v0.2](https://github.com/imperialcollegelondon/sharpy/tree/v0.2) (2019-03-14)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/v0.1...v0.2)

**Closed issues:**

- Add recovery options [\#9](https://github.com/ImperialCollegeLondon/sharpy/issues/9)

## [v0.1](https://github.com/imperialcollegelondon/sharpy/tree/v0.1) (2018-09-03)

[Full Changelog](https://github.com/imperialcollegelondon/sharpy/compare/bd2b65974d57d2d6486ea90cdb68ef6324efbac8...v0.1)

**Implemented enhancements:**

- Hinge definition for control surface [\#8](https://github.com/ImperialCollegeLondon/sharpy/issues/8)
- sharpy\_main.main does not return output [\#5](https://github.com/ImperialCollegeLondon/sharpy/issues/5)

**Fixed bugs:**

- Aerofoil data associated to the nodes instead of the elements [\#6](https://github.com/ImperialCollegeLondon/sharpy/issues/6)

**Merged pull requests:**

- Trimming routine working [\#4](https://github.com/ImperialCollegeLondon/sharpy/pull/4) ([fonsocarre](https://github.com/fonsocarre))
- Feature coupled dynamic [\#3](https://github.com/ImperialCollegeLondon/sharpy/pull/3) ([fonsocarre](https://github.com/fonsocarre))
- Refactored storage finished [\#2](https://github.com/ImperialCollegeLondon/sharpy/pull/2) ([fonsocarre](https://github.com/fonsocarre))
- Settings files are ConfigObjs now, not ConfigParser anymore [\#1](https://github.com/ImperialCollegeLondon/sharpy/pull/1) ([fonsocarre](https://github.com/fonsocarre))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ ENV BASH_ENV ~/.bashrc
SHELL ["/bin/bash", "-c"]
ENV PATH=${PATH}:/miniconda3/bin

# CENTOS 8 has reached end of life - Not yet an updated Docker base for CentOS stream
# Point to the CentOS 8 vault in order to download dependencies
RUN cd /etc/yum.repos.d/ && \
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
cd /

# Development tools including compilers
RUN yum groupinstall "Development Tools" -y --nogpgcheck && \
yum install -y --nogpgcheck mesa-libGL libXt libXt-devel wget gcc-gfortran lapack vim tmux && \
Expand Down Expand Up @@ -34,11 +41,13 @@ RUN ln -s /sharpy_dir/utils/docker/* /root/

RUN cd sharpy_dir && \
conda activate sharpy_minimal && \
git submodule update --init --recursive && \
mkdir build && \
cd build && \
CXX=g++ FC=gfortran cmake .. && make install -j 2 && \
cd .. && \
pip install . && \
rm -rf build

ENTRYPOINT ["/bin/bash", "--init-file", "/root/bashrc"]

Loading