ElementRegion
ElementRegion
Bases: RegionBase
A region defined by a set of elements or a range of element tags.
ElementRegion groups a collection of elements (specified as an explicit list or tag range) into a named structural region. This is useful for assigning element-specific damping models (such as Rayleigh damping) in OpenSees.
Tcl form
region <tag> -ele <eleTags...> or region <tag> -eleRange <start> <end>
Note
- Only one of
elementsorelement_rangecan be provided. - Renders with
-eleOnlyor-eleRangeOnlyifelement_onlyis set toTrue.
Example
Create an element-based region.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
damping
|
Damping
|
Optional Damping component to assign to the elements in this region. |
None
|
**kwargs
|
Key-value arguments including:
user_name: Unique name of the region.
elements: Optional list or array of explicit element tags.
element_range: Optional list/tuple of two integers |
{}
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If both |