TurbineInterfaceBuilder Class Reference

Kynema API: kynema::interfaces::TurbineInterfaceBuilder Class Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
kynema::interfaces::TurbineInterfaceBuilder Class Reference

Builder class to construct a TurbineInterface by composing Turbine and Solution components. More...

#include <turbine_interface_builder.hpp>

Public Member Functions

components::SolutionBuilderSolution ()
 Gets the builder for the solution component.
 
components::TurbineBuilderTurbine ()
 Get the builder for the turbine component.
 
components::AerodynamicsBuilderAerodynamics ()
 Get the builder for the aerodynamics component.
 
TurbineInterface Build ()
 Builds the TurbineInterface by composing the blade, tower, nacelle, hub, and solution components.
 

Detailed Description

Builder class to construct a TurbineInterface by composing Turbine and Solution components.

This class combines these builders through a facade pattern, providing a unified interface for constructing a complete blade model while keeping the configuration of individual components separate and maintainable.

  • SolutionBuilder: Configures solver type, tolerances, time steps, and output settings
  • TurbineBuilder: Configures blade geometry, reference axes, section properties, and structural matrices

Member Function Documentation

◆ Aerodynamics()

components::AerodynamicsBuilder & kynema::interfaces::TurbineInterfaceBuilder::Aerodynamics ( )
inline

Get the builder for the aerodynamics component.

Returns
a reference to the AerodynamicsBuilder for the aerodynamics component

◆ Build()

TurbineInterface kynema::interfaces::TurbineInterfaceBuilder::Build ( )
inline

Builds the TurbineInterface by composing the blade, tower, nacelle, hub, and solution components.

Returns
A TurbineInterface object

◆ Solution()

components::SolutionBuilder & kynema::interfaces::TurbineInterfaceBuilder::Solution ( )
inline

Gets the builder for the solution component.

Returns
A reference to the SolutionBuilder for the solution component

◆ Turbine()

components::TurbineBuilder & kynema::interfaces::TurbineInterfaceBuilder::Turbine ( )
inline

Get the builder for the turbine component.

Returns
A reference to the TurbineBuilder for the turbine component

The documentation for this class was generated from the following file: