Inclusion of MoorDyn, floating platform orientations, and general adjustments to OF v.4 - An effort to integrate FAModel to generate FAST.Farm input files.#40
Merged
rthedin merged 16 commits intoOpenFAST:mainfrom Mar 24, 2025
Conversation
…ng FASTFarmCeseCreation Class: 1) Adding MoorDyn input file (either in .fst files [individual MoorDyn files] or in .fstf file [holistic (or shared) MoorDyn file]. 2) Allowing HydroDyn input file to be platform-dependent in FASTFarmCaseCreation. 3) Adding platform rotation as an additional input parameter into FASTFarmCaseCreation for floating systems. 4) Adding SeaState input file to be copied (OF v4.0). 5) Allowing copying files without ServoDyn. 6) Adjusting codes to fit all previously mentioned changes
1) Platform rotation is an optional setting to rotate platforms given FAD/FAM models. 2) TS_low_setup and high can output .inp filenames when called
1- Copying hydro data files 2- Fixing yaw angle to be between -180 and 180 3- General fixes here and there.
1) Pointing to the correct location of MoorDyn. 2) Outputing the correct name of MoorDyn file. 3) Other fixes.
A flag is given to setTemplateFilename method that determines whether to use a single or multiple HD or MD files.
Collaborator
|
Some updates to this PR:
To-do:
|
1) When HydroDyn is enabled, SeaState must be used. 2) The wts table input check is corrected to match the dictionary nature of wts. 3) Addition of __init__.py in the fastfarm directory.
Collaborator
|
Hey Rudy - any updates regarding ongoing tests of this branch? Have you encountered any issues? |
Contributor
Author
|
Hello @rthedin. So far, I haven't had any issues with the new implementations. Feel free to merge how you see fit. We can branch out if/when we want to implement mooring system and bathymetry rotations later on. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes to FFarmCaseCreation class includes:
phias an input inside thewtstable given to FFCaseCreation. Thisphiadjusts platform heading in ED (with an additional care for yaw_init), adjusts platform yaw reference value in HD, and MD is made sure has the unrotated fairlead coordinates in the local reference frame.A high-level diagram of information flow is given here:

This update has the capability to generate a wind farm with their shared mooring systems as shown in this 2-turbine example:

Overall Updates
Adding MoorDyn input file (either in .fst files [individual MoorDyn files] or in .fstf file [holistic (or shared) MoorDyn file] based on a
multi_MDflag insetTemplateFileNamemethod. The same goes formulti_HDas well to allow platform-dependent HydroDyn files. The user should know beforehand whether a single or multiple input files are required and name the filenames accordingly.Hydrodata related to the floater is copied and pasted to the case folder
Adding platform rotation as an additional input parameter
Converting sea state conditions from HydroDyn into SeaState module as per OpenFast version 4.0 and above.
Allowing copying files without ServoDyn.
Platform rotation is optional. If the user is simulating a fixed-bottom or land-based wind farm, they can turn the
ptfm_rotflag off and that will zero off the phi value in the wind farm table.