Giter Site home page Giter Site logo

echeynet / windsimfast Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 4.0 20.16 MB

A three-variate turbulent wind field (u,v and w components) is simulated in three-dimensions.

License: BSD 3-Clause "New" or "Revised" License

MATLAB 100.00%
coherence spectrum winds simulation fft

windsimfast's Introduction

windSimFast

A three-variate turbulent wind field (u,v and w components) is simulated in three-dimensions.

View Wind field simulation (the fast version) on File Exchange DOI Buy Me A Coffee

Summary

A turbulent wind field (u,v,w, components) in 3-D (two dimensions for space and one for the time) is simulated using random processes. The computational efficiency of the simulation relies on Ref. [1], which leads to a significantly shorter simulation time than the function windSim, also available on fileExchange. However, only the case of a regular 2D vertical grid normal to the flow is here considered.

Content

The submission contains:

  • An example file Example1 that illustrates simply how the output variables look like.
  • An example file Example2, which is more complete, and which simulates a 3-D turbulent wind field on a 7x7 grid.
  • A data file exampleData.mat used in Example1.
  • The function windSimFast.m, which is used to generate the turbulent wind field. A similar implementation of windSimFast.m was used in ref. [2].
  • The function getSamplingpara.m, which computes the time and frequency vectors.
  • The function KaimalModel.m, which generates the one-point auto and cross-spectral densities of the velocity fluctuations, following the Kaimal model [3]. I have corrected the cross-spectrum density formula used by Kaimal et al. so that the simulated friction velocity is equal to the target one.
  • The function coherence used to estimate the root-mean-square coherence, the co-coherence and the quad-coherence.
  • The function write2bts to convert the data into a .bts file (binary data). This function is still under testing and I ignore if it performs well.

Any comment, suggestion or question is welcomed.

References

[1] Shinozuka, M., & Deodatis, G. (1991). Simulation of stochastic processes by spectral representation. Applied Mechanics Reviews, 44(4), 191-204.

[2] Wang, J., Cheynet, E., Snæbjörnsson, J. Þ., & Jakobsen, J. B. (2018). Coupled aerodynamic and hydrodynamic response of a long span bridge suspended from floating towers. Journal of Wind Engineering and Industrial Aerodynamics, 177, 19-31.

[3] Davenport, A. G. (1961). The spectrum of horizontal gustiness near the ground in high winds. Quarterly Journal of the Royal Meteorological Society, 87(372), 194-211.

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.