-
Notifications
You must be signed in to change notification settings - Fork 506
New wavetank library for HIL simulations with AD+MD #3065
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
base: dev
Are you sure you want to change the base?
Conversation
This reverts commit 7a21c0b.
This reverts commit 76d7d57.
This reverts commit 3b9db94.
This reverts commit 6d34d28.
This reverts commit d6f6321.
This reverts commit 1d07a3f.
This reverts commit 895ec6f.
This reverts commit 77efd85.
This reverts commit 0a212c3.
This reverts commit 26143a6.
This reverts commit 4e0ace3.
…ction"" This reverts commit 794e94d.
This reverts commit b9b0d21.
This reverts commit 1005f47.
This reverts commit dd40353.
This reverts commit 93a33fd.
This reverts commit c0a607c.
This reverts commit 609acfa.
This reverts commit 4bc88df.
This reverts commit 70370c8.
This reverts commit 565837e.
This reverts commit c34b688.
This reverts commit 47200a4.
This reverts commit 11d9af7.
This reverts commit 6c9acd2.
This reverts commit 24ead49.
This reverts commit a89ef35.
This reverts commit f936833.
da55bfc to
7664528
Compare
- routines that WaveTimeShift had been added to no longer exist, so restructure the approach
30367e6 to
e159244
Compare
Without this approach, errors occur when making the _C_Binding.f90 for static and shared in parallel.
e159244 to
d0fb325
Compare
2cb508b to
224e772
Compare
Error handling in CalcLoadsAtWRP was not initialized
a393933 to
9ca10b3
Compare
| #-------------------------------------- | ||
| # Error levels | ||
| #-------------------------------------- | ||
| error_levels: Dict[int, str] = { | ||
| 0: "None", | ||
| 1: "Info", | ||
| 2: "Warning", | ||
| 3: "Severe Error", | ||
| 4: "Fatal Error" | ||
| } | ||
|
|
||
| # Debug output file: When coupled into another code, an array of position/orientation, | ||
| # velocities, and accelerations are passed in, and an array of Forces + Moments is | ||
| # returned. For debugging, it may be useful to dump all off this to a file. | ||
| debug_output_file: str = "DbgOutputs.out" | ||
| debug_outputs: int = 1 # For checking the interface, set this to 1 | ||
|
|
||
| #-------------------------------------- | ||
| # Constants | ||
| #-------------------------------------- | ||
| # NOTE: The length of the error message in Fortran is determined by the | ||
| # ErrMsgLen variable in the NWTC_Base.f90 file. If ErrMsgLen is modified, | ||
| # the corresponding size here must also be updated to match. | ||
| ERROR_MESSAGE_LENGTH: int = 8197 | ||
| DEFAULT_STRING_LENGTH: int = 1025 | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these included in the OpenFASTInterfaceType?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.
There is an inconsistency in the names used that I had not sorted out (ERROR_MSG_C_LEN in OpenFASTInterfaceType vs. ERROR_MESSAGE_LENGTH). Several of the other python libraries have this inconsistency.
I'll make an attempt to revise this, but it might take a bit of time. Alternatively, we can add it as an action item on the 5.0.0 release.
Initial commit, it doesn't work yet. Restructuring required.
There is a huge initial transient that needs addressing at some point
43c0c4b to
3a79346
Compare
copy of files from MHK_RM1_Floating_Tank-scaled case -- GH actions doesn't have this case copied in the integrations test
2d0357e to
44171ae
Compare
DRAFT not ready for merging
Feature or improvement description
Related issue, if one exists
None
Impacted areas of the software
Updates to following modules and interfaces:
AeroDyn_Inflow_C_BindinglibraryMoorDyn_C_BindinglibrarySeaState_C_BindinglibrarypyOpenFASTchangesNWTC_LibraryCUto a different value for writing to file instead of output to screen (used with LabView)some other details to fill out here
Additional supporting information
Test results, if applicable
New test case
Complete before ready for review