half_section_hight = int(input("请输入半截面高度"))
section_width = int(input("请输入截面宽度"))
fiber_num = int(input("请输入半截面划分纤维的个数"))
fiber_length = half_section_hight/fiber_num
start_coord = fiber_length/2
fiber_area = fiber_length*section_width
coord = []
for i in range(0,fiber_num):
coord.append(start_coord+(i)*fiber_length)
print("单元高度:",fiber_length)
print("初始单元坐标:",start_coord)
print("纤维坐标coord2:",coord)
print("纤维面积area:",fiber_area)
Perform-3D手动划分纤维单元(梁)
于 2023-04-06 16:27:18 首次发布