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

Additional features for the new SeaState module and HydroDyn #1008

Merged
merged 435 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
435 commits
Select commit Hold shift + click to select a range
5eeccbf
SeaState: Make warnings about clamping boundary shown only once
bjonkman May 31, 2022
3752930
HydroDyn: removed unused WAMIT2 data types
bjonkman Jun 3, 2022
fbef3cf
Glue: combined code for structure transfer to option1 inputs
bjonkman Jun 3, 2022
79acf5b
Linearization: reduce amount of duplicated code in offshore cases
bjonkman Jun 3, 2022
cea079d
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Jun 3, 2022
60ceac0
update some comments
bjonkman Jun 6, 2022
0e234f0
Update orientation differences in linear trim solution
bjonkman Jun 14, 2022
78aaf92
update r-test
bjonkman Jun 21, 2022
d6c5390
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Jun 21, 2022
d99a3c3
update r-test
bjonkman Jun 22, 2022
26f4880
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Jun 22, 2022
6de2289
HD/WAMIT2: allocate moment field in output mesh
bjonkman Jun 22, 2022
d656ebe
Expanded the SubDyn output to allow NMOutputs up to 99.
luwang00 Jun 22, 2022
178bcff
VTK output: add wave visualization back
bjonkman Jun 24, 2022
0ecbc10
SeaState: Cleanup comment for read of WaveSeed(2)
bjonkman Jun 24, 2022
44930c0
fix for double-precision seastate build
bjonkman Jun 27, 2022
02aaccd
reg_tests python: add variable missing for error plotting
bjonkman Jun 27, 2022
4ade328
reg_tests python: link to log file / screen output in html output
bjonkman Jun 27, 2022
5e24b94
reg_tests: attempt to remove errors running pass_fail in GitHub actions
bjonkman Jun 27, 2022
1965c9b
reg_tests: more updates to attempt to remove warnings in GitHub actions
bjonkman Jun 27, 2022
46c526d
HydroDyn/SeaState cleanup
bjonkman Jun 28, 2022
3c18f4a
reg_test: print returnCode in html summary;
bjonkman Jun 28, 2022
05e670f
Move SeaSt checks from HydroDyn into SeaState
bjonkman Jun 29, 2022
11cd19c
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro2
bjonkman Jun 30, 2022
cc1bbcc
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro2
bjonkman Jun 30, 2022
b6fc713
SeaState: Add size to error message about allocation size
bjonkman Jun 30, 2022
a93e13e
work in progress: OutList Parameters for SD
bjonkman Jul 1, 2022
011a121
Merge pull request #3 from bjonkman/LuWang_hydro
luwang00 Jul 1, 2022
3f8b14d
Added #include <stdexcept> to FastLibAPI.cpp.
luwang00 Jul 1, 2022
ed6f6e7
Bug Fix: rotation matrix perturbation with small angles was wrong (#1…
ebranlard Jul 7, 2022
6ec9ab6
HDdvr: Implemented linearization
ebranlard Jul 7, 2022
c5ff7a5
Merge branch 'f/fix-perturb-orient' into f/hd-driver-lin
ebranlard Jul 7, 2022
70a375b
HDdvr: linearization at EDRefP and fixed 0,0,0
ebranlard Jul 7, 2022
d5256f2
Mesh: mapping of loads only if allocated in dest
ebranlard Jul 7, 2022
f6c1754
update r-test
bjonkman Jul 11, 2022
a43e451
Merge branch 'dev' into LuWang_hydro2
bjonkman Jul 11, 2022
1452337
bug fix: SS_Excitation wave elevation was not set properly for nBody > 1
bjonkman Jul 11, 2022
e1889fe
HD C binding: removed `HasIce`; should be updated for use with SeaState
bjonkman Jul 11, 2022
7c8fb6a
Added #include <stdexcept> to FastLibAPI.cpp.
luwang00 Jul 1, 2022
0ff7438
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Jul 12, 2022
8b579f9
SD: split up WriteOutput vars to reduce number of continuation lines
bjonkman Jul 12, 2022
6682afe
OutList: update formatting on SD sheet
bjonkman Jul 12, 2022
400c35c
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Jul 13, 2022
c9b4118
SD: make new channel names backward compatible
bjonkman Jul 14, 2022
b53d5aa
SeaState: updates to WriteOutput
bjonkman Jul 18, 2022
a641b97
Update module description in summary file
bjonkman Jul 19, 2022
f51f673
HD-SeaSt coupling: fix error check for SSExctn inputs
bjonkman Jul 20, 2022
ae91162
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Jul 20, 2022
31bb8fe
update HD driver with change for f51f67
bjonkman Jul 20, 2022
9f3233c
glue: Replace IF statements for solve options with single logical
bjonkman Jul 20, 2022
746adcd
python regression test scripts
bjonkman Jul 29, 2022
b1a83c6
HD driver: split main code into two source files
bjonkman Jul 29, 2022
ff1a4fa
update r-test
bjonkman Jul 29, 2022
9d8a6ca
Merge branch 'dev' into LuWang_hydro
bjonkman Aug 1, 2022
d2fd2e9
update r-test
bjonkman Aug 1, 2022
a393f0e
fix typo in 1452337e + destroy memory that was allocated
bjonkman Aug 1, 2022
2f568df
Bug Fix: Adding WaveMod = 7 to the subroutine WAMIT_Init.
luwang00 Aug 1, 2022
70517c8
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro
bjonkman Aug 2, 2022
56097fe
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Aug 2, 2022
7e43136
Initial implementation of motion filter for ExctnDisp = 2.
luwang00 Aug 2, 2022
5e9d591
Motion filter for ExctnDisp = 2: Avoided the use of Misc. variables.
luwang00 Aug 2, 2022
1f3056e
Axial drag force: Avoided updating the states of the high-pass normal…
luwang00 Aug 3, 2022
30d1f97
Merge branch 'feature/ExctnCutOff' into dev
luwang00 Aug 3, 2022
8aac668
HD driver: add output-to-file capability
bjonkman Aug 3, 2022
b20cbb2
Glue: remove unused variable
bjonkman Aug 3, 2022
3f3ee0a
python regression-test scripts: update for HD driver changes
bjonkman Aug 3, 2022
d74fad3
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro
bjonkman Aug 3, 2022
af3e768
update types files
bjonkman Aug 3, 2022
8c2b643
update more types files
bjonkman Aug 4, 2022
917320a
manual reg test scripts:print completion code as int
bjonkman Aug 8, 2022
9c3912e
Merge remote-tracking branch 'ebranlard/f/hd-driver-lin' into LuWang_…
bjonkman Aug 8, 2022
373d63b
HD driver: cleanup + reorg
bjonkman Aug 8, 2022
a3c2cf8
HD driver reorg
bjonkman Aug 11, 2022
486fa7b
HD: fix assumption that update states has 2 input times
bjonkman Aug 11, 2022
0c68597
Update r-test with new HD driver input files
bjonkman Aug 11, 2022
01f857c
update r-test
bjonkman Aug 11, 2022
7a989af
python scripts: don't print blank lines on .out files
bjonkman Aug 11, 2022
14134a7
GH actions: use bokeh 1.4 (revert merge from dev)
bjonkman Aug 11, 2022
63e627d
HD driver: cleanup error messages
bjonkman Aug 15, 2022
ddfbd99
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Aug 15, 2022
63265e3
Bug Fix: Corrected the white-noise wave spectrum in SeaState.
luwang00 Aug 15, 2022
57520e7
HD driver: linearization cleanup
bjonkman Aug 15, 2022
b9fda82
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro
bjonkman Aug 15, 2022
41c8de3
Reverting the change made in the previous commit (63265e3fc4544507f78…
luwang00 Aug 15, 2022
ae58d1c
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro
bjonkman Aug 16, 2022
0aee614
HD/SeaSt: clarify outputs to module level output file
bjonkman Aug 16, 2022
dcb5b33
HD driver: fix perturbations on WAMIT and Morison meshes
bjonkman Aug 16, 2022
ba12ea8
HD driver: replace repeated PRP-to-HD mesh calls with subroutine
bjonkman Aug 16, 2022
3c7524f
HD/SeaSt cleanup
bjonkman Aug 17, 2022
1645147
SeaSt cleanup: rename some submodule variables
bjonkman Aug 17, 2022
1f4bf9a
SeaSt: remove unnecessary arrays
bjonkman Aug 17, 2022
f30b1ea
Merge pull request #4 from bjonkman/LuWang_hydro
luwang00 Aug 18, 2022
95f98d7
Updated the white-noise wave again.
luwang00 Aug 18, 2022
1910374
Merge OpenFAST/dev into LuWang_hydro
bjonkman Aug 22, 2022
c8b2477
Fix broken manual regression test
bjonkman Aug 22, 2022
edea770
cleanup seastate output file close routine
bjonkman Aug 23, 2022
be4c884
python scripts: avoid plotting errors with different numbers of outpu…
bjonkman Aug 23, 2022
6eb4920
update r-test
bjonkman Aug 23, 2022
4fc9d81
update minor text in documentation; HD documentation is OUT OF DATE
bjonkman Aug 23, 2022
de3a9c2
merge OpenFAST/dev into LuWang_hydro
bjonkman Aug 25, 2022
7ae3388
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Aug 25, 2022
5b0823a
Cleanup size of lines read from file
bjonkman Aug 25, 2022
4708737
NWTC_IO: update GetWords to return the number actually read
bjonkman Aug 25, 2022
0076b03
HD: increase max length of line read from kinematics files
bjonkman Aug 29, 2022
dd123af
HD: replace unnecessary array with scalar
bjonkman Aug 29, 2022
d7b57ef
HD/SeaSt: update error handling + code cleanup
bjonkman Aug 29, 2022
f088391
NWTC_IO: cleanup some error handling
bjonkman Aug 29, 2022
4dae42a
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro
bjonkman Aug 29, 2022
43cc15b
update r-test
bjonkman Aug 30, 2022
5210163
Merge pull request #5 from bjonkman/LuWang_hydro
luwang00 Aug 30, 2022
e9fba16
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Aug 31, 2022
d7ed2a4
HD/Morison: fix numerical issues with acos
bjonkman Sep 1, 2022
c6abf07
SeaSt: fix potential numerical issues with acos
bjonkman Sep 1, 2022
659309b
Bug Fix: Morison_CalcOutput
luwang00 Sep 1, 2022
acb70c4
Bug Fix: Morison_CalcOutput
luwang00 Sep 2, 2022
70d9d78
Merge remote-tracking branch 'luwang00/dev' into LuWang_hydro
bjonkman Sep 6, 2022
a7f6de7
Merge pull request #6 from bjonkman/LuWang_hydro
luwang00 Sep 7, 2022
98c2452
Morison WriteOutput cleanup (plus bug fixes)
bjonkman Sep 7, 2022
2072943
VersionInfo: add compile time to version info stored in file
bjonkman Sep 7, 2022
ea6dfa9
SeaState WriteOutput: minor cleanup
bjonkman Sep 7, 2022
875550b
NWTC Lib: add `OutStrLenM1` and `FindValidChannelIndx`
bjonkman Sep 7, 2022
6caad82
HD: cleanup/standardize WriteOutput/Outlist code
bjonkman Sep 7, 2022
63a303e
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Sep 8, 2022
ef1620c
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Sep 8, 2022
94ed2e8
merge OpenFAST/dev into LuWang_hydro
bjonkman Sep 8, 2022
2638ae3
HD: remove environment conditions from input file; use values from SeaSt
bjonkman Sep 8, 2022
d0385dc
Glue: Send SeaSt environment conditions to mooring modules + SubDyn
bjonkman Sep 8, 2022
46fe43d
SD: fix units on M??N?MKxe channels
bjonkman Sep 12, 2022
587416a
HD C binding: update variable names - THIS MUST BE MODIFIED FOR SEASTATE
bjonkman Sep 12, 2022
991e5b5
SD: fix units on M??N?MKxe channels
bjonkman Sep 12, 2022
1e311b9
Merge remote-tracking branch 'NREL/dev' into LuWang_hydro
bjonkman Sep 13, 2022
8a02893
MD: remove unused variables
bjonkman Sep 13, 2022
c1079be
Fix conflicts from MD2 merge
bjonkman Sep 13, 2022
4ecf83a
fix merge issue with FASTlib.vfproj
bjonkman Oct 13, 2022
5ed3a16
MD: remove unused variables
bjonkman Oct 13, 2022
5ef3664
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 13, 2022
e2252ed
Merge remote-tracking branch 'origin/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 17, 2022
1a06ab4
MD: remove unused wave variables
bjonkman Oct 18, 2022
3633616
HD: fix uninitialized variable
bjonkman Oct 19, 2022
1b60c40
MD driver: remove unused variables
bjonkman Oct 19, 2022
1ebd80e
MD driver cleanup
bjonkman Oct 19, 2022
b307423
DEBUG: add text for debugging on GitHub Actions
bjonkman Oct 20, 2022
c9a6153
HD: fix uninitialized NumOuts when no outputs listed
bjonkman Oct 20, 2022
d941fca
Merge branch 'LuWang_hydro' into f/Hydro_SeaState_PR1008
bjonkman Oct 20, 2022
533180a
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 26, 2022
2364e41
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 26, 2022
8b383ee
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 26, 2022
3dfc608
Modified the strip-theory buoyancy calculation to accommodate partial…
luwang00 Oct 27, 2022
0f6ea02
AD: allow "Aero" as well as "Fld" for channel names
bjonkman Oct 27, 2022
a63cf4d
Added an approximate expression for the wave spreading normalization …
luwang00 Oct 28, 2022
71184b2
Extended the smoothing of strip-theory hydrodynamic loads to cover th…
luwang00 Oct 31, 2022
80edd5b
Update AD example file in docs
bjonkman Oct 31, 2022
5fc8c75
update r-test
bjonkman Oct 31, 2022
96f0716
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 31, 2022
06cee6d
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Oct 31, 2022
7d18eec
HD: remove `CreatePointMesh` routine that was duplicated in 533180a6b271
bjonkman Nov 1, 2022
0158a99
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Nov 7, 2022
24dc180
update r-test
bjonkman Nov 7, 2022
64ec8dd
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Nov 9, 2022
3028570
Comment out the check for partially wetted lowest strip-theory elemen…
luwang00 Nov 9, 2022
a572884
update r-test
bjonkman Nov 10, 2022
afa6a1c
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Nov 10, 2022
5c8efb4
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Nov 10, 2022
2fb855b
Waves: avoid resetting index inside loop
bjonkman Nov 10, 2022
1b60a41
FAST Subs: fix error handling on call
bjonkman Nov 10, 2022
c98e493
SeaState/Waves: remove additional initialization of RNG
bjonkman Nov 14, 2022
fe6a7ff
SeaSt/Waves: remove unnecessary InitOut variables
bjonkman Nov 14, 2022
6c6a5a8
HD/SeaSt: update some error handling
bjonkman Nov 15, 2022
5a008bf
SeaSt: remove unused variables; fix error message
bjonkman Nov 16, 2022
c8b8330
SeaSt BugFix: still water waves was not correctly initializing
bjonkman Nov 16, 2022
41cd3a0
Updated the subroutine WrVTK_AllMeshes to output the SubDyn y3Mesh wi…
luwang00 Nov 17, 2022
68111ac
SeaSt: sort out wave initialization
bjonkman Nov 17, 2022
18e24b3
Waves: update initializations
bjonkman Nov 28, 2022
22b41dd
HD/SeaSt: remove unused (redundant) NodeInWater
bjonkman Nov 28, 2022
c80177a
Waves: allocate WaveDirArr consistently
bjonkman Nov 29, 2022
ed497a2
Waves: more cleanup in `VariousWaves_Init`
bjonkman Dec 1, 2022
016901c
Bug Fix: SetMemberProperties (Morison.f90)
luwang00 Dec 2, 2022
9e84a4e
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman Dec 1, 2022
baecc39
SeaSt: cleanup
bjonkman Dec 13, 2022
91c2d06
Waves: move some initializations into subroutines
bjonkman Dec 13, 2022
74c0979
waves bug fix: index starts from 0
bjonkman Dec 13, 2022
0a190f6
SeaState: move Constrained New Waves to new subroutine
bjonkman Jan 9, 2023
a9b81d1
Morison: remove unused variable
bjonkman Jan 9, 2023
657f838
update r-test pointer
bjonkman Jan 9, 2023
c549784
waves bug fix: update for multi-direction
bjonkman Jan 10, 2023
916f45e
Bug fix: Corrected the expression for distributed axial drag force in…
luwang00 Feb 17, 2023
324134f
Streamline the logic for strip-theory loads in Morison.f90 to better …
luwang00 Feb 18, 2023
d82f0d0
Bug Fix: Added back the coefficient of 0.5 for distributed axial drag…
luwang00 Feb 18, 2023
58777da
Cover some corner cases when integrating the strip-theory loads in Mo…
luwang00 Feb 20, 2023
fc1806a
Bug fix and improvement to the strip-theory hydrodynamic loads with w…
luwang00 Feb 20, 2023
8ecc789
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Feb 20, 2023
90203e5
Bug Fix: Fixed the assumption that WAMIT_UpdateStates has 2 input tim…
luwang00 Feb 28, 2023
ea180ff
Quick fix to prevent segfault when ExctnMod=2 and ExctnDisp=2
luwang00 Feb 28, 2023
c3c0a58
Initial implementation of ExctnDisp=2 for state-space wave-excitation…
luwang00 Mar 1, 2023
17a0f51
Corrections to comments
luwang00 Mar 1, 2023
39a4058
Bug Fix: Prevent HydroDyn from crashing when PotMod=1, ExctnMod=0, an…
luwang00 Mar 1, 2023
6d40517
Bug Fix: Fixed the problem causing SeaState to function incorrectly w…
luwang00 Mar 1, 2023
3dc9b5a
Bug Fix: Problem similar to 6d40517 on the HydroDyn side
luwang00 Mar 1, 2023
5faaa99
fix spelling error in comment
bjonkman Mar 2, 2023
5415893
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Mar 2, 2023
3a2d128
hd: fix NBody>1 & NBodyMod=1 WAMIT2 bug
andrew-platt Mar 7, 2023
092648d
Bug Fix: Corrected an issue in FAST_Lin.f90 which led to incorrect li…
luwang00 Mar 17, 2023
f22f15d
Bug Fix: Wrong ErrStat preventing wave elev VTK outputs
ebranlard Mar 18, 2023
1af49d1
Merge pull request #7 from ebranlard/f/fix-vtk-wave
luwang00 Mar 21, 2023
d6fba0a
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Mar 23, 2023
fe357b8
Bug Fix: Problem similar to 6d40517 with second-order waves in SeaState
luwang00 Apr 19, 2023
a8dee01
Merge remote-tracking branch 'luwang00/dev' into f/Hydro_SeaState_PR1008
bjonkman Apr 25, 2023
0173f0b
merge remote-tracking branch 'NREL/dev' into h/Hydro_SeaState_PR1008
bjonkman Apr 25, 2023
163919f
TurbSim bug fix: fix index into Z array for text grid files
bjonkman Apr 27, 2023
ba9a424
Merge branch 'dev' into f/Hydro_SeaState_PR1008
bjonkman Apr 27, 2023
dae7e1d
AD: remove non-standard tab formatting
bjonkman Apr 27, 2023
e4ea833
Streamline the logic when integrating the strip-theory loads in Moris…
luwang00 Apr 28, 2023
129491e
Merge branch 'lu-dev' into f/Hydro_SeaState_PR1008
bjonkman Apr 28, 2023
75e2e0a
Update constants for DP builds
bjonkman May 2, 2023
8c6205b
HD Driver Visual Studio build: add double precision
bjonkman May 2, 2023
91c79dd
MoorDyn: fix extra variables in driver
bjonkman May 2, 2023
ecfe0ef
HD: Cleanup initialization
bjonkman May 2, 2023
e695cf4
AD14: fix type for double-precision build
bjonkman May 2, 2023
fb0e81f
HD: replace string `WAMIT_Init` with parameter
bjonkman May 3, 2023
ffd8a2d
HD: added back check on DT that was done previously
bjonkman May 3, 2023
bba4cf1
MD driver: Variable not declared
luwang00 May 3, 2023
886ef97
HD VS build: rename DP executable; add more checks in Debug builds
bjonkman May 3, 2023
72f4b70
Bug Fix: HD Driver incorrectly assumed the number of lines in the PRP…
luwang00 May 3, 2023
3b3a092
Error handling
luwang00 May 3, 2023
48672c2
Merge pull request #21 from luwang00/f/Hydro_SeaState_PR1008
bjonkman May 4, 2023
4ea2ef0
update pointer to r-test
bjonkman May 8, 2023
e836226
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman May 8, 2023
9787e50
vs-build: define `OPENFAST_DOUBLE_PRECISION` instead of `DOUBLE_PRECI…
bjonkman May 8, 2023
98ea7e4
update r-test
bjonkman May 9, 2023
d5ee7d5
Merge remote-tracking branch 'deslaughter/b/def_dp' into f/Hydro_SeaS…
bjonkman May 9, 2023
be08721
Merge pull request #8 from bjonkman/f/Hydro_SeaState_PR1008
luwang00 May 9, 2023
3acc13c
AD vs-build: fix file list
bjonkman May 9, 2023
773bc33
update r-test
bjonkman May 10, 2023
4786b33
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman May 10, 2023
0d9e76d
Merge pull request #9 from bjonkman/f/Hydro_SeaState_PR1008
luwang00 May 10, 2023
3376ddd
update precision of some constants
bjonkman May 12, 2023
ddf5006
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman May 12, 2023
a953aae
update r-test
bjonkman May 16, 2023
b4380fd
Merge remote-tracking branch 'NREL/dev' into f/Hydro_SeaState_PR1008
bjonkman May 16, 2023
7880713
Merge pull request #10 from bjonkman/f/Hydro_SeaState_PR1008
luwang00 May 17, 2023
71ef4be
update python module tests to use absolute paths
andrew-platt May 19, 2023
b3c27e9
HD: add check in HD_Init that SeaState data exists
andrew-platt May 22, 2023
c2ce211
hd_c_bindings: update to use SeaState module
andrew-platt May 23, 2023
a6efeb3
Merge pull request #11 from andrew-platt/f/SeaState_C_Bindings_update
luwang00 May 23, 2023
5d95537
Add SeaState module regression tests
andrew-platt May 31, 2023
7884f59
Merge branch 'dev' into luwang/dev
andrew-platt May 31, 2023
09b5a09
Add SeaState tests to GH actions
andrew-platt May 31, 2023
42c9900
Reconfigure seastate testing, add seastate_driver to module_drivers t…
andrew-platt May 31, 2023
179e5bf
Testing: reduce number of parrallel hydrodyn module cases
andrew-platt May 31, 2023
a94caf6
Testing: reduce number of parrallel hydrodyn module cases even further
andrew-platt 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 .github/actions/tests-module-hydrodyn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ author: 'Rafael Mudafort https://github.com/rafmudaf'
runs:
using: "composite"
steps:
- run: ctest -VV -j7 -R hd_ -LE python
- run: ctest -VV -j1 -R hd_ -LE python
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
9 changes: 9 additions & 0 deletions .github/actions/tests-module-seastate/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'SeaState module tests'
description: 'Run tests specific to the SeaState module'
author: 'Rafael Mudafort https://github.com/rafmudaf'
runs:
using: "composite"
steps:
- run: ctest -VV -j7 -R seastate_ -LE python
working-directory: ${{runner.workspace}}/openfast/build
shell: bash
4 changes: 4 additions & 0 deletions .github/workflows/automated-dev-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ jobs:
test-target: regression
- name: Run MoorDyn tests
uses: ./.github/actions/tests-module-moordyn
- name: Run SeaState tests
uses: ./.github/actions/tests-module-seastate
- name: Run SubDyn tests
uses: ./.github/actions/tests-module-subdyn
- name: Failing test artifacts
Expand Down Expand Up @@ -441,6 +443,8 @@ jobs:
uses: ./.github/actions/tests-module-moordyn
- name: Run NWTC Library tests
uses: ./.github/actions/tests-module-nwtclibrary
- name: Run SeaState tests
uses: ./.github/actions/tests-module-seastate
- name: Run SubDyn tests
uses: ./.github/actions/tests-module-subdyn
- name: Run VersionInfo tests
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ set(OPENFAST_MODULES
elastodyn
beamdyn
subdyn
seastate
hydrodyn
orcaflex-interface
extptfm
Expand Down
Binary file not shown.
Binary file modified docs/OtherSupporting/HydroDyn/HydroDyn_WaveStretching_Plan.docx
Binary file not shown.
Binary file modified docs/OtherSupporting/OutListParameters.xlsx
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions docs/source/testing/regression_test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ configuration as described in the following sections.

In both modes of execution a directory is created in the build directory
called ``reg_tests`` where all of the input files for the test cases are copied
(but not overwritten)
and all of the locally generated outputs are stored. Ultimately, both CTest and
the manual execution program call a series of Python scripts and libraries in
``reg_tests`` and ``reg_tests/lib``. One such script is ``lib/pass_fail.py``
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user/aerodyn/examples/ad_driver_example.dvr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ False Echo - Echo input parameters to "<rootname>.ech"?
3 AnalysisType - {1: multiple turbines, one simulation, 2: one turbine, one time-dependent simulation, 3: one turbine, combined cases}
11.0 TMax - Total run time [used only when AnalysisType/=3] (s)
0.5 DT - Simulation time step [used only when AnalysisType/=3] (s)
"./AD.dat" AeroFile - Name of the primary AeroDyn input file
"ad_primary_example.dat" AeroFile - Name of the primary AeroDyn input file
----- Environmental Conditions ----------------------------------------------------------
1025 FldDens - Density of working fluid (kg/m^3)
1.4639E-05 KinVisc - Kinematic viscosity of working fluid (m^2/s)
Expand All @@ -19,7 +19,7 @@ False Echo - Echo input parameters to "<rootname>.ech"?
"unused" InflowFile - Name of the InflowWind input file [used only when CompInflow=1]
9.0 HWindSpeed - Horizontal wind speed [used only when CompInflow=0 and AnalysisType=1] (m/s)
140 RefHt - Reference height for horizontal wind speed [used only when CompInflow=0] (m)
0.10 PLExp - Power law exponent [used only when CompInflow=0 and AnalysisType=1] (-)
0.10 PLExp - Power law exponent [used only when CompInflow=0 and AnalysisType=1] (-)
----- Turbine Data ----------------------------------------------------------------------
1 NumTurbines - Number of turbines
----- Turbine(1) Geometry ---------------------------------------------------------------
Expand Down
66 changes: 36 additions & 30 deletions docs/source/user/aerodyn/examples/ad_primary_example.dat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description line that will be printed in the output file and written to the scre
====== General Options ============================================================================
True Echo - Echo the input to "<rootname>.AD.ech"? (flag)
"default" DTAero - Time interval for aerodynamic calculations {or "default"} (s)
1 WakeMod - Type of wake/induction model (switch) {0=none, 1=BEMT, 2=DBEMT, 3=OLAF} [WakeMod cannot be 2 or 3 when linearizing]
1 WakeMod - Type of wake/induction model (switch) {0=none, 1=BEMT, 2=DBEMT, 3=OLAF} [WakeMod cannot be 2 or 3 when linearizing]
1 AFAeroMod - Type of blade airfoil aerodynamics model (switch) {1=steady model, 2=Beddoes-Leishman unsteady model} [AFAeroMod must be 1 when linearizing]
0 TwrPotent - Type of tower influence on wind based on potential flow around the tower (switch) {0=none, 1=baseline potential flow, 2=potential flow with Bak correction}
0 TwrShadow - Calculate tower influence on wind based on downstream tower shadow (switch) {0=none, 1=Powles model, 2=Eames model}
Expand Down Expand Up @@ -33,10 +33,12 @@ True TIDrag - Include the drag term in the tangential-induc
2 DBEMT_Mod - Type of dynamic BEMT (DBEMT) model {1=constant tau1, 2=time-dependent tau1, 3=constant tau1 with continuous formulation} (-) [used only when WakeMod=2]
4 tau1_const - Time constant for DBEMT (s) [used only when WakeMod=2 and DBEMT_Mod=1 or 3]
====== OLAF -- cOnvecting LAgrangian Filaments (Free Vortex Wake) Theory Options ================== [used only when WakeMod=3]
"unused" OLAFInputFileName - Input file for OLAF [used only when WakeMod=3]
"unused" OLAFInputFileName - Input file for OLAF [used only when WakeMod=3]
====== Beddoes-Leishman Unsteady Airfoil Aerodynamics Options ===================================== [used only when AFAeroMod=2]
1 UAMod - Unsteady Aero Model Switch (switch) {2=B-L Gonzalez, 3=B-L Minnema/Pierce, 4=B-L HGM 4-states, 5=B-L 5 states, 6=Oye, 7=Boeing-Vertol} [used only when AFAeroMod=2]
1 UAMod - Unsteady Aero Model Switch (switch) {2=B-L Gonzalez, 3=B-L Minnema/Pierce, 4=B-L HGM 4-states, 5=B-L HGM+vortex 5 states, 6=Oye, 7=Boeing-Vertol} [used only when AFAeroMod=2]
FALSE FLookup - Flag to indicate whether a lookup for f' will be calculated (TRUE) or whether best-fit exponential equations will be used (FALSE); if FALSE S1-S4 must be provided in airfoil input files (flag) [used only when AFAeroMod=2]
0.25 UAStartRad - Starting radius for dynamic stall (fraction of rotor radius [0.0,1.0]) [used only when AFAeroMod=2; if line is missing UAStartRad=0]
0.95 UAEndRad - Ending radius for dynamic stall (fraction of rotor radius [0.0,1.0]) [used only when AFAeroMod=2; if line is missing UAEndRad=1]
====== Airfoil Information =========================================================================
1 AFTabMod - Interpolation method for multiple airfoil tables {1=1D interpolation on AoA (first table only); 2=2D interpolation on AoA and Re; 3=2D interpolation on AoA and UserProp} (-)
1 InCol_Alfa - The column in the airfoil tables that contains the angle of attack (-)
Expand All @@ -61,27 +63,30 @@ True UseBlCm - Include aerodynamic pitching moment in calcul
"Test01_UAE_AeroDyn_blade.dat" ADBlFile(2) - Name of file containing distributed aerodynamic properties for Blade #2 (-) [unused if NumBl < 2]
"Test01_UAE_AeroDyn_blade.dat" ADBlFile(3) - Name of file containing distributed aerodynamic properties for Blade #3 (-) [unused if NumBl < 3]
====== Hub Properties ============================================================================== [used only when Buoyancy=True]
0.0 VolHub - Hub volume (m^3)
0.0 HubCenBx - Hub center of buoyancy x direction offset (m)
0 VolHub - Hub volume (m^3)
0 HubCenBx - Hub center of buoyancy x direction offset (m)
====== Nacelle Properties ========================================================================== [used only when Buoyancy=True]
0.0 VolNac - Nacelle volume (m^3)
0.0, 0.0, 0.0 NacCenB - Position of nacelle center of buoyancy from yaw bearing in nacelle coordinates (m)
0 VolNac - Nacelle volume (m^3)
0, 0, 0 NacCenB - Position of nacelle center of buoyancy from yaw bearing in nacelle coordinates (m)
====== Tail Fin Aerodynamics =======================================================================
False TFinAero - Calculate tail fin aerodynamics model (flag)
"unused" TFinFile - Input file for tail fin aerodynamics [used only when TFinAero=True]
====== Tower Influence and Aerodynamics ============================================================ [used only when TwrPotent/=0, TwrShadow/=0, TwrAero=True, or Buoyancy=True]
5 NumTwrNds - Number of tower nodes used in the analysis (-) [used only when TwrPotent/=0, TwrShadow/=0, TwrAero=True, or Buoyancy=True]
TwrElev TwrDiam TwrCd TwrTI (used only with TwrShadow=2) TwrCb (used only with Buoyancy=True)
(m) (m) (-) (-) (-)
0.0000000E+00 6.0000000E+00 0.0000000E+00 1.0000000E-01 0.0
2.0000000E+01 5.5000000E+00 0.0000000E+00 1.0000000E-01 0.0
4.0000000E+01 5.0000000E+00 0.0000000E+00 1.0000000E-01 0.0
6.0000000E+01 4.5000000E+00 0.0000000E+00 1.0000000E-01 0.0
8.0000000E+01 4.0000000E+00 0.0000000E+00 1.0000000E-01 0.0
TwrElev TwrDiam TwrCd TwrTI TwrCb ! TwrTI used only when TwrShadow=2; TwrCb used only when Buoyancy=True
(m) (m) (-) (-) (-)
0.0000000E+00 6.0000000E+00 0.0000000E+00 1.0000000E-01 0.0000000E+00
2.0000000E+01 5.5000000E+00 0.0000000E+00 1.0000000E-01 0.0000000E+00
4.0000000E+01 5.0000000E+00 0.0000000E+00 1.0000000E-01 0.0000000E+00
6.0000000E+01 4.5000000E+00 0.0000000E+00 1.0000000E-01 0.0000000E+00
8.0000000E+01 4.0000000E+00 0.0000000E+00 1.0000000E-01 0.0000000E+00
====== Outputs ====================================================================================
True SumPrint - Generate a summary file listing input options and interpolated properties to "<rootname>.AD.sum"? (flag)
True SumPrint - Generate a summary file listing input options and interpolated properties to "<rootname>.AD.sum"? (flag)
4 NBlOuts - Number of blade node outputs [0 - 9] (-)
1, 3, 4, 6 BlOutNd - Blade nodes whose values will be output (-)
0 NTwOuts - Number of tower node outputs [0 - 9] (-)
1 TwOutNd - Tower nodes whose values will be output (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
"B1N1VDisx, B1N1VDisy, B1N1VDisz" ! disturbed wind velocity at Blade 1, Node 1
"B1N2VDisx, B1N2VDisy, B1N2VDisz" ! disturbed wind velocity at Blade 1, Node 2
"B1N3VDisx, B1N3VDisy, B1N3VDisz" ! disturbed wind velocity at Blade 1, Node 3
Expand All @@ -93,18 +98,19 @@ True SumPrint - Generate a summary file listing input option
"B1N1Alpha, B1N2Alpha, B1N3Alpha"
"B1N1Theta, B1N2Theta, B1N3Theta"
END of OutList section (the word "END" must appear in the first 3 columns of the last OutList line)
====== Outputs for all blade stations (same ending as above for B1N1.... ============================ [optional section]
1 BldNd_BladesOut - Number of blades to output all node information at. Up to number of blades on turbine. (-)
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
"Fx, Fy"
"Vx, Vy"
Vrel
TnInd
AxInd
Theta
Phi
Vindx
Vindy
Alpha
====== Outputs for all blade stations (same ending as above for B1N1.... =========================== [optional section]
1 BldNd_BladesOut - Number of blades to output all node information at. Up to number of blades on turbine. (-)
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
"Fx, Fy"
"Vx, Vy"
"Vrel"
"TnInd"
"AxInd"
"Theta"
"Phi"
"Vindx"
"Vindy"
"Alpha"
END (the word "END" must appear in the first 3 columns of this last OutList line in the optional nodal output section)
====================================================================================================
23 changes: 12 additions & 11 deletions docs/source/user/beamdyn/examples/bd_primary_nrel_5mw.inp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ True RotStates - Orient states in the rotating frame during line
---------------------- PITCH ACTUATOR PARAMETERS -------------------------------
False UsePitchAct - Whether a pitch actuator should be used (flag)
200 PitchJ - Pitch actuator inertia (kg-m^2) [used only when UsePitchAct is true]
2E+07 PitchK - Pitch actuator stiffness (kg-m^2/s^2) [used only when UsePitchAct is true]
20000000 PitchK - Pitch actuator stiffness (kg-m^2/s^2) [used only when UsePitchAct is true]
500000 PitchC - Pitch actuator damping (kg-m^2/s) [used only when UsePitchAct is true]
---------------------- OUTPUTS -------------------------------------------------
True SumPrint - Print summary data to "<RootName>.sum" (flag)
Expand All @@ -92,17 +92,18 @@ True SumPrint - Print summary data to "<RootName>.sum" (flag)
"N1Mxl,N1Myl,N1Mzl"
"TipTDxr, TipTDyr, TipTDzr"
"TipRDxr, TipRDyr, TipRDzr"
END of input file (the word "END" must appear in the first 3 columns of the last OutList line)
END of OutList section (the word "END" must appear in the first 3 columns of the last OutList line)
====== Outputs for all blade stations (same ending as above for B1N1.... =========================== (optional section)
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
"TDxr, TDyr, TDzr"
"TVxr, TVyr, TVzr"
"TAxr, TAyr, TAzr"
"RDxr, RDyr, RDzr"
"RVxr, RVyr, RVzr"
"RAxr, RAyr, RAzr"
"Fxr, Fyr, Fzr"
"TDxr, TDyr, TDzr"
"TVxr, TVyr, TVzr"
"TAxr, TAyr, TAzr"
"RDxr, RDyr, RDzr"
"RVxr, RVyr, RVzr"
"RAxr, RAyr, RAzr"
"Fxr, Fyr, Fzr"
"TipTDxr, TipTDyr, TipTDzr"
"TipRDxr, TipRDyr, TipRDzr"
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
END (the word "END" must appear in the first 3 columns of this last OutList line in the optional nodal output section)
--------------------------------------------------------------------------------
4 changes: 0 additions & 4 deletions docs/source/user/hydrodyn/appendix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,6 @@ structure::
1.0 2.0 3.0 4.0 5.0 6.0 uMorisonInSteady - input displacements and rotations for the morison elements (m, rads)
7.0 8.0 9.0 10.0 11.0 12.0 uDotMorisonInSteady - input translational and rotational velocities for the morison elements (m/s, rads/s)
13.0 14.0 15.0 16.0 17.0 18.0 uDotDotMorisonInSteady - input translational and rotational acccelerations for the morison elements (m/s^2, rads/s^2)
---------------------- Waves multipoint elevation output -------------------------------
TRUE WaveElevSeriesFlag - T/F flag to calculate the wave elevation field (for movies)
5.0 5.0 WaveElevDX WaveElevDY - WaveElevSeries spacing -- WaveElevDX WaveElevDY
3 3 WaveElevNX WaveElevNY - WaveElevSeries points -- WaveElevNX WaveElevNY
END of driver input file

.. _hd-output-channels:
Expand Down
Loading