Search found 565 matches

by Bonnie.Jonkman
Mon Jan 22, 2018 9:35 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Instructions for Compiling FAST
Replies: 246
Views: 128022

Re: Instructions for Compiling FAST

Hi, Luca.

Looks like you have a linking error, likely due to some path incorrect path.
I'd recommend cloning the OpenFAST repository on GitHub (https://github.com/OpenFAST/openfast) and using cmake. If you have questions about compiling it, you can post in the GitHub Issues page there.
by Bonnie.Jonkman
Mon Jan 22, 2018 9:28 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Compiling Turbsim v2.00.01a-bjj
Replies: 2
Views: 1447

Re: Compiling Turbsim v2.00.01a-bjj

TurbSim v2.0 uses v2.x of NWTC Library. I would not recommend using the Build.bat file for compilation; instead I would use the Visual Studio project file that should be part of the archive. Alternatively, NREL has recently added TurbSim to the OpenFAST repository on GitHub. You can fork/clone the h...
by Bonnie.Jonkman
Mon Jan 22, 2018 9:15 pm
Forum: Inflow Turbulence
Topic: The Risø Smooth-Terrain Model
Replies: 2
Views: 4542

Re: The Risø Smooth-Terrain Model

I don't have my notes on these models anymore, but the code documents the two values as follows: phiM = 1.0 + 4.7*zL ! Non-Dimensional Wind Shear phiE = (1.0 + 2.5*zL^0.6)^(3/2) where zL is a stability parameter based on RICH_NO : if (RICH_NO <= 0) zL = RICH_NO else if (RICH_NO <= 1/6) zL = RICH_NO ...
by Bonnie.Jonkman
Mon Aug 21, 2017 9:15 am
Forum: Inflow Turbulence
Topic: API wind spectrum
Replies: 18
Views: 7590

Re: API wind spectrum

Hi, Luigia.

I added an x64 version to the TurbSim release, but have not tested it at all.
by Bonnie.Jonkman
Fri Aug 18, 2017 2:56 pm
Forum: Inflow Turbulence
Topic: API wind spectrum
Replies: 18
Views: 7590

Re: API wind spectrum

Hi, Luigia. I'm not sure why you got the subscript out of range error in the debugger. However, I compiled with the /fpe-all:0 option, which makes the compiler stop any time there is a IEEE numeric issue (underflow, overflow, NaN, Inf, etc.). It flagged a line in the Spec_API() routine, which I then...
by Bonnie.Jonkman
Thu Jan 05, 2017 8:38 am
Forum: Computer-Aided Engineering Software Tools
Topic: unable to load imagehlp.dll
Replies: 2
Views: 1235

Re: unable to load imagehlp.dll

Imagehlp.dll is part of the Win32 API (see c:\Windows\system32). It's typically used for debugging, but even if you turn off all debugging features when you compile, there is still a dependency on this dll. It's used if/when your code crashes. You can delay loading this library so that it doesn't ge...
by Bonnie.Jonkman
Fri Nov 04, 2016 9:58 am
Forum: Computer-Aided Engineering Software Tools
Topic: FAST_Sizes function
Replies: 1
Views: 1166

Re: FAST_Sizes function

These functions exist in the FAST_Library.f90 (Fortran) file, which also needs the rest of the FAST source code (primarily in Fortran, but the MAP++ module is C code). In a typical Simulink mex-function, you'd compile (outside of Matlab) MAP++ as a dynamic library, then compile FAST_Library as a dyn...
by Bonnie.Jonkman
Fri Nov 04, 2016 9:51 am
Forum: Computer-Aided Engineering Software Tools
Topic: Probelem with FAST_Sizes using Simulink: undefined symbol "FAST_Sizes"
Replies: 1
Views: 991

Re: Probelem with FAST_Sizes using Simulink: undefined symbol "FAST_Sizes"

FAST_Sizes is a routine in the FAST_Library, which must be linked with the mex function you generate in Matlab. If it's telling you the symbol is undefined, it probably can't find the FAST_Library dynamic library.
by Bonnie.Jonkman
Thu Nov 03, 2016 7:51 pm
Forum: Computer-Aided Engineering Software Tools
Topic: problem with FAST on MATLAb/Simulink
Replies: 7
Views: 1575

Re: problem with FAST on MATLAb/Simulink

If you use Run_OpenLoop.m, run it from the directory where it is located in the FAST archive. It looks like you are in the CertTest directory instead of the Simulink/Samples directory. If you do decide to move that file, you'll have to change the location where it's looking for the FAST input file(s...
by Bonnie.Jonkman
Mon Oct 17, 2016 3:06 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Compiling FAST 8 - Windows 10
Replies: 1
Views: 960

Re: Compiling FAST 8 - Windows 10

Hi, Elham.

I haven't seen this error before (but I haven't tried the 2017 compiler, either). The first thing I would try is to remove the "ABSTRACT" from the OrcaFlexInterface.f90 specification near line 107. Change

Code: Select all

ABSTRACT INTERFACE
to

Code: Select all

INTERFACE
and see if it works when you recompile.
by Bonnie.Jonkman
Thu Sep 29, 2016 7:25 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Problems plotting FAST results with PlotCertTestResults.m
Replies: 13
Views: 6020

Re: Problems plotting FAST results with PlotCertTestResults.m

Your comment about TStart indicated a problem in PlotFASToutput's call to the function that calculates the PSD. I was not computing the delta frequency with TStart, so we ended up with some strange results when TStart isn't 0. I have fixed the code in the MATLAB_Toolbox git repo, here: https://githu...
by Bonnie.Jonkman
Tue Sep 27, 2016 9:01 am
Forum: Inflow Turbulence
Topic: Linking measured wind data from LIDAR to Turbsim
Replies: 10
Views: 11382

Re: Linking measured wind data from LIDAR to Turbsim

The LIDAR can only be used in the Simulink interface with FAST. Perhaps this document will help answer where you need to initialize things:

https://github.com/NWTC/FAST/blob/maste ... ulink.docx
by Bonnie.Jonkman
Mon Sep 26, 2016 9:21 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Problems plotting FAST results with PlotCertTestResults.m
Replies: 13
Views: 6020

Re: Problems plotting FAST results with PlotCertTestResults.m

Hi, Yingyi Liu. I plotted the CertTest 03 results using the PlotFASToutput() function, using the normalization you specified. My results match up with the nP frequencies, as you'd expect. So, I'm not sure what you are plotting. I did verify that you have the same time series (at least for the first ...
by Bonnie.Jonkman
Wed Sep 07, 2016 7:11 am
Forum: Computer-Aided Engineering Software Tools
Topic: How to change the mxCreateCellMatrix and mxCreateString in FAST_SFunc.c
Replies: 3
Views: 1883

Re: How to change the mxCreateCellMatrix and mxCreateString in FAST_SFunc.c

This sounds like a similar error people had when compiling with certain C compilers that don't have a min() function defined automatically. You can search this forum to see if/how anyone solved it.
by Bonnie.Jonkman
Wed Sep 07, 2016 7:09 am
Forum: Computer-Aided Engineering Software Tools
Topic: Problems plotting FAST results with PlotCertTestResults.m
Replies: 13
Views: 6020

Re: Problems plotting FAST results with PlotCertTestResults.m

As shown above, the easiest syntax is if you are plotting one file: PlotFASToutput({'fileName'}) where fileName is the name of the FAST output file you want to plot (either .out or .outb) If you want to plot multiple files, you can use this syntax: PlotFASToutput({'fileName1','fileName2'},{'Text des...

Go to advanced search