-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaijRc.py
executable file
·63 lines (58 loc) · 1.36 KB
/
aijRc.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#! /Users/tsuno/.pyenv/shims/python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jan 6 16:07:40 2021
@author: Tsunoppy
"""
class Aij_rc_set():
#
# Young Modulus
def Ec(self,fc,gamma):
# gamma: Dry density
econ = 3.35 * 10**4 * ( gamma/24.0 )**(2) * (fc/60.0)**(1.0/3.0)
return econ
#
# Ra: Rebar Area mm2
def Ra(self,index):
if index =='D10':
return 71.
elif index =='D13':
return 127.0
elif index =='D16':
return 199.0
elif index =='D19':
return 287.0
elif index =='D22':
return 387.0
elif index =='D25':
return 507.0
elif index =='D29':
return 642.0
elif index =='D32':
return 794.0
elif index =='D35':
return 957.0
elif index =='D38':
return 1140.
elif index =='D41':
return 1340.0
#
elif index=='D10+D13':
return 99.0
elif index=='D13+D16':
return 163.0
elif index=='D16+D19':
return 243.0
else:
print("error")
return 'Err.'
# mm2/m
def Ra_p(self,index,p):
# p: Bar pitch
return self.Ra(index)*1000.0/p
# test
"""
obj = Aij_rc_set()
print( obj.Ra('D41'))
print( obj.Ra_p('D13',200.0))
"""