Giter VIP home page Giter VIP logo

Comments (5)

jjonkman avatar jjonkman commented on July 18, 2024

Dear @lingajiang,

I agree that the TIMESR feature of TurbSim can only be used to derive full-field turbulent wind fields by time-matching the wind velocity time series measured at one point. The ability to time-match from multiple point measurements is a reasonable enhancement of TurbSim to propose.

That said, DTU has released their PyConTurb code, which is similar to the TIMESR feature of TurbSim, but does support time-matching from multiple point measurements. We have used PyConTurb at NREL when we want to do that.

In your case, however, it sounds like you have data at a very fine spatial resolution of point measurements (considering that we typically recommend using a spatial discretization equal to the maximum chordlength of a blade), so, I'm not sure why you would need to add finer resolution of turbulence at all. (Perhaps you need finer discretization in time?) Instead, I would suggest that you simply convert your data into TurbSim format for use within OpenFAST. While I have not used this script myself, there is a Python script in the OpenFAST Toolbox that can read and write TurbSim binary formatted output files: https://github.com/OpenFAST/openfast_toolbox/blob/main/openfast_toolbox/io/turbsim_file.py. This file format is described in Annex D of the TurbSim User's Guide: https://openfast.readthedocs.io/en/main/_downloads/cb14d3e2d3533d76e405d730fea19846/TurbSim_v2.00.pdf.

Best regards,

from openfast.

bjonkman avatar bjonkman commented on July 18, 2024

Just to clarify, the TimeSR feature of TurbSim can already match more than one time history:
image
See an example input file here: https://github.com/OpenFAST/openfast/blob/main/docs/source/user/turbsim/examples/TurbSim_User.timeSeriesInput

But, as Jason said, if you already have measurements at all the (regularly spaced) points and don't need interpolation, you could just transform your measurements to the .wnd or .bts format that InflowWind can read, or you could read your own data format by modifying the InflowWind UserWind module.

from openfast.

lingajiang avatar lingajiang commented on July 18, 2024

Dear Jonkman
Please forgive me for not having enough ability to write code before, so combined with your suggestion: I wrote my data into a new.bts file through turbsim_file.py for FAST operation. I used visual studion2019 to compile and then run the fast program, do I still need to compile in python according to your suggestion? In addition, I found that you have written the file readfile_bts.m before, if you use readfile_bts.m to add the data to form a new.bts file, is it OK?

Thank you for your reply

from openfast.

jjonkman avatar jjonkman commented on July 18, 2024

Dear @lingajiang,

You don't need to compile Python. It sounds like you already successfully wrote a TurbSim binary file that can be used by OpenFAST.

From the MATLAB Toolbox, I did not personally develop readfile_BTS.m, but this script will read a TurbSim binary file into the MATLAB workspace. I'm not aware that an equivalent MATLAB-based script to write a TurbSim binary file has been developed, but I'm sure that would be possible using readfile_BTS.m as a starting point.

Best regards,

from openfast.

lingajiang avatar lingajiang commented on July 18, 2024

Dear Jonkman
Thank you for your reply
best wish for you.

from openfast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.