Search found 560 matches

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

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

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

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

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

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

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

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

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

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

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...
by Bonnie.Jonkman
Fri Sep 02, 2016 8:38 am
Forum: Computer-Aided Engineering Software Tools
Topic: help for remexing FAST S-function
Replies: 3
Views: 1280

Re: help for remexing FAST S-function

Zhongyou, It looks like the code has compiled successfully, but it fails on the linking stage. Unfortunately, I can't tell what exactly the problem is. I'd first check double check your path, include, and lib variables. If they look okay, verify that LINKFLAGS doesn't have anything missing (or anyth...
by Bonnie.Jonkman
Fri Sep 02, 2016 8:24 am
Forum: Computer-Aided Engineering Software Tools
Topic: How to change the mxCreateCellMatrix and mxCreateString in FAST_SFunc.c
Replies: 3
Views: 1712

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

You could just ignore that code. If you need the channel names in your simulink model, you can either hard-code them or read the channel names from the FAST summary file that is generated.
by Bonnie.Jonkman
Tue Aug 16, 2016 8:21 am
Forum: Computer-Aided Engineering Software Tools
Topic: LIDAR for FAST8
Replies: 3
Views: 1616

Re: LIDAR for FAST8

Elham,

There is a little bit of documentation on using the Lidar module in FAST8 for Simulink here: https://github.com/NWTC/FAST/blob/maste ... ulink.docx
by Bonnie.Jonkman
Mon Aug 15, 2016 1:34 pm
Forum: Computer-Aided Engineering Software Tools
Topic: TMDs in ServoDyn module
Replies: 11
Views: 2415

Re: TMDs in ServoDyn module

This post was a duplicate of viewtopic.php?f=4&t=1611&p=7582#p7545, and I posted my response there.

Please don't post the same question under multiple topics.
by Bonnie.Jonkman
Wed Aug 10, 2016 11:22 am
Forum: Computer-Aided Engineering Software Tools
Topic: How to Compile FAST_v7.02.00d-bjj to get a FAST.exe file?
Replies: 10
Views: 2438

Re: How to Compile FAST_v7.02.00d-bjj to get a FAST.exe file?

The error message says it can't find IFPORT, which is an Intel-internal module. As the message indicates, you probably have a problem in your INCLUDE path in the FortranOptionsFile batch file. Please see this post for detail instructions on setting the correct PATH, INCLUDE, and LIB values for compi...

Go to advanced search