Skip to content

Commit fc11101

Browse files
authored
Merge pull request #2630 from OpenFAST/dev
Release 4.0.2
2 parents 1781ebd + 8c365db commit fc11101

File tree

9 files changed

+81
-5
lines changed

9 files changed

+81
-5
lines changed
2.08 MB
Binary file not shown.

docs/changelogs/ReleaseProcess.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
1. Create release changelog.md
66
2. Post PR with contents of the changelog/release notes
77
3. Get reviews and address all issues
8+
4. Add changelog for the release -- include all PR's that will be included
89

910
### PR branch updates
1011
1. checkout branch to merge in and verify builds on VS if any changes for VS or new files added
@@ -40,14 +41,15 @@ After posting and tagging release
4041
* `rm -rf vs-build`
4142
* `git checkout vs-build`
4243
3. Set a couple of VS files to not track changes on files that VS wants to update Windows related stuff in
43-
```
44+
```
4445
git update-index --assume-unchanged vs-build/MAPlib/MAP_dll.vcxproj vs-uild/Registry/FAST_Registry.vcxproj
4546
```
4647

4748
4. Compile executables for Windows builds
4849
* Run one of the executables and check the version info. Muck about with VS if there is an issue.
4950
* Also run `dumpbin.exe /dependents <exe>.exe` to check static linking
5051
* NOTE: build the simulink last -- it messes up some things otherwise
52+
- [ ] AeroDisk_Driver_x64.exe
5153
- [ ] AeroDyn_Driver_x64.exe
5254
- [ ] AeroDyn_Driver_x64_OpenMP.exe
5355
- [ ] AeroDyn_Inflow_C_Binding_x64.dll
@@ -69,9 +71,11 @@ After posting and tagging release
6971
- [ ] MoorDyn_C_Binding_x64.dll
7072
- [ ] OpenFAST-Simulink_x64.dll -- change `additional dependencies` in the `OpenFAST-Simulink` project in `FAST` to point to correct install of MATLAB
7173
- [ ] openfast_x64.exe
74+
- [ ] SeaStateDriver_x64.exe
75+
- [ ] SimpleElastoDyn_x64.exe
7276
- [ ] SubDyn_x64.exe
7377
- [ ] Turbsim_x64.exe
74-
78+
- [ ] UnsteadyAero_x64.exe
7579
5. Upload all filesUnset the no tracking of files
7680
```
7781
git ls-files -v | grep "^[a-z]"

docs/changelogs/v4.0.2.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
**Feature or improvement description**
2+
Pull request to merge `rc-4.0.2` into `main` and create a tagged release for v4.0.2
3+
4+
See the milestone and project pages for additional information
5+
6+
https://github.com/OpenFAST/openfast/milestone/18
7+
8+
Test results, if applicable
9+
See GitHub Actions
10+
11+
### Release checklist:
12+
- [ ] Update the documentation version in docs/conf.py
13+
- [ ] Update the versions in docs/source/user/api\_change.rst
14+
- [ ] Verify readthedocs builds correctly
15+
- [ ] Create a tag in OpenFAST
16+
- [ ] Create a merge commit in r-test and add a corresponding annotated tag
17+
- [ ] Compile executables for Windows builds
18+
- [ ] `AeroDyn_Driver_x64.exe`
19+
- [ ] `AeroDyn_Driver_x64_OpenMP.exe`
20+
- [ ] `AeroDyn_Inflow_C_Binding_x64.dll`
21+
- [ ] `AeroDyn_Inflow_C_Binding_x64_OpenMP.dll`
22+
- [ ] `BeamDyn_Driver_x64.exe`
23+
- [ ] `DISCON.dll (x64)`
24+
- [ ] `DISCON_ITIBarge.dll (x64)`
25+
- [ ] `DISCON_OC3Hywind.dll (x64)`
26+
- [ ] `DISCON_SC.dll (x64)`
27+
- [ ] `FAST.Farm_x64.exe`
28+
- [ ] `FAST.Farm_x64_OMP.exe`
29+
- [ ] `FAST_SFunc.mexw64`
30+
- [ ] `HydroDynDriver_x64.exe`
31+
- [ ] `HydroDyn_C_Binding_x64.dll`
32+
- [ ] `IfW_C_Binding_x64.dll`
33+
- [ ] `InflowWind_Driver_x64.exe`
34+
- [ ] `InflowWind_Driver_x64_OpenMP.exe`
35+
- [ ] `MoorDyn_Driver_x64.exe`
36+
- [ ] `MoorDyn_C_Binding_x64.dll`
37+
- [ ] `OpenFAST-Simulink_x64.dll`
38+
- [ ] `openfast_x64.exe`
39+
- [ ] `SubDyn_x64.exe`
40+
- [ ] `Turbsim_x64.exe`
41+
42+
# Changelog
43+
44+
## Overview
45+
46+
This release includes a bug fix to the `ExternalInflow` module which is used by AMR-Wind to provide wind velocities to AeroDyn and receive aerodynamic forces. It also contains additional documentation on OpenFAST coordinate systems and more information on the release process.
47+
48+
## General
49+
50+
#2626 Docs: add presentation overview of OF Coordinate systems (2024) (@andrew-platt)
51+
52+
#2627 Update ReleaseProcess.md notes (@andrew-platt)
53+
54+
## Module changes
55+
56+
### ExternalInflow
57+
58+
#2628 Fix bug in ExternalInflow Orientation indexing (@deslaughter)
59+
60+
## Input file changes
61+
62+
No input file changes are required from 4.0.1.
63+

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def runDoxygen(sourcfile, doxyfileIn, doxyfileOut):
138138
# The short X.Y version.
139139
version = u'4.0'
140140
# The full version, including alpha/beta/rc tags.
141-
release = u'v4.0.1'
141+
release = u'v4.0.2'
142142

143143
# The language for content autogenerated by Sphinx. Refer to documentation
144144
# for a list of supported languages.

docs/source/user/api_change.rst

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ The line number corresponds to the resulting line number after all changes are i
1010
Thus, be sure to implement each in order so that subsequent line numbers are correct.
1111

1212

13+
OpenFAST v4.0.1 to OpenFAST v4.0.2
14+
----------------------------------
15+
16+
No input file changes were made.
17+
1318

1419
OpenFAST v4.0.0 to OpenFAST v4.0.1
1520
----------------------------------

docs/source/user/elastodyn/coordsys.rst

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Coordinate systems
66

77
For the coordinates system not detailed in subsections below, please refer to the following references:
88

9+
- :download:`OpenFAST_coords.pdf <../../../OtherSupporting/OpenFAST_coords.pdf>`:
10+
Presentation from 2024 overviewing some coordinate systems in OpenFAST.
11+
912
- `FAST 7 Manual <https://www.nrel.gov/docs/fy06osti/38230.pdf>`_
1013

1114
- `Technical report <https://www.nrel.gov/docs/fy04osti/34755.pdf>`_ on FAST_AD and modeling of the UAE wind turbine (in section 3)

modules/externalinflow/src/ExternalInflow.f90

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ SUBROUTINE SetExtInfwPositions(p_FAST, u_AD, ExtInfw, ErrStat, ErrMsg)
423423
ExtInfw%u%xdotForce(Node) = real(ExtInfw%m%ActForceMotionsPoints(k)%TranslationVel(1,J),c_float)
424424
ExtInfw%u%ydotForce(Node) = real(ExtInfw%m%ActForceMotionsPoints(k)%TranslationVel(2,J),c_float)
425425
ExtInfw%u%zdotForce(Node) = real(ExtInfw%m%ActForceMotionsPoints(k)%TranslationVel(3,J),c_float)
426-
ExtInfw%u%pOrientation((Node-1)*9_1:Node*9) = real(pack(ExtInfw%m%ActForceMotionsPoints(k)%Orientation(:,:,J),.true.),c_float)
426+
ExtInfw%u%pOrientation((Node-1)*9+1:Node*9) = real(pack(ExtInfw%m%ActForceMotionsPoints(k)%Orientation(:,:,J),.true.),c_float)
427427
END DO
428428

429429
END DO

openfast_io/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55
[project]
66
name = "openfast_io"
77
# dynamic = ["version"]
8-
version = "4.0.1"
8+
version = "4.0.2"
99
description = "Readers and writers for OpenFAST files."
1010
license = {file = "../LICENSE"}
1111
authors = [

reg_tests/CTestList.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ of_aeromap_regression("5MW_Land_AeroMap" "aeromap;elastodyn;aerody
359359
if(BUILD_OPENFAST_CPP_DRIVER)
360360
of_cpp_interface_regression("5MW_Land_DLL_WTurb_cpp" "openfast;fastlib;cpp")
361361
of_cpp_interface_regression("5MW_Restart_cpp" "openfast;fastlib;cpp;restart")
362+
of_cpp_interface_regression("5MW_Land_DLL_WTurb_ExtInfw_cpp" "openfast;fastlib;extinfw;cpp")
362363
endif()
363364

364365
# OpenFAST Driver test for OpenFAST C++ Library

0 commit comments

Comments
 (0)