kib-lap 0.7__tar.gz → 0.7.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Iteration.py +10 -4
- kib_lap-0.7.12/KIB_LAP/FACHWERKEBEN/__init__.py +10 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/InputData.py +11 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/Output_Data.py +17 -14
- kib_lap-0.7.12/KIB_LAP/STABRAUM/Plotting.py +1453 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/Programm.py +445 -52
- kib_lap-0.7.12/KIB_LAP/STABRAUM/Steifigkeitsmatrix.py +496 -0
- kib_lap-0.7.12/KIB_LAP/STABRAUM/main.py +58 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Assemble_Stiffness.py +13 -35
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Meshing.py +130 -24
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Output.py +6 -0
- kib_lap-0.7.12/KIB_LAP/Scheibe/Plotting.py +722 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Shell_Calculation.py +224 -102
- kib_lap-0.7.12/KIB_LAP/Scheibe/Testing_Mesh.py +25 -0
- kib_lap-0.7.12/KIB_LAP/Scheibe/__init__.py +14 -0
- kib_lap-0.7.12/KIB_LAP/Scheibe/main.py +33 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/PKG-INFO +1 -1
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/SOURCES.txt +1 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/PKG-INFO +1 -1
- {kib_lap-0.7 → kib_lap-0.7.12}/setup.py +1 -1
- kib_lap-0.7/KIB_LAP/FACHWERKEBEN/__init__.py +0 -2
- kib_lap-0.7/KIB_LAP/STABRAUM/Plotting.py +0 -886
- kib_lap-0.7/KIB_LAP/STABRAUM/Steifigkeitsmatrix.py +0 -245
- kib_lap-0.7/KIB_LAP/STABRAUM/main.py +0 -53
- kib_lap-0.7/KIB_LAP/Scheibe/Plotting.py +0 -452
- kib_lap-0.7/KIB_LAP/Scheibe/__init__.py +0 -6
- kib_lap-0.7/KIB_LAP/Scheibe/main.py +0 -27
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Bemessung_Polygon.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Cross_Section_Kappa.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Druckglied_KGV.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Materialkennwerte_Beton.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Querschnittsbreite.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Querschnittsbreite_Kreis.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/TEST_Rectangular.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_plate_T.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_plate_T_reverse.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_rectangular.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_sub_section.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Cross_Section_Properties.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Deformation_Method.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Duhamel_SDOF.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/FFT.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Kontinuum_Eigenmodes.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Kontinuum_Schwingung.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Pendulum_Spring_Linearized.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Pendulum_Spring_Problem.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Cross_Section_Thin.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Cross_Section_Thin_2.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Plattentragwerke.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Plattentragwerke_2.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/ShearDesign.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Elements.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/InputData.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Materials.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Plotting.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/main.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/Plate_Design.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/Ritz_Optimiert.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/dist/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/plate_buckling.cpp +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/plate_buckling_cpp.cp313-win_amd64.pyd +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/plate_buckling_cpp.cpp +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/setup.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/Functions.cpp +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/Functions.h +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/PlateBendingKirchhoff.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/plate_bending.cpp +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/setup.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Querschnittswerte/Querschnitt_Duenn.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Querschnittswerte/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/results.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Element_Stiffness.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Biegedrillknicken.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Biegedrillknicken_Trigeometry.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Querschnittswerte.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Stabberechnung_Klasse.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Stahlbau/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Verbundbau/Verbundtraeger_Bemessung.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Verbundbau/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/__init__.py +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/dependency_links.txt +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/requires.txt +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/top_level.txt +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/README.md +0 -0
- {kib_lap-0.7 → kib_lap-0.7.12}/setup.cfg +0 -0
|
@@ -9,10 +9,16 @@ from glob import glob # Allows check that file exists before import
|
|
|
9
9
|
from numpy import genfromtxt # For importing structure data from csv
|
|
10
10
|
import pandas as pd
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
from
|
|
14
|
-
from
|
|
15
|
-
from Elements import
|
|
12
|
+
try:
|
|
13
|
+
from InputData import Input
|
|
14
|
+
from Materials import Material
|
|
15
|
+
from Elements import Rope_Elements_III
|
|
16
|
+
from Elements import BarElements_I
|
|
17
|
+
except:
|
|
18
|
+
from KIB_LAP.FACHWERKEBEN.InputData import Input
|
|
19
|
+
from KIB_LAP.FACHWERKEBEN.Materials import Material
|
|
20
|
+
from KIB_LAP.FACHWERKEBEN.Elements import Rope_Elements_III
|
|
21
|
+
from KIB_LAP.FACHWERKEBEN.Elements import BarElements_I
|
|
16
22
|
|
|
17
23
|
class IterationClass:
|
|
18
24
|
def __init__(self, use_iteration=False):
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from .Iteration import IterationClass
|
|
3
|
+
from .Plotting import PlottingStructure
|
|
4
|
+
from .Iteration import IterationClass
|
|
5
|
+
from .Plotting import PlottingStructure
|
|
6
|
+
except:
|
|
7
|
+
from KIB_LAP.FACHWERKEBEN.Iteration import IterationClass
|
|
8
|
+
from KIB_LAP.FACHWERKEBEN.Plotting import PlottingStructure
|
|
9
|
+
from KIB_LAP.FACHWERKEBEN.Iteration import IterationClass
|
|
10
|
+
from KIB_LAP.FACHWERKEBEN.Plotting import PlottingStructure
|
|
@@ -20,6 +20,7 @@ class Input:
|
|
|
20
20
|
self.ElementLoads()
|
|
21
21
|
self.MaterialData()
|
|
22
22
|
self.CrossSectionData()
|
|
23
|
+
self.Springs()
|
|
23
24
|
|
|
24
25
|
def MaterialData(self):
|
|
25
26
|
try:
|
|
@@ -72,6 +73,16 @@ class Input:
|
|
|
72
73
|
df_numeric = df[numeric_columns]
|
|
73
74
|
self.RestraintData = df_numeric
|
|
74
75
|
|
|
76
|
+
def Springs(self):
|
|
77
|
+
if not glob("data/Springs.csv"):
|
|
78
|
+
self.SpringsData = pd.DataFrame(columns=["node_a","node_e","dof","cp[MN]"])
|
|
79
|
+
print("⚠️ Springs.csv not found (optional)")
|
|
80
|
+
return
|
|
81
|
+
|
|
82
|
+
df = pd.read_csv("data/Springs.csv")
|
|
83
|
+
self.SpringsData = df[["node_a","node_e","dof","cp[MN]"]].copy()
|
|
84
|
+
print("🟢 Springs.csv imported")
|
|
85
|
+
|
|
75
86
|
def NodalForces(self):
|
|
76
87
|
df = pd.read_csv("data/NodalForces.csv")
|
|
77
88
|
self.NodalForces = df
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import pandas as pd
|
|
2
2
|
import numpy as np
|
|
3
3
|
|
|
4
|
+
|
|
4
5
|
class OutputData:
|
|
5
6
|
def __init__(self):
|
|
6
7
|
print("Init OutputData")
|
|
@@ -28,31 +29,33 @@ class OutputData:
|
|
|
28
29
|
3: ("Fz", "MN"),
|
|
29
30
|
4: ("My", "MNm"),
|
|
30
31
|
5: ("Mx", "MNm"),
|
|
31
|
-
6: ("W",
|
|
32
|
+
6: ("W", "-"),
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
rows = []
|
|
35
36
|
for _, row in dfR.iterrows():
|
|
36
37
|
node = int(row["Node"])
|
|
37
|
-
dof
|
|
38
|
-
k
|
|
38
|
+
dof = int(row["Dof"])
|
|
39
|
+
k = float(row["Cp[MN/m]/[MNm/m]"])
|
|
39
40
|
|
|
40
41
|
gdof = 7 * (node - 1) + dof
|
|
41
|
-
ui
|
|
42
|
-
u0
|
|
42
|
+
ui = float(u[gdof])
|
|
43
|
+
u0 = float(u0_default)
|
|
43
44
|
|
|
44
45
|
Ri = k * (ui - u0)
|
|
45
46
|
|
|
46
47
|
name, unit = dof_name.get(dof, (f"DOF{dof}", ""))
|
|
47
48
|
|
|
48
|
-
rows.append(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
rows.append(
|
|
50
|
+
{
|
|
51
|
+
"Node": node,
|
|
52
|
+
"DOF": dof,
|
|
53
|
+
"Type": name,
|
|
54
|
+
"k": k,
|
|
55
|
+
"u": ui,
|
|
56
|
+
"R_spring": Ri,
|
|
57
|
+
"Unit": unit,
|
|
58
|
+
}
|
|
59
|
+
)
|
|
57
60
|
|
|
58
61
|
return pd.DataFrame(rows).sort_values(["Node", "DOF"]).reset_index(drop=True)
|