47 this =
this@models.beam.StructureElement(model, material, pointsidx);
53 data = this.
Model.data;
55 index_0_glob = 7*data.knot_index(p(1))-6 : 7*data.knot_index(p(1))-4;
56 index_l_glob = 7*data.knot_index(p(2))-6 : 7*data.knot_index(p(2))-4;
57 globIdx = [index_0_glob index_l_glob];
72 M([1 4], [1 4]) = this.
c(2) * [2 1; 1 2];
74 M = this.
TG * M * this.
TG^
t;
89 K([1 4], [1 4]) = this.
c(1) * [1 -1; -1 1];
91 K = this.
TG * K * this.
TG^
t;
106 f([1 4],1) = 0.5 * this.
Length;
107 f = this.
TG * f * q_lok;
122 u_lok = this.
TG^
t * u;
124 u_lok_prime = (u_lok(4:6) - u_lok(1:3)) / L;
126 E_11 = u_lok_prime(1) + 0.5 * (u_lok_prime^
t * u_lok_prime);
129 R = S_x * [-u_lok_prime - [1;0;0]; u_lok_prime + [1;0;0]];
131 A1 =
c(1) * (u_lok_prime + [1;0;0]) * (u_lok_prime + [1;0;0])^
t;
136 K = this.
TG * K * this.
TG^
t;
150 function
plot(p,u_elem,plot_options) {
153 u_p = plot_options.multiplier * (u_elem(2,:)
" * s/this.Length + u_elem(1,:) " * (1 - s/this.
Length));
160 COR = this.
T * [x; y; z];
161 plot3( p(this.
PointsIdx(1), 1) + COR(1,:) + u_p(1,:), ...
162 p(this.
PointsIdx(1), 2) + COR(2,:) + u_p(2,:), ...
163 p(this.
PointsIdx(1), 3) + COR(3,:) + u_p(3,:),
" k " );
169 function initialize() {
178 e_y = [-e_x(2) e_x(1) 0]^
t;
180 e_y = [0 e_x(3) -e_x(2)]^t;
182 e_z = [e_x(2)*e_y(3) - e_x(3)*e_y(2);
183 e_x(3)*e_y(1) - e_x(1)*e_y(3);
184 e_x(1)*e_y(2) - e_x(2)*e_y(1)];
185 e_y = e_y / norm(e_y);
186 e_z = e_z / norm(e_z);
187 this.
T= [e_x e_y e_z];
194 this.
TG([1 2 3], [1 2 3]) = this.
T;
196 this.TG([4 5 6], [4 5 6]) = this.T;
201 this.
c(1) = m.E * m.A /
l;
203 this.
c(2) = m.rho * m.A * l / 6;
Model
The model that contains the structure element.
TG
c_theta = []; kappa = []; alphaA = []; The global transformation matrix (?)
The base class for any KerMor detailed model.
PointsIdx
Punkt-Index-Array.
function globIdx = getGlobalIndices()
Returns the global indices in the vector of DoFs for this element.
function f = getLocalForceMatrix()
Berechnet lokale Kraft eines Stabes.
Length
Indizes (lokal pro Knoten) in die die lokalen Matrizen assembliert werden Konvention: Freiheitsgrade ...
c
Effektive Stoffkonstanten.
Truss(models.BaseFullModel model, material, pointsidx)
static const PlotSplitFactor
function M = getLocalMassMatrix()
Berechnet lokale Steifigkeits- und Massenmatrix eines Stabes c kodiert Stoffparameter: c1 = E*A/L (Fe...
function K = getLocalStiffnessMatrix()
Berechnet lokale Steifigkeitsmatrix eines Stabes c kodiert Stoffparameter: c1 = E*A/L (Federhärte) c2 ...
function [ K , R ] = getLocalTangentials(u)
Berechnet lokale tangentiale Steifigkeits- und Massenmatrix eines Stabes c kodiert Stoffparameter: c1...
rho
Dichte des Stahls (kg/m³) (Konstruktor!)
function plot(p, u_elem, plot_options)
T
Transformationsmatrix für das lokale Koordinatensystem.