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

FASTlink、OrcaFlex #2583

Open
gxinru opened this issue Dec 23, 2024 · 8 comments
Open

FASTlink、OrcaFlex #2583

gxinru opened this issue Dec 23, 2024 · 8 comments

Comments

@gxinru
Copy link

gxinru commented Dec 23, 2024

I want to run FAST and OrcaFlex co-simulation, I have the following problem after setting up according to the User's Guide to using OrcaFlexInterface in FAST v8, how can I fix this error, the file that cannot be loaded is my orcaflex model.

屏幕截图 2024-12-23 140425
屏幕截图 2024-12-23 142926

@jjonkman
Copy link
Collaborator

Dear @gxinru,

Are using FAST v8.16 or something else?

Do you have a FASTlinkDLL64.dll file stored in directory your E:\orcaflex\K03 15MW semi-sub FOWT directory as the error is asking?

Are you using a FAST link DLL provided by Orcina? I'm not sure if you renamed it, but the FAST Link DLL provided by Orcina for FAST v8.16 was called FASTlinkDLL_x64.dll.

Best regards,

@gxinru
Copy link
Author

gxinru commented Dec 24, 2024

Dear @jjonkman ,
Thanks for your reply.I'm using is FAST v3.5.1 and Orcaflex11.4.
I do store the dll in the E:\orcaflex\K03 15MW semi-sub FOWT directory.
屏幕截图 2024-12-24 175517
I downloaded the FASTlink.zip on the Orcina website and didn't rename.I wonder if it's a software version issue or a problem with my input files.

@gxinru
Copy link
Author

gxinru commented Dec 24, 2024

I found that if my FAST files are all on the D drive, but my OrcaFlex input file path is the same, the error will become the path where the D drive cannot be opened. It doesn't seem that I can't open the orcaflex model, but that OrcaFlex Interface can't open my FAST file path?
屏幕截图 2024-12-24 223339
屏幕截图 2024-12-24 211445

@deslaughter
Copy link
Collaborator

There are a couple of things to check because OpenFAST returns the same error message if any of the following errors occur:

  1. The path to the DLL is incorrect (try using a path without spaces instead of IEA-15-240-RWT-UMaineSemi - link)
  2. The DLL was not compiled for a 64-bit system, but OpenFAST is 64-bit (use the instructions at https://stackoverflow.com/questions/495244/how-can-i-test-a-windows-dll-file-to-determine-if-it-is-32-bit-or-64-bit to test if DLL is 64-bit)
  3. The DLL is dynamically linked to another DLL that is not on the user's system (see Servodyn unable to load libdiscon.so on linux based HPC resource #2511 for a Linux example). On Windows, download https://www.dependencywalker.com/ and use it to open the DLL file. It will show a list of DLLs that the controller DLL depends on. The user then needs to get those installed on the system and verify that they can be found when loading the DLL using Dependency Walker.

I expect that you do have a 64-bit DLL since it has 64 in the file name. I'd take a look at option 3 first.

@gxinru
Copy link
Author

gxinru commented Dec 31, 2024

Thank you very much for your answer. I think it may be a problem with the FAST version, so I switched to version v8.16, but there were new issues
Uploading 屏幕截图 2024-12-31 174635.png…

@jjonkman
Copy link
Collaborator

jjonkman commented Jan 1, 2025

Dear @gxinru,

I don't see that your image showing the "new issues" is showing up in your post. Can you reshare or explain what the new issue is?

Best regards,

@gxinru
Copy link
Author

gxinru commented Jan 10, 2025

Dear @jjonkman ,
Sorry for the late reply.The last time I asked was a failed to read the file, which was fixed after I modified the fst file format to v8.16, but now a new problem has appeared, and the error shows as follows:
屏幕截图 2025-01-10 202821
I looked at the file on the initial values and found that there is no difference, how can I fix this problem?
屏幕截图 2025-01-10 203138
屏幕截图 2025-01-10 203237
Best regards,

@gxinru gxinru closed this as completed Jan 10, 2025
@gxinru gxinru reopened this Jan 10, 2025
@jjonkman
Copy link
Collaborator

Dear @gxinru,

Given that your error arises from the OrcaFlex side of the interface, I would suggest reaching out to Orcina technical support for help.

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants