Skip to content

Commit 9fa6204

Browse files
andrew-plattqq8048
authored andcommitted
Merge pull request OpenFAST#159 from OpenFAST/dev
Merge dev into main for Release v4.1.0
2 parents 60ff5f7 + 661aeb0 commit 9fa6204

File tree

136 files changed

+309907
-27596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+309907
-27596
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ vtk*
2929
# build directories
3030
glue-codes/openfast/5MW_Baseline/ServoData/DISCON*/build
3131

32-
3332
# temporary figures
3433
_*.png
34+
35+
# temporary python directory (only happens if running test case locally)
36+
__pycache__

README.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This repository serves as a container for regression test data for system-level
55
and module-level testing of OpenFAST. The repository contains:
66

77
- Input files for test case execution
8-
- Baseline solutions for various machine and compiler combinations
8+
- Baseline solutions
99
- Turbine models used in the regression test cases
1010

1111
The baseline solutions serve as "gold standards" for the regression test suite
@@ -85,21 +85,21 @@ the current test names is given below.
8585
Baselines
8686
~~~~~~~~~
8787
The regression test compares locally generated solutions to the baseline
88-
solutions generated on a series of system and compiler combinations.
89-
Currently, the supported system/compiler combinations for successful
90-
regression testing along with the toolsets use are given below.
88+
solutions generated with the toolsets below.
9189

9290
================= ======================= ========================= ==================
9391
System-Compiler System Version Compiler Math Library
9492
================= ======================= ========================= ==================
95-
windows-intel Windows 10 V 2004 Intel OneAPI 2021 Intel MKL 2021
96-
linux-intel Ubuntu 20.04 (WSL) Intel OneAPI 2021 Intel MKL 2021
97-
linux-gnu Ubuntu 20.04 (WSL) GNU Fortran 10.2 (APT) liblapack (APT)
98-
macos-gnu macOS 10.15.7 GNU Fortran 10.2 (Brew) `Accelerate <https://developer.apple.com/documentation/accelerate>`_
93+
GitHub actions Ubuntu 22.04 (WSL) GNU Fortran 12.2 (APT) liblapack (APT)
9994
================= ======================= ========================= ==================
10095

10196
The regression test only supports double precision solutions, so all
102-
baseline solutions are generated with a double precision build.
97+
baseline solutions are generated with a double precision build. If you run local
98+
testing, there may be small numerical differences from the baseline solutions
99+
provided that may show up as a failed test. If you plot the results, the
100+
resulting timeseries should match closely for most compiler and hardware
101+
combinations (i.e. MacOS 15.5 (M4) with GNU Fortran 14.2 (Brew) will fail only
102+
one test).
103103

104104
Updating the baselines
105105
----------------------
@@ -120,9 +120,9 @@ Example:
120120
# Move into the r-test submodule
121121
cd openfast/reg_tests/r-test
122122
123-
# updateBaselineSolutions.py source_directory target_directory system_name compiler_id
124-
# Darwin,Linux,Windows Intel,GNU
125-
python updateBaselineSolutions.py ../build/reg_tests/glue-codes/openfast glue-codes/openfast Linux GNU
123+
# updateBaselineSolutions.py source_directory target_directory
124+
#
125+
python updateBaselineSolutions.py ../build/reg_tests/glue-codes/openfast glue-codes/openfast
126126
127127
NOTE: External ServoDyn controllers for 5MW_Baseline cases
128128
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -147,7 +147,7 @@ architecture in the following command:
147147

148148
.. code-block:: bash
149149
150-
cmake -G "Visual Studio 14 2015 Win64" ..
150+
cmake -G "Visual Studio 17 2022" ..
151151
152152
Ultimately, three ``.dll`` libraries should be compiled and placed in the
153153
``5MW_Baseline`` parallel to the test cases that will be executed. For example,

glue-codes/fast-farm/5MW_Baseline/ServoData/DISCON/DISCON_SC.f90

Lines changed: 0 additions & 589 deletions
This file was deleted.

glue-codes/fast-farm/LESinflow/FAST.Farm.fstf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ Simulation with one turbine using precursor VTK
44
False Echo - Echo input data to <RootName>.ech? (flag)
55
FATAL AbortLevel - Error level when simulation should abort (string) {"WARNING", "SEVERE", "FATAL"}
66
48.0 TMax - Total run time (s) [>=0.0]
7-
False UseSC - Use a super controller? (flag)
87
1 Mod_AmbWind - Ambient wind model (-) (switch) {1: high-fidelity precursor in VTK format, 2: one InflowWind module, 3: multiple instances of InflowWind module}
98
2 Mod_WaveField - Wave field handling (-) (switch) {1: use individual HydroDyn inputs without adjustment, 2: adjust wave phases based on turbine offsets from farm origin}
109
0 Mod_SharedMooring - Shared mooring system model (switch) {0: None, 3=MoorDyn}}
11-
--- SUPER CONTROLLER --- [used only for UseSC=True]
12-
"unused" SC_FileName - Name/location of the dynamic library {.dll [Windows] or .so [Linux]} containing the Super Controller algorithms (quoated string)
1310
--- SHARED MOORING SYSTEM --- [used only for Mod_SharedMoor>0]
1411
"" SharedMoorFile - Name of file containing shared mooring system input parameters (quoted string) [used only when Mod_SharedMooring > 0]
1512
0.04 DT_Mooring - Time step for farm-level mooring coupling with each turbine (s) [used only when Mod_SharedMooring > 0]

0 commit comments

Comments
 (0)