-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from IEAWindTask37/develop
ROSCO v2.9, fix mooring diameter to be "volume equivalent"
- Loading branch information
Showing
8 changed files
with
196 additions
and
132 deletions.
There are no files selected for viewing
131 changes: 78 additions & 53 deletions
131
OpenFAST/IEA-15-240-RWT-Monopile/IEA-15-240-RWT-Monopile_DISCON.IN
Large diffs are not rendered by default.
Oops, something went wrong.
131 changes: 78 additions & 53 deletions
131
OpenFAST/IEA-15-240-RWT-UMaineSemi/IEA-15-240-RWT-UMaineSemi_DISCON.IN
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
OpenFAST/IEA-15-240-RWT/ServoData/update_libdiscon_extension.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import glob | ||
import os | ||
from rosco import discon_lib_path | ||
|
||
if __name__ == "__main__": | ||
this_dir = os.path.dirname(os.path.abspath(__file__)) | ||
servo_list = glob.glob(os.path.join(this_dir, '../../*/*Servo*.dat')) | ||
|
||
for ifile in servo_list: | ||
# Read in current ServoDyn file | ||
with open(ifile, "r") as f: | ||
lines = f.readlines() | ||
|
||
# Write correction | ||
with open(ifile, "w") as f: | ||
for line in lines: | ||
if line.find("DLL_FileName") >= 0: | ||
f.write(f"\"{discon_lib_path}\" DLL_FileName - Name/location of the dynamic library (.dll [Windows] or .so [Linux]) in the Bladed-DLL format (-) [used only with Bladed Interface]\n") | ||
else: | ||
f.write(line) | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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