FEDEM Solver  R8.0
Source code of the dynamics solver
Functions/Subroutines
initiatewindturbinemodule Module Reference

Initialization of wind turbine objects from the solver input file. More...

Functions/Subroutines

subroutine readturbineconfig (infp, env, turbine, triads, sups, joints, err)
 Initializes the wind turbine with data from the solver input file. More...
 
subroutine initiateturbinevelocity (hub, blades, bladeTriads, urGen, omega0, ierr)
 Calculates initial velocity for the wind turbine triads. More...
 

Detailed Description

Initialization of wind turbine objects from the solver input file.

Function/Subroutine Documentation

◆ initiateturbinevelocity()

subroutine initiatewindturbinemodule::initiateturbinevelocity ( type(supeltype), pointer  hub,
type(bladeroot), dimension(:), intent(inout)  blades,
type(triadptrtype), dimension(:,:), intent(in)  bladeTriads,
real(dp), dimension(:,:), intent(in)  urGen,
real(dp), intent(in)  omega0,
integer, intent(out)  ierr 
)

Calculates initial velocity for the wind turbine triads.

Parameters
[in]hubSuperelement representing the hub of the wind turbine rotor.
bladesRoot nodes of thw wind turbine blades
[in]bladeTriadsArray of pointers to all triads of the wind turbine.
[in]urGenCoordinate system for the generator triad
[in]omega0Initial generator angular velocity
[out]ierrError flag

The initial velocity at all triads rotating with the turbine is calculated from the given initial generator velocity omega0. The corresponding centripetal acceleration is also computed.

Author
Knut Morten Okstad
Date
13 Jan 2010
Here is the caller graph for this function:

◆ readturbineconfig()

subroutine initiatewindturbinemodule::readturbineconfig ( integer, intent(in)  infp,
type(environmenttype), intent(inout)  env,
type(turbineconfig), pointer  turbine,
type(triadtype), dimension(:), intent(inout), target  triads,
type(supeltype), dimension(:), intent(in)  sups,
type(masterslavejointtype), dimension(:), intent(in)  joints,
integer, intent(out)  err 
)

Initializes the wind turbine with data from the solver input file.

Parameters
[in]infpFile unit number for the solver input file
envEnvironmental data
turbineWind turbine configuration object
triadsArray of all triads in the model
[in]supsArray of all superelements in the model
[in]jointsArray of all joints in the model
[out]errError flag
Author
Knut Morten Okstad
Date
1 Dec 2009
Here is the call graph for this function:
Here is the caller graph for this function: