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

MoorDyn v2 C-bindings interface #848

Merged
merged 62 commits into from
Dec 13, 2022
Merged

Conversation

nrmendoza
Copy link
Contributor

@nrmendoza nrmendoza commented Sep 30, 2021

This is not ready to be merged until MD v2 PR (#750) is completed

Feature or improvement description
New python/C wrapper for MoorDyn module. Contains a "driver" script that calls individual MD subroutines that should go in r-test, a python library interface, and the fortran c-bound interface that will go with the MD source code.

Related issue, if one exists
Tied to MC v2 PR (#750 )

Impacted areas of the software
MoorDyn

Additional supporting information

Test results, if applicable
This code has been verified against MD v1 using the OC4 Semi test case.
MDverification

To Do List

  • VS Project and solution
  • Merge PR MoorDyn v2 + shared moorings + wave propagation in FAST.Farm #1086 (MD v2)
    • FAST Farm version
  • Move test case to regression test
    • Add test infrastructure
    • Add to ctest
    • Add results output
    • Read in external file for motions
  • Generalize and python-ize the test case @andrew-platt @rafmudaf
  • Verify compilation to single/double precision and other builds
  • Fix waves input
  • update api_change.rst
  • Decorator symbols for export are included

nrmendoza and others added 30 commits April 13, 2021 15:41
…variables to pass through C interface, 3) updated compilation instructions
This routine allows for passing an input file as one long string with C_NULL_CHAR deliations between lines of the input file
Set interface for InitFileInfo.
…nd fix broken test

Also reorder part of the InitFileInfo_FromStringArray routine
- Previously MD_Init incorrectly set mesh reference positions to the
  displaced positions of any coupled connections.
- This fix brings it inline with other versions, where reference
  position is set to relative location of connection point as given
  in input file, and initial offset is applied as a TranslationDisp.
Grabbing Matt's and ANdy's fix to MoorDyn.f90
@andrew-platt andrew-platt marked this pull request as ready for review December 7, 2022 23:26
@andrew-platt andrew-platt removed their request for review December 8, 2022 00:29
@rafmudaf
Copy link
Collaborator

rafmudaf commented Dec 9, 2022

@andrew-platt I looked through the CMake configuration and the testing infrastructure, and it all generally looks good to me.

@andrew-platt
Copy link
Collaborator

andrew-platt commented Dec 9, 2022

@andrew-platt andrew-platt merged commit 3271b81 into OpenFAST:dev Dec 13, 2022
@rafmudaf rafmudaf mentioned this pull request Dec 19, 2022
10 tasks
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.

4 participants