I was able to build with Visual-Studio2020 by creating a new fortran project as ‘‘Main Program Code’’ (fetched by toggling the language filter to Fortran) in VS and pasting the IECWind.f90 source code into the newly created sample ‘.f90’ file. After saving the file used ‘‘Build Solution’’ command to obtain ‘’.exe’’ file in the newly built ‘Debug’ file at the specified project location. (I have intel parallel studio compiler installed)
Good morning,
As discussed in the recent posts on this thread, I built my executable for IEC Wind using Visual Studio and Intel Fortran Compiler (I had the same problem as Moe Moe). I now have the executable in the “debug” folder inside the project location. However when I try to run it, I get the following error -
Microsoft Windows [Version 10.0.18363.1198]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\VishalSairam>“C:\Users\VishalSairam\Power Curve\Power Curve ApS - Files\R&D\openFAST\Exe_Files\IECWind\IECwind\Debug\IECwind.exe” “C:\Users\VishalSairam\Power Curve\Power Curve ApS - Files\R&D\openFAST\Exe_Files\IECWind\IECwind\Debug\IEC.ipt”
Cannot find file “IEC.IPT” in the current directory.
I have copy pasted the IEC.ipt file in the same location as the executable and still I got the same error. It would be very helpful to have some input on this issue.
Thanks in advance,
Vishal
Dear Vishal,
Do you get the same problem if you change the active working directory (CD) to “C:\Users\VishalSairam\Power Curve\Power Curve ApS - Files\R&D\openFAST\Exe_Files\IECWind\IECwind\Debug” and then type in the command prompt?:
IECWind.exe IEC.ipt
Best regards,
Dear Jason,
Thank you very much for your input, that resolved the problem
I am still unsure though, if I drag the openfast/TurbSim executable and the corresponding input file in the command window it works without having to change the directory in the command window whereas the IECWind executable does not (even though I built the executable in the same way). Would be nice to have your input on this
Best regards,
Vishal
Dear Vishal,
I think when you drag a file into the Command Window that the path gets copied automatically.
Best regards,
I’ve now also recompiled a Windows executable of IECWind from the source code and you can find that here: drive.google.com/file/d/17IJ0vP … sp=sharing.
Best regards,
Dear sir,
I generated wind file by IecWind,I get the .wnd wind file,so which module should I put the file into OpenFAST to run?
Best regards,
Dear @Hairui.Jiang,
Wind data is specified in OpenFAST within the InflowWind module input file.
Best regards,
Dear sir,
Thanks for your reply, but I tried to utilize InflowWind and failed, what should I set the type of wind to? Where should I put the .wnd generated by iecwind in InflowWind?
Best regards,
Dear @Hairui.Jiang,
IECWind generates files in the uniform wind format. You should use WindType
= 2 and specify your *.wnd file using Filename_Uni
.
Best regards,
Dear sir,
Thanks for your reply,I would like to ask what “V”、“H”、“+”、“–” and “1.5”stands for,
Best regards,
Dear @Hairui.Jiang,
“V” and “H” refer to “vertical” and “horizontal” in this deterministic Extreme Wind Shear (EWS) transient. “+” and “-” refer to “positive” and “negative” shear. “1.5” refers to IEC design load case (DLC) 1.5.
Best regards,
Dear sir,
Thank you for your reply, I would like to ask how to set the wind speed from 0m/s to the speed I want to set, say 11.4m/s, so that I can observe the movement of the floating turbine as the wind speed changes, like this
Best regards,
Dear @Hairui.Jiang,
The figure you took from the NREL 5-MW baseline specifications report was generated with distinct simulations at each wind speed, finding the steady state solution from each simulation, and plotting this solution as a function of wind speed.
You can, however, perform a similar analysis with a single simulation. For simple wind time histories, such as step changes in the wind speed, InflowWind’s simple uniform wind file format can be used, such as in the example attached to my post dated Mar '14 in the following forum topic: Beginner Guide for MATLAB Simulink and FAST - #12 by Jason.Jonkman.
Best regards,
Dear Sir,
The .exe provided here reports missing DLLs upon execution with input file.
Subham
Dear @Kashyap.Subham,
Can you clarify what error message you are receiving? I suggest sharing the full command window.
Best regards,
Dear Sir,
I have recompiled it using a compiler and gfortran with my friends help. Thanks.
Hi, can you share this .exe file with me. I am unable to compile it successfully. It will be very helpful. Thanks
Dear @Hardev.Talatiya,
Did you try the IECWind.exe I recompiled and shared in my post dated Jan 3, 2022 above?
Best regards,
Dear Jason,
Thank you for your quick response. Yes I had tried that. But it said that 2 dll files are missing : libfcoremdd.dll and libmmdd.dll. It then suggested reinstalling the program. Now I actually do not happen to have Fortran compiler and so I am kind of stuck here.
Thanks