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

Release 3.5.1 #1820

Merged
merged 161 commits into from
Oct 20, 2023
Merged

Release 3.5.1 #1820

merged 161 commits into from
Oct 20, 2023

Conversation

andrew-platt
Copy link
Collaborator

@andrew-platt andrew-platt commented Oct 19, 2023

Feature or improvement description
Pull request to merge rc-3.5.1 into main and create a tagged release for v3.5.1.

See the milestone and project pages for additional information

https://github.com/OpenFAST/openfast/milestone/10
https://github.com/orgs/OpenFAST/projects/4

Test results, if applicable
See GitHub Actions

Release checklist:

  • Update the documentation version in docs/conf.py
  • Update the versions in docs/source/user/api_change.rst
  • Verify readthedocs builds correctly
  • Create a tag in OpenFAST
  • Create a merge commit in r-test and add a corresponding tag
  • Compile executables for Windows builds
    • FAST_SFunc.mexw64
    • OpenFAST-Simulink_x64.dll
    • openfast_x64.exe
    • DISCON.dll (x64)
    • AeroDyn_Driver
    • AeroDyn_Inflow_C_Binding
    • BeamDyn_Driver
    • HydroDyn_Driver
    • HydroDyn_C_Binding (x64)
    • InflowWind_Driver
    • IfW_C_Binding (x64)
    • MoorDyn_Driver
    • FAST.Farm (x64)

Changelog

General

Build systems

#1586 CMake: Remove openfast_cpp target if BUILD_OPENFAST_CPP_API not selected
#1647 Fix adding OpenMP flags to CMAKE_Fortran_FLAGS
#1818 VS-build updates for rc-3.5.1 and other minor updates. Includes truing up some Types files.

Documentation

#1788 Readthedocs configuration changes

Solvers

FAST.Farm

#1648 Fix bug with Mod_AmbWind=3 -- hub point wasn't shifted.

Module changes

AeroDyn

#1657 AD Driver: stack size for 64 bit solutions (see #1260)
#1658 AD/TailFin: Bug Fix: remove chord in fy (see #1653)
#1659 AD: Adding rtest for TailFin polar-based model
#1679 AD: nodal outputs in different coordinate systems (new feature)
#1700 Remove deleted variables BlFB and BlMB from AeroDyn_AllBldNdOuts_IO

BeamDyn

#1771 Change BD states to follow the blade root reference frame. Small performance improvements around azimuth=180.
#1796 Resolve BeamDyn initial strain for rotated blade. Backport of #1663

ElastoDyn

#1654 fix segfault when BldNd_BladesOut==0 (Also for AeroDyn)

HydroDyn

#1621 [BugFix] HD wave visualization with 2nd order waves
#1780 [BugFix] AddF0 for multiple potential-flow bodies with NBodyMod/=0 (backport of #1776)
#1768 new feature: Visualization of HydroDyn Morison mesh (also MoorDyn lines)
#1806 fixed some existing bugs with the strip-theory loads and updated the radiation convolution integral to 2nd order

InflowWind

#1620 [BugFix] ServoDyn inputs for Lidar allocated twice, and a few other minor issues
#1655 [BugFix] InflowWind was not setting InitOut MWS data.
#1748 [BugFix] compute vel avg profile when exceed allowed
#1759 [BugFix] InflowWind Flow Field fails to calculate AvgVel for large wind files when using Intel Compiler
#1769 [BugFix] Add additional modulo in IfW_FlowField to correct error with exhausted field from Grid3D on long simulations (see #1746 and PR #1730)

MAP++

#1752 MAP++ linear spring approach improvement (@RBergua)

MoorDyn

#1768 MoorDyn line visualization (see HydroDyn above)
#1727 MoorDyn updates and bug fixes (naming, catenary solve improvement, output channels, bugs with added mass, rods, and comment typos
#1815 MoorDyn dynamic relaxation and fixed bodies
#1816 Fixed drag coefficient scaling

NWTC-Library

#1731 Blade Pitch input to ElastoDyn drifts during solution if ServoDyn is not active (improvements to Extrap/Interp routines)

SubDyn

#1802 Increase SubDyn output to allow NMOutputs up to 99. Backport of features from dev (multiple commits)

Regression tests

#1581, #1593 Update floating MHK case input files
#1694 Improved linearization file comparison
#1695 AD: adding linearization tests for aerodyn continuous-states model
#1801 Add Mod_AmbWind=3 regression test to the CI

Input file changes

No input files change with this release, as this only includes minor bugfixes.

Full list of changes: https://openfast.readthedocs.io/en/main/source/user/api_change.html

Full input file sets: https://github.com/OpenFAST/r-test/tree/v3.5.1 (example input files from the regression testing)

hkross and others added 30 commits May 19, 2023 09:49
Update WAMIT .hst input file and baselines for floating MHK r-test
Update HydroDyn input file and baselines for floating MHK r-test
The input arrays for Lidar to ServoDyn get allocated in ServoDyn.f90, and again in BladedInterface_EX.f90.  This double allocation causes issues for many compilers.  The logic behind all this really should be looked at in more detail, but since the Lidar module in InflowWind will be superceeded by LidarSim in release 4.0.0, I'm not going to sort the logic right now.

Affected arrays:
    u%LidSpeed
    u%MsrPositionsX
    u%MsrPositionsY
    u%MsrPositionsZ

Thanks  to @foxton9 for reporting the issue, and proposing the fix!
[BugFix] ServoDyn inputs for Lidar allocated twice, and a few other minor issues
[BugFix] HD wave visualization with 2nd order waves
The last revision had the incorrect case for the CMake variable,
so the flag wasn't being added
We added the hub point to AWAE at the center of the grid now that IfW calculates the disk average velocity every time IfW_CalcOutput gets called. But this point needs to be shifted by the turbine position so it is in the box.

This will all change in 4.0.0 when we switch to pointers for all this and don't call IfW_CalcOutput directly anymore.
Fix adding OpenMP flags to CMAKE_Fortran_FLAGS
FF: fix bug with Mod_AmbWind=3 -- hub point wasn't shifted.
This is a hack fix -- the logic really should be improved elsewhere in the code for checking if any blades are output.  However, we don't actually have logic in place yet for only outputting certain blades.
This was causing issues in the linearization as the reported windspeed was on the order of 1E+38, which did not format correctly in the `.lin` output file
ED/AD: fix segfault when BldNd_BladesOut==0
[BuFix] InflowWind was not setting InitOut MWS data.
AD: Adding rtest for TailFin polar-based model
@andrew-platt
Copy link
Collaborator Author

@RyanDavies19, @hkross, @luwang00, @bjonkman -- if you have time, could your review changes from PR's of yours that are included in this release?

@andrew-platt
Copy link
Collaborator Author

Live documentation for this PR: https://openfast.readthedocs.io/en/rc-3.5.1/

@RyanDavies19
Copy link
Contributor

@andrew-platt All looks good on the MoorDyn side aside from three erroneous print statements left behind from debugging. I just created a PR to this release that removes them.

@andrew-platt
Copy link
Collaborator Author

@RyanDavies19, good catch! Thanks for fixing that.

@andrew-platt
Copy link
Collaborator Author

andrew-platt commented Oct 20, 2023

Note: the OC3Trpd case fails sporadically. There is likely an uninitialized variable or two that is causing this. Since a significant amount of the code that could contribute to this is getting revised in 4.0, so we won't fix it here.

Copy link
Collaborator

@jjonkman jjonkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see this version finally released; thanks!

Please note that in the first Conversation field, under "Input file changes", the link the r-test is currently https://github.com/OpenFAST/r-test/tree/rc-3.5.1 rather than https://github.com/OpenFAST/r-test/tree/v3.5.1 (I assume this will be fixed when the updated r-test is released as well.)

@hkross
Copy link
Contributor

hkross commented Oct 20, 2023

@RyanDavies19, @hkross, @luwang00, @bjonkman -- if you have time, could your review changes from PR's of yours that are included in this release?

@andrew-platt Looks good to me!

@luwang00
Copy link
Contributor

@andrew-platt For HD, there is also the recent PR #1806 which fixed some existing bugs with the strip-theory loads and updated the radiation convolution integral to 2nd order. Should we point that out in this PR as well?

@andrew-platt
Copy link
Collaborator Author

@jjonkman, after everyones comments, I'll tag r-test -- then the link will be correct.

@luwang00, I missed that one in putting together the summary. I'll add it to the list.

@andrew-platt andrew-platt merged commit 6a6511a into main Oct 20, 2023
38 checks passed
@andrew-platt andrew-platt deleted the rc-3.5.1 branch October 20, 2023 18:09
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.

9 participants