|
10 | 10 |
|
11 | 11 | #Import all modules required to access RFEM |
12 | 12 | from RFEM.enums import MemberEccentricitySpecificationType, ActionCategoryType, NodalSupportType,\ |
13 | | - MemberSectionDistributionType, MemberCrossSectionAlignment, SurfaceEccentricityAlignment |
| 13 | + MemberCrossSectionDistributionType, MemberCrossSectionAlignment, SurfaceEccentricityAlignment |
14 | 14 | from RFEM.initModel import Model, Calculate_all |
15 | 15 | from RFEM.BasicObjects.material import Material |
16 | 16 | from RFEM.BasicObjects.crossSection import CrossSection |
|
63 | 63 | # materials |
64 | 64 | Material(1, "C30/37") |
65 | 65 | Material(2, "C50/60") |
66 | | - # sections |
| 66 | + # cross sections |
67 | 67 | CrossSection(1,"SQ_M1 " + str(pillar_dimension), 2, "pillar") |
68 | 68 | CrossSection(2,f"R_M1 {girder_width}/{girder_height}", 2, "girder") |
69 | 69 | CrossSection(3, f"R_M1 {beam_width}/{beam_height_inwards}", 2, "beam_1") |
|
139 | 139 | for n in range(beams_per_field*num_bridge_fields): |
140 | 140 | Member.Beam( |
141 | 141 | m_count+1, beam_start_node, beam_start_node+1, |
142 | | - MemberSectionDistributionType.SECTION_DISTRIBUTION_TYPE_LINEAR, |
| 142 | + MemberCrossSectionDistributionType.SECTION_DISTRIBUTION_TYPE_LINEAR, |
143 | 143 | start_section_no=3, end_section_no=4, |
144 | 144 | distribution_parameters= [MemberCrossSectionAlignment.SECTION_ALIGNMENT_TOP], |
145 | 145 | params= {"member_eccentricity_start":2, "member_eccentricity_end":1} |
146 | 146 | ) |
147 | 147 | Member.Beam( |
148 | 148 | m_count+2, beam_start_node, beam_start_node+2, |
149 | | - MemberSectionDistributionType.SECTION_DISTRIBUTION_TYPE_LINEAR, |
| 149 | + MemberCrossSectionDistributionType.SECTION_DISTRIBUTION_TYPE_LINEAR, |
150 | 150 | start_section_no=3, end_section_no=4, |
151 | 151 | distribution_parameters= [MemberCrossSectionAlignment.SECTION_ALIGNMENT_TOP], |
152 | 152 | params= {"member_eccentricity_start":3, "member_eccentricity_end":1} |
|
0 commit comments