You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# note : v_i and a_i work out to zero for non-tapered sections or non-end sections
1580
+
# TODO: Should probably skip this part if along the length of the element, i.e. if a_i and v_i are different from zero due to tapering
1580
1581
ifcirc:
1581
1582
v_i=np.pi/12.0*abs((mem.ds[il]+mem.drs[il])**3- (mem.ds[il]-mem.drs[il])**3) # volume assigned to this end surface
1582
-
a_i=np.pi*mem.ds[il] *mem.drs[il] # signed end area (positive facing down) = mean diameter of strip * radius change of strip
1583
1583
else:
1584
1584
v_i=np.pi/12.0* ((np.mean(mem.ds[il]+mem.drs[il]))**3- (np.mean(mem.ds[il]-mem.drs[il]))**3) # so far just using sphere eqn and taking mean of side lengths as d
0 commit comments