create_simple_beam_bridge
Create a simple beam bridge model in one step: generate nodes, beam elements, supports, and a self-weight load case with specified span and section.
Instructions
One-step creation of a simple beam bridge model (一键创建简支梁桥模型).
Creates nodes, beam elements, supports, and a self-weight load case in
a single step. The bridge lies along the X-axis.
一键完成节点、梁单元、支承和自重工况的建立,桥梁沿X轴布置。
Args:
span: Span length in meters (跨径,单位m)
num_elements: Number of beam elements (梁单元划分数量), min 2
material_name: Material name (material must already exist) (材料名,须已创建)
section_name: Section name (section must already exist) (截面名,须已创建)
section_width: Section width in m for auto-creating a rectangle section
(矩形截面宽度,单位m,若截面不存在则自动创建)
section_height: Section height in m (矩形截面高度,单位m)
self_weight_case: Self-weight load case name (自重工况名)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| span | No | ||
| num_elements | No | ||
| section_name | No | 矩形梁 | |
| material_name | No | C50 | |
| section_width | No | ||
| section_height | No | ||
| self_weight_case | No | SW |