FEDEM Model Database  R8.0
Source code of the FEDEM model database
FFlCrossSection.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
8 #ifndef FFL_CROSS_SECTION_H
9 #define FFL_CROSS_SECTION_H
10 
11 #include <vector>
12 #include <string>
13 #include <iostream>
14 
15 
21 {
22  std::string name;
23  double A = 0.0;
24  double Izz = 0.0;
25  double Iyy = 0.0;
26  double Izy = 0.0;
27  double J = 0.0;
28  double NSM = 0.0;
29  double K1 = 0.0;
30  double K2 = 0.0;
31  double S1 = 0.0;
32  double S2 = 0.0;
33 
35  FFlCrossSection(double K = 0.0) { name = "Generic"; K1 = K2 = K; }
39  FFlCrossSection(const std::string& Type, const std::vector<double>& Dim);
42  double findMainAxes();
43 };
44 
45 
47 std::ostream& operator<<(std::ostream& os, const FFlCrossSection& cs);
48 
49 #endif
std::ostream & operator<<(std::ostream &os, const FFlCrossSection &cs)
Output stream operator.
Definition: FFlCrossSection.C:215
Struct with beam cross section parameters.
Definition: FFlCrossSection.H:21
double J
Torsional stiffness parameter.
Definition: FFlCrossSection.H:27
double Iyy
2nd moment of inertia about local Y-axis
Definition: FFlCrossSection.H:25
double findMainAxes()
Calculates the angle to the main axes and updates the inertias.
Definition: FFlCrossSection.C:181
double K1
Shear reduction factor in local Y-direction.
Definition: FFlCrossSection.H:29
double K2
Shear reduction factor in local Z-direction.
Definition: FFlCrossSection.H:30
double NSM
Non-structural mass per length unit.
Definition: FFlCrossSection.H:28
std::string name
Cross section type name.
Definition: FFlCrossSection.H:22
double S1
Shear center position in local Y-direction.
Definition: FFlCrossSection.H:31
double Izy
Coupling moment of inertia for non-symmetric sections.
Definition: FFlCrossSection.H:26
double A
Cross section area.
Definition: FFlCrossSection.H:23
FFlCrossSection(double K=0.0)
Default constructor.
Definition: FFlCrossSection.H:35
double S2
Shear center position in local Z-direction.
Definition: FFlCrossSection.H:32
double Izz
2nd moment of inertia about local Z-axis
Definition: FFlCrossSection.H:24