-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcad700
commit 3204734
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module D2 | ||
using StructuralUnits | ||
|
||
# include equations | ||
include("Equations.jl") | ||
|
||
########################################################################################## | ||
# Equations below are the public API for D2 | ||
########################################################################################## | ||
|
||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module Equations | ||
using StructuralUnits | ||
|
||
export EqD2▬1, EqD2▬2 | ||
|
||
function EqD2▬1(F_y, A_g) | ||
P_gy = F_y * A_g | ||
end | ||
|
||
function EqD2▬2(F_u, A_e) | ||
P_rn = F_u * A_e | ||
end | ||
|
||
end # module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module D3 | ||
using StructuralUnits | ||
|
||
# include equations | ||
include("Equations.jl") | ||
|
||
########################################################################################## | ||
# Equations below are the public API for D2 | ||
########################################################################################## | ||
|
||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module Equations | ||
using StructuralUnits | ||
|
||
export EqD3▬1 | ||
|
||
function EqD3▬1(A_n, U) | ||
A_e = A_n * U | ||
end | ||
|
||
module TblD3⬝1 | ||
|
||
function case_1() | ||
U = 1.0 | ||
end | ||
|
||
function case_2(x̄, l) | ||
U = 1 - x̄/l | ||
end | ||
|
||
function case_3() | ||
U = 1.0 | ||
end | ||
|
||
function case_4(l, w, x̄) | ||
U = ((3*l^2)/(3*l^2 + w^2))*(1 - x̄/l) | ||
end | ||
|
||
|
||
end | ||
|
||
end # module |