Skip to content

Commit 269dc67

Browse files
Improved documentation
1 parent 94136c8 commit 269dc67

7 files changed

+56
-17
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Readme.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,40 @@ Beam and acting loads
99

1010
Sample output
1111
-------------
12-
![](Shot_1.png)
12+
Beam:
13+
Length=4.0
14+
Supports sorted by distance from left end of beam:
15+
Support A (Left) xn=0.0
16+
Support B (Right) xn=4.0
17+
18+
Number of Loads:2
19+
Loads sorted by distance from left end of beam:
20+
Name:q1 Magnitute at start:-5.0 Point Load:-5.0 distance from left end:0.0 Lengtht:4.0 Force at end:-5.0 Resulting force:-20.0 is acting 2.0 m from left end of beam.
21+
Name:F1 Magnitute at start:-2.0 Point Load:-2.0 distance from left end:2.0 Lengtht:0.0 Force at end:-2.0 Resulting force:-2.0 is acting 2.0 m from left end of beam.
22+
23+
RESULT:
24+
Left support:10.707106781186548 N. Right bearing:10.707106781186548 N.
25+
Horizontal force at right support:1.414213562373095
26+
Term:N=2.0 N x sin(45.0) = 1.41N
27+
Term:B (Right)=5.0N x 4.0m + 2.0N x cos(45.0) + (-10.71N) = 10.71N
28+
Term:A (Left)=(5.0 N/m x 4.0m x 2.0m+2.0N x cos(45.0) x 2.0m)/4.0m = 10.71N
29+
30+
=== Shearing forces => Q ===
31+
Local maxi-/ minima
32+
Points of disconuity in Q
33+
x=0.0 m Q=10.706106781186547 N
34+
x=2.0 m Q=-0.7081067811881641 N
35+
x=4.0 m Q=-5.000000032335805E-4 N
36+
37+
=== Bending moment => M ===
38+
Local maxi-/ minima
39+
x=1.9998999999997962 m M=11.410643101686322 Nm
40+
Points of disconuity in M
41+
x=0.0 m M=0.0 Nm
42+
x=1.9999999999997962 m M=11.410289362442864 Nm
43+
44+
=== Normal forces => N ===
45+
x=2.0 m N[N]=-1.414213562373095 N
1346

1447
![](LeadingSigns.png)
1548

Readme.md~

+22-7
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,38 @@ Beam Calc
22
=========
33
Calculates the supporting forces of a simply supported beam.
44

5-
Sample output
6-
-------------
7-
![](Shot_2.jpg)
5+
Beam and acting loads
6+
---------------------
7+
![](Shot_0.png)
88

9-
Screenshot of "Beam Calc". An Android app using this library. The screenshot shows the problem. The solution is shown in the following shell- output:
109

10+
Sample output
11+
-------------
1112
![](Shot_1.png)
1213

13-
Loads can also act at an angle.
14-
1514
![](LeadingSigns.png)
1615

1716

18-
Graphical solution:
17+
Stress resultants:
1918

2019
![](Q.png)
20+
21+
Shearing forces.
22+
2123
![](M.png)
24+
25+
Bending moments.
26+
27+
![](N.png)
28+
29+
Normal forces.
30+
31+
32+
Screenshot of "Beam Calc". An Android app using this library. The screenshot shows the problem. The solution is shown in the following shell- output:
33+
34+
![](Shot_2.jpg)
35+
36+
2237
You can get the Android app here:
2338
[Google Play, Beam Calc](https://play.google.com/store/apps/details?id=berthold.beamcalc)
2439

Shot_0.png

-406 Bytes
Loading

Shot_1.png

-82.4 KB
Binary file not shown.

bin/MainBeamCalculator.class

0 Bytes
Binary file not shown.

src/MainBeamCalculator.java

-9
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,9 @@ public static void main(String[] args) {
2323
myBeam.addBearing(new Support("B (Right)", 4, Support.PIN_SUPPORT));
2424

2525
// Add load
26-
//myBeam.addLoad(new Load("q1", -5, 0, 0,4));
27-
2826
// NAME/ Force/ Distance/ Angle /Length
2927
myBeam.addLoad(new Load("F1", -2.0, 2, 45, 0));
30-
//myBeam.addLoad(new Load("F2", -3, 3,0, 0));
31-
//myBeam.addLoad(new Load("F3", -14, 2,0, 0));
3228
myBeam.addLoad(new Load("q1", -5, 0, 0,4));
33-
//myBeam.addLoad(new Load("q2", -15, 2, 0,2));
34-
35-
36-
//myBeam.addLoad(new Load("q2", 2, 0, 0, 4));
37-
//myBeam.addLoad(new Load("q3", -4, 2, 0, 2));
3829

3930
// Show beam info
4031
System.out.println("Beam:");

0 commit comments

Comments
 (0)