|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
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... | |
Initialization of wind turbine objects from the solver input file.
| 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.
| [in] | hub | Superelement representing the hub of the wind turbine rotor. |
| blades | Root nodes of thw wind turbine blades | |
| [in] | bladeTriads | Array of pointers to all triads of the wind turbine. |
| [in] | urGen | Coordinate system for the generator triad |
| [in] | omega0 | Initial generator angular velocity |
| [out] | ierr | Error 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.

| 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.
| [in] | infp | File unit number for the solver input file |
| env | Environmental data | |
| turbine | Wind turbine configuration object | |
| triads | Array of all triads in the model | |
| [in] | sups | Array of all superelements in the model |
| [in] | joints | Array of all joints in the model |
| [out] | err | Error flag |

