/home/runner/work/kynema/kynema/kynema/src/interfaces/components/beam.hpp Source File
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
beam.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
void ClearLoads()
Sets blade point loads to zero.
Definition beam.cpp:47
std::vector< double > node_xi
Location of nodes in blade element [-1, 1].
Definition beam.hpp:45
static constexpr size_t kMaxGeometryPoints
Maximum number of points allowed in blade geometry definition.
Definition beam.hpp:33
Beam()=default
size_t prescribed_root_constraint_id
Constraint ID of prescribed root displacement.
Definition beam.hpp:42
std::vector< NodeData > nodes
Blade node data.
Definition beam.hpp:39
void SetLoads(HostState< DeviceType > &host_state) const
Update the host state with current node forces and moments.
Definition beam.cpp:59
std::vector< double > GetNodeWeights(double s) const
Returns a vector of weights for distributing a point load to the nodes.
Definition beam.cpp:27
void AddPointLoad(double s, std::array< double, 6 > loads)
Adds a point load (Fx, Fy, Fz, Mx, My, Mz) to the blade at location 's' [0, 1] along the material axi...
Definition beam.cpp:34
static constexpr size_t invalid_id
Placeholder node ID value for uninitialized components.
Definition beam.hpp:30
Kokkos::Device< Kokkos::DefaultExecutionSpace, Kokkos::DefaultExecutionSpace::memory_space > DeviceType
Definition beam.hpp:27
void GetMotion(const HostState< DeviceType > &host_state)
Populate node motion based on host state.
Definition beam.cpp:53
size_t beam_element_id
Beam element ID.
Definition beam.hpp:36
Definition aerodynamics.cpp:3
Definition calculate_constraint_output.hpp:8
Host-side mirror of the simulation state for a given time increment.
Definition host_state.hpp:22
Complete input specification for a beam.
Definition beam_input.hpp:84
Generated by