FEDEM Solver  R8.0
Source code of the dynamics solver
Modules | Functions/Subroutines
windTurbineRoutinesModule.f90 File Reference

Subroutines for wind turbine calculations. More...

Modules

module  windturbineroutinesmodule
 Module with subroutines for wind turbine calculations.
 

Functions/Subroutines

subroutine, public windturbineroutinesmodule::aeroinput (env, turb, ADFile, NumBl, CompAero, CompNoise, SumPrint, ierr)
 Sets up the information needed for, and initializes AeroDyn. More...
 
subroutine windturbineroutinesmodule::set_fedem_params (env, turbine, CompAero, CompNoise, ierr)
 Sets Fedem variables based on AeroDyn inputs. More...
 
subroutine windturbineroutinesmodule::convertturbineconfig (Fedem, AD, ierr)
 Converts a Fedem wind turbine configuration to AeroDyn's format. More...
 
subroutine windturbineroutinesmodule::updateturbineconfig (Fedem, AD)
 Updates the AeroDyn wind turbine configuration. More...
 
subroutine windturbineroutinesmodule::updateadmarker (ADmarker, triad, sup, offset)
 Updates an AeroDyn marker based on the corresponding Fedem triad. More...
 
subroutine, public windturbineroutinesmodule::updateaeroforces (time, turb, ierr)
 Gets the aerodynamic forces at given time on the given wind turbine. More...
 
subroutine scale (vec, a)
 Scales a real vector by given scalar. More...
 
subroutine getadforces (bl, nd, ADload, force)
 Extracts the normal- and tangent loads and the pitch moment. More...
 
subroutine, public windturbineroutinesmodule::addinaeroforces (Q, RF, turbine, sam, ierr)
 Calculates system force vector contributions from a wind turbine. More...
 
subroutine, public windturbineroutinesmodule::gethubwindspeed (time, turbine, dws, uws, ierr)
 Evaluates the wind speed at the hub center. More...
 
subroutine, public windturbineroutinesmodule::gettipwindspeed (iBlade, time, turbine, dws, uws, ierr)
 Evaluates the wind speed at the tip of the given blade. More...
 
subroutine, public windturbineroutinesmodule::getwindspeed (pos, time, dws, uws, ierr)
 Evaluates the wind speed at a given location center. More...
 
subroutine, public windturbineroutinesmodule::getbladedeflections (turbine)
 Evaluates the deflection along the blades. More...
 
subroutine calcbladedeflection (triad, blade, hub, R)
 Evaluates the blade deflection at a given triad. More...
 
subroutine, public windturbineroutinesmodule::closeaerodyn (ierr)
 Terminates the aerodynamics module. More...
 

Detailed Description

Subroutines for wind turbine calculations.

Function/Subroutine Documentation

◆ calcbladedeflection()

subroutine getbladedeflections::calcbladedeflection ( type(triadtype), intent(inout)  triad,
type(triadtype), intent(in)  blade,
type(triadtype), intent(in)  hub,
real(dp), intent(in)  R 
)

Evaluates the blade deflection at a given triad.

◆ getadforces()

subroutine updateaeroforces::getadforces ( type(marker), intent(in)  bl,
type(marker), intent(in)  nd,
type(load), intent(in)  ADload,
real(dp), dimension(3), intent(out)  force 
)
private

Extracts the normal- and tangent loads and the pitch moment.

◆ scale()

subroutine updateaeroforces::scale ( real(reki), dimension(:), intent(inout)  vec,
real(dp), intent(in)  a 
)

Scales a real vector by given scalar.