I understand that AeroDyn has the ability to superimpose coherent events onto background turbulence. I'm interested to know how AeroDyn uses the LES and DNS files from the EventData for TurbSim. I've been looking at the subroutines in CTWind.f90, but I'm not familiar enough with Fortran to make complete sense of the code. That all being said, I have some questions:
Does the actual adding of the coherent event happen in the subroutine LoadCTData? Specifically this line:
Vel(IYK,IZK,ITime) = CTScale(IComp)*Com(IY) + CTOffset(IComp)
If so, what do the arrays CTScale, Com, and CTOffset represent?
If not, will somebody point me in the right direction?
I appreciate the help.
Colin Slade
Brigham Young University
Superimposing of Coherent Events in AeroDyn
Moderators: Bonnie.Jonkman, Jason.Jonkman
-
- Posts: 2
- Joined: Tue Jan 18, 2011 8:56 am
- Organization: Brigham Young University
- Location: Provo, Utah
-
- Posts: 561
- Joined: Thu Nov 10, 2005 10:51 am
- Organization: Envision Energy USA
- Location: Colorado
- Location: Boulder, CO
- Contact:
Re: Superimposing of Coherent Events in AeroDyn
Hi, Colin.
In AeroDyn v13.00.00a-bjj, the superpositioning is done in function WindInf_GetVelocity() in InflowWindMod.f90. In that function, we first get a "background" wind speed from hub-height, full-field, 4-D, or user-defined wind fields (currently, it is only set to work with the full-field, though). Then, if we've requested coherent turbulence (i.e. CT_Flag is .TRUE.), we add the velocity CTWindSpeed to that background. CTWindSpeed is the velocity from the coherent event dataset at the requested time and position.
The equation
Vel(IYK,IZK,ITime) = CTScale(IComp)*Com(IY) + CTOffset(IComp)
is actually just converting the scaled 16-bit integer data read from the binary file into meaningful velocities. The CTScale and CTOffset variables perform the linear transformation of the 16-bit integers in variable Com. LoadCTData() reads the data into arrays (the subroutine is called once for each of the wind components) that are then interpolated when the wind speed (of just the coherent event dataset) is requested using function CT_GetWindSpeed(). The CTWind module contains all the code used to read, scale, and interpolate the binary data from TurbSim's coherent structures.
Hope that helps.
In AeroDyn v13.00.00a-bjj, the superpositioning is done in function WindInf_GetVelocity() in InflowWindMod.f90. In that function, we first get a "background" wind speed from hub-height, full-field, 4-D, or user-defined wind fields (currently, it is only set to work with the full-field, though). Then, if we've requested coherent turbulence (i.e. CT_Flag is .TRUE.), we add the velocity CTWindSpeed to that background. CTWindSpeed is the velocity from the coherent event dataset at the requested time and position.
The equation
Vel(IYK,IZK,ITime) = CTScale(IComp)*Com(IY) + CTOffset(IComp)
is actually just converting the scaled 16-bit integer data read from the binary file into meaningful velocities. The CTScale and CTOffset variables perform the linear transformation of the 16-bit integers in variable Com. LoadCTData() reads the data into arrays (the subroutine is called once for each of the wind components) that are then interpolated when the wind speed (of just the coherent event dataset) is requested using function CT_GetWindSpeed(). The CTWind module contains all the code used to read, scale, and interpolate the binary data from TurbSim's coherent structures.
Hope that helps.
Bonnie Jonkman
Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016
Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016
-
- Posts: 2
- Joined: Tue Jan 18, 2011 8:56 am
- Organization: Brigham Young University
- Location: Provo, Utah
Re: Superimposing of Coherent Events in AeroDyn
Thanks, Bonnie. I think I have it pretty much figured out now. I am missing just one piece now; where/how are the .ctp files generated?
-
- Posts: 561
- Joined: Thu Nov 10, 2005 10:51 am
- Organization: Envision Energy USA
- Location: Colorado
- Location: Boulder, CO
- Contact:
Re: Superimposing of Coherent Events in AeroDyn
You must create your own .ctp file, but you can start from a sample included in the TurbSim archive. The TurbSim User's Guide (http://wind.nrel.gov/designcodes/preprocessors/turbsim/TurbSim.pdf) also contains a description of the .ctp files, starting on page 44.
Bonnie Jonkman
Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016
Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016
-
- Posts: 22
- Joined: Sat Sep 12, 2015 3:41 pm
- Organization: university of agder
- Location: norway
Re: Superimposing of Coherent Events in AeroDyn
Hi Bonnie,
Is it possible to output a "FF" wind file after the coherence events are added by Aerodyn? As in, if I want to study the wind at the rotor hub and the blade tip. I see that out of FAST simulation outputs, there are only the wind velocity (WindVxi, WindVyi, WindVzi) x,y,z at hub.
Thanks,
Surya.
Is it possible to output a "FF" wind file after the coherence events are added by Aerodyn? As in, if I want to study the wind at the rotor hub and the blade tip. I see that out of FAST simulation outputs, there are only the wind velocity (WindVxi, WindVyi, WindVzi) x,y,z at hub.
Thanks,
Surya.
-
- Posts: 561
- Joined: Thu Nov 10, 2005 10:51 am
- Organization: Envision Energy USA
- Location: Colorado
- Location: Boulder, CO
- Contact:
Re: Superimposing of Coherent Events in AeroDyn
Hi, Surya.
There is an old program called CTWind that I wrote when I was working with the coherent structures. It merges the FF files with the coherent turbulence and can generate FF files (I think). Here is a link, but I must warn you that I haven't looked at this in many years.
FAST v8.12 has options to output wind speeds at many different points. In InflowWind you can specify wind velocity outputs at points fixed in space (https://wind.nrel.gov/nwtc/docs/InflowWind_Manual.pdf). If you use AeroDyn v15, you can also output the undisturbed or disturbed wind velocities at any blade or tower node (https://wind.nrel.gov/nwtc/docs/AeroDyn_Manual.pdf).
There is an old program called CTWind that I wrote when I was working with the coherent structures. It merges the FF files with the coherent turbulence and can generate FF files (I think). Here is a link, but I must warn you that I haven't looked at this in many years.
FAST v8.12 has options to output wind speeds at many different points. In InflowWind you can specify wind velocity outputs at points fixed in space (https://wind.nrel.gov/nwtc/docs/InflowWind_Manual.pdf). If you use AeroDyn v15, you can also output the undisturbed or disturbed wind velocities at any blade or tower node (https://wind.nrel.gov/nwtc/docs/AeroDyn_Manual.pdf).
Bonnie Jonkman
Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016
Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016
-
- Posts: 22
- Joined: Sat Sep 12, 2015 3:41 pm
- Organization: university of agder
- Location: norway
Re: Superimposing of Coherent Events in AeroDyn
Thanks Bonnie for your response and the program.
I'll let you know the results from the code.
I'll let you know the results from the code.
-
- Posts: 22
- Joined: Sat Sep 12, 2015 3:41 pm
- Organization: university of agder
- Location: norway
Re: Superimposing of Coherent Events in AeroDyn
Hi Bonnie,
Yes the code works! Thanks a lot.
Regards,
Surya.
Yes the code works! Thanks a lot.
Regards,
Surya.
Return to “Computer-Aided Engineering Software Tools”
Who is online
Users browsing this forum: No registered users and 1 guest