add_elastic_support
Add elastic spring supports to structural nodes to simulate foundation flexibility, pile caps, or rubber bearing stiffness for accurate boundary conditions.
Instructions
Add elastic spring supports on nodes (添加弹性支承/弹簧支座).
Models foundation flexibility, pile caps, or rubber bearing stiffness.
用于模拟地基柔度、桩基础、橡胶支座刚度等。
Args:
node_id: Node ID(s), list or range string (节点编号)
spring_values: Stiffness values, meaning depends on support_type
(刚度信息,含义随支承类型不同):
type=1 (linear 线性): [kx, ky, kz, krx, kry, krz] in N/m, N·m/rad
type=2/3 (tension/compression 受拉/受压): [direction, stiffness],
direction: 1=X, 2=Y, 3=Z
support_type: Support type (支承类型): 1=linear(线性),
2=tension-only(受拉), 3=compression-only(受压)
group_name: Boundary group name (边界组名)
Example:
add_elastic_support(1, spring_values=[1e6,0,1e6,0,0,0]) # linear
add_elastic_support(1, spring_values=[3, 1e6], support_type=3) # Z compression-only
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| group_name | No | ||
| support_type | No | ||
| spring_values | Yes |