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

New feature: apply external forces to the system at runtime #125

Merged
merged 29 commits into from
Apr 21, 2021

Conversation

ArturoMS13
Copy link
Collaborator

@ArturoMS13 ArturoMS13 commented Mar 15, 2021

This new feature allow the application of external forces to the system computed at runtime based on the state of the system at each time step.

In particular, forces related to floating dynamics of wind turbines (mooring lines, hydrostatics, hydrodynamics and wave forces) are considered.

This PR Fixes #112 including the possibility to change the direction of gravity.

It also includes other minor changes:

  • Include lumped masses defined by a 6x6 mass matrix through the structural input variable lumped_mass_mat
  • Possibility to skip the writing of the aerodynamic wake in SaveData through the save_wake setting.
  • Generate spar floating wind turbines with the template_wt library.

It updates some packages in the conda environment.

Requirements before merging

@ArturoMS13 ArturoMS13 changed the title New features: apply external forces to the system at runtime New feature: apply external forces to the system at runtime Mar 15, 2021
@codecov-io
Copy link

codecov-io commented Mar 15, 2021

Codecov Report

Merging #125 (503cd9d) into develop (cf3e1c7) will decrease coverage by 1.32%.
The diff coverage is 29.26%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #125      +/-   ##
===========================================
- Coverage    63.03%   61.70%   -1.33%     
===========================================
  Files          123      124       +1     
  Lines        21737    22508     +771     
===========================================
+ Hits         13702    13889     +187     
- Misses        8035     8619     +584     
Impacted Files Coverage Δ
cases/templates/template_wt.py 37.26% <2.05%> (-12.61%) ⬇️
sharpy/generators/floatingforces.py 23.85% <23.85%> (ø)
sharpy/solvers/staticcoupled.py 78.04% <37.50%> (-5.38%) ⬇️
sharpy/structure/utils/xbeamlib.py 52.62% <39.28%> (-0.22%) ⬇️
sharpy/solvers/dynamiccoupled.py 69.33% <50.00%> (-2.10%) ⬇️
sharpy/postproc/savedata.py 68.51% <54.54%> (-1.42%) ⬇️
sharpy/utils/generate_cases.py 72.63% <61.36%> (-1.10%) ⬇️
sharpy/structure/models/beam.py 92.89% <82.50%> (-1.55%) ⬇️
sharpy/aero/utils/uvlmlib.py 73.48% <100.00%> (+0.20%) ⬆️
sharpy/solvers/_basestructural.py 95.65% <100.00%> (+0.30%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf3e1c7...503cd9d. Read the comment docs.

@ArturoMS13 ArturoMS13 changed the base branch from master to develop March 16, 2021 10:17
@ArturoMS13 ArturoMS13 marked this pull request as ready for review April 15, 2021 08:56
@ArturoMS13 ArturoMS13 requested a review from sduess April 15, 2021 08:56
@codecov-commenter
Copy link

Codecov Report

Merging #125 (1ca13cf) into develop (cf3e1c7) will decrease coverage by 1.33%.
The diff coverage is 29.26%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #125      +/-   ##
===========================================
- Coverage    63.03%   61.70%   -1.34%     
===========================================
  Files          123      124       +1     
  Lines        21737    22508     +771     
===========================================
+ Hits         13702    13888     +186     
- Misses        8035     8620     +585     
Impacted Files Coverage Δ
cases/templates/template_wt.py 37.26% <2.05%> (-12.61%) ⬇️
sharpy/generators/floatingforces.py 23.85% <23.85%> (ø)
sharpy/solvers/staticcoupled.py 78.04% <37.50%> (-5.38%) ⬇️
sharpy/structure/utils/xbeamlib.py 52.62% <39.28%> (-0.22%) ⬇️
sharpy/solvers/dynamiccoupled.py 69.33% <50.00%> (-2.10%) ⬇️
sharpy/postproc/savedata.py 68.51% <54.54%> (-1.42%) ⬇️
sharpy/utils/generate_cases.py 72.63% <61.36%> (-1.10%) ⬇️
sharpy/structure/models/beam.py 92.89% <82.50%> (-1.55%) ⬇️
sharpy/aero/utils/uvlmlib.py 73.48% <100.00%> (+0.20%) ⬆️
sharpy/solvers/_basestructural.py 95.65% <100.00%> (+0.30%) ⬆️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf3e1c7...1ca13cf. Read the comment docs.

@ArturoMS13 ArturoMS13 merged commit f9d04bc into develop Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include gravity direction as input for structural solvers
5 participants