-
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
tsunoda
authored and
tsunoda
committed
Jan 31, 2021
1 parent
775243b
commit b91db78
Showing
3 changed files
with
126 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
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,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)) | ||
""" |
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