/home/runner/work/kynema/kynema/kynema/src/elements/beams/beam_section.hpp Source File

Kynema API: /home/runner/work/kynema/kynema/kynema/src/elements/beams/beam_section.hpp Source File
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
beam_section.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4
5namespace kynema {
6
12 double position; // Position of section in element on range [0, 1]
13 std::array<std::array<double, 6>, 6> M_star; // Mass matrix in material frame
14 std::array<std::array<double, 6>, 6> C_star; // Stiffness matrix in material frame
15
17 double s, const std::array<std::array<double, 6>, 6>& mass,
18 const std::array<std::array<double, 6>, 6>& stiffness
19 )
20 : position(s), M_star(mass), C_star(stiffness) {}
21};
22
23} // namespace kynema
Definition calculate_constraint_output.hpp:8
A structure containing the position, mass matrix, and stiffness matrix to be used in defining a beam ...
Definition beam_section.hpp:11
std::array< std::array< double, 6 >, 6 > C_star
Definition beam_section.hpp:14
std::array< std::array< double, 6 >, 6 > M_star
Definition beam_section.hpp:13
double position
Definition beam_section.hpp:12
BeamSection(double s, const std::array< std::array< double, 6 >, 6 > &mass, const std::array< std::array< double, 6 >, 6 > &stiffness)
Definition beam_section.hpp:16