/home/runner/work/kynema/kynema/kynema/src/interfaces/components/turbine.hpp Source File
|
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
turbine.hpp
Go to the documentation of this file.
Struct to define the connectivity structure of elements, nodes, and constraints defining an Kynema pr...
Definition model.hpp:74
Represents a turbine blade with nodes, elements, and constraints.
Definition beam.hpp:24
Represents a turbine with nodes, elements, and constraints.
Definition turbine.hpp:87
ConstraintData yaw_bearing_to_shaft_base
Definition turbine.hpp:132
double torque_control
Definition turbine.hpp:144
ConstraintData yaw_bearing_to_nacelle_cm
Definition turbine.hpp:133
NodeData shaft_base_node
Definition turbine.hpp:122
std::vector< ConstraintData > blade_pitch
Definition turbine.hpp:136
void GetLoads(const HostConstraints< DeviceType > &host_constraints)
Populate constraint loads from host constraints.
Definition turbine.cpp:62
void GetMotion(const HostState< DeviceType > &host_state)
Populate node motion from host state.
Definition turbine.cpp:48
~Turbine()=default
void SetLoads(HostState< DeviceType > &host_state) const
Update the host state with current node forces and moments.
Definition turbine.cpp:76
ConstraintData tower_base
Definition turbine.hpp:130
NodeData yaw_bearing_node
Definition turbine.hpp:124
std::vector< double > blade_pitch_control
Definition turbine.hpp:143
ConstraintData azimuth_to_hub
Definition turbine.hpp:135
ConstraintData shaft_base_to_azimuth
Definition turbine.hpp:134
Turbine(Turbine &other)=delete
size_t yaw_bearing_mass_element_id
Definition turbine.hpp:113
Kokkos::Device< Kokkos::DefaultExecutionSpace, Kokkos::DefaultExecutionSpace::memory_space > DeviceType
Definition turbine.hpp:94
Turbine & operator=(const Turbine &)=delete
static constexpr double kZeroTolerance
Tolerance for near zero comparisons.
Definition turbine.hpp:103
static constexpr double kMinHubDiameter
Minimum valid hub diameter.
Definition turbine.hpp:100
const TurbineInput & GetTurbineInput() const
Get the turbine input configuration.
Definition turbine.cpp:90
ConstraintData tower_top_to_yaw_bearing
Definition turbine.hpp:131
Turbine & operator=(Turbine &&)=delete
NodeData azimuth_node
Definition turbine.hpp:121
size_t nacelle_cm_mass_element_id
Definition turbine.hpp:112
static constexpr size_t invalid_id
Placeholder node ID value for uninitialized components.
Definition turbine.hpp:97
std::vector< ConstraintData > apex_to_hub
Definition turbine.hpp:137
std::vector< NodeData > apex_nodes
Definition turbine.hpp:119
NodeData nacelle_cm_node
Definition turbine.hpp:123
size_t hub_mass_element_id
Definition turbine.hpp:111
Turbine(Turbine &&other)=delete
Definition aerodynamics.cpp:5
Definition calculate_constraint_output.hpp:8
A wrapper around the Constraint ID of a given constraint.
Definition constraint_data.hpp:16
Host-side mirror of the constraint input, output, and loads for a given time increment.
Definition host_constraints.hpp:21
Host-side mirror of the simulation state for a given time increment.
Definition host_state.hpp:22
A collection of data defining the state at a given node and providing an ergonomic way to extract tha...
Definition node_data.hpp:16
Complete input specification for a turbine.
Definition turbine_input.hpp:17
Generated by