Technical University of Denmark
Browse

Mann model C++ functions

software
posted on 2025-02-12, 15:07 authored by Jakob MannJakob Mann, Abdul Haseeb SyedAbdul Haseeb Syed, Ansh PatelAnsh Patel

This file contains the C++ functions used to compute the theoretical auto-spectra and coherence from the Mann model (1994). They are used in post_proc_functions.py

To use in Example.ipynb, extract the zipped files in the same folder as Example.ipynb. In case the executable does not work, regenerate it using:

First go to the directory containing cpp files. Then run the following in your command window.

g++ -o output.exe main.cpp adapint.cpp adapint2.cpp cubature.c ExpIntZ.cpp specint2.cpp tenbasic2.cpp

If the above gives error, then run the following command:

g++ -std=c++11 -o output.exe main.cpp adapint.cpp adapint2.cpp cubature.c ExpIntZ.cpp specint2.cpp tenbasic2.cpp

Funding

Atmospheric Flow, Loads and pOwer for Wind energy

European Commission

Find out more...

Atmospheric Physics and Turbulence for Wind Energy

European Commission

Find out more...

History

Topic

  • Siting;>Design conditions;>Turbulence

Models

  • Flow;>Linearized
  • Flow;>Analytical

Activities

  • Modeling

External conditions

  • Not applicable

Data category

  • Not applicable

Contributors

Jakob Mann, Abdul Haseeb Syed, Ansh Patel

ORCID for corresponding depositor

Usage metrics

    DTU Wind

    Keywords

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC