Search found 553 matches

by Bonnie.Jonkman
Tue Apr 10, 2018 12:51 pm
Forum: Computer-Aided Engineering Software Tools
Topic: problem with Using Fast V8 by microsoft visual studio c/c++ 2013
Replies: 5
Views: 1582

Re: problem with Using Fast V8 by microsoft visual studio c/c++ 2013

Hi, Xioming. The pre-compiled FAST Library was really designed to be used with Simulink, which is why it is linking with Matlab libraries. If you aren't going to be using this in Matlab, you can compile with the SysIVF.f90 file instead of SysMatlab.f90 and then remove the Matlab libraries from the l...
by Bonnie.Jonkman
Mon Feb 12, 2018 8:33 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Stand-alone BeamDyn - How to input multiple point loads?
Replies: 5
Views: 1666

Re: Stand-alone BeamDyn - How to input multiple point loads?

Envision Energy modified the BeamDyn driver to allow multi-point loading. When our code for this was merged into the OpenFAST repository, we did not include documentation, which appears to be the cause of most of the confusion here. The multi-point loads are specified at the end of the APPLIED FORCE...
by Bonnie.Jonkman
Wed Jan 31, 2018 12:47 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Question about running FAST 8 in Simulink
Replies: 25
Views: 2819

Re: Question about running FAST 8 in Simulink

This looks like it is caused by a memory leak or not calling the FAST_End() routine at the end of the S function. The HydroDyn summary file probably gets closed in FAST_End(), so that's what I would look at first. How did you stop the simulation? FAST_End should be called with the S-function mdlTerm...
by Bonnie.Jonkman
Mon Jan 22, 2018 9:35 pm
Forum: Computer-Aided Engineering Software Tools
Topic: Instructions for Compiling FAST
Replies: 198
Views: 108789

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: 1118

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: 3298

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: 10
Views: 3933

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: 10
Views: 3933

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: 929

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: 967

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: 788

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: 1058

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: 686

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: 5223

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: 9209

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

Go to advanced search