Skip to content

Commit

Permalink
add some Chapter D
Browse files Browse the repository at this point in the history
  • Loading branch information
co1emi11er2 committed Dec 17, 2024
1 parent bcad700 commit 3204734
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Chapter D - Tension/D2/D2.jl
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
14 changes: 14 additions & 0 deletions src/Chapter D - Tension/D2/Equations.jl
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
12 changes: 12 additions & 0 deletions src/Chapter D - Tension/D3/D3.jl
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
31 changes: 31 additions & 0 deletions src/Chapter D - Tension/D3/Equations.jl
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 -/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 -/l)
end


end

end # module

0 comments on commit 3204734

Please sign in to comment.