NodeRegion
NodeRegion
Bases: RegionBase
A region defined by a set of nodes or a range of node tags.
NodeRegion groups a collection of nodes (specified as a list or a tag range) into a named structural region. This allows targeted assignments such as node-based recorders or specialized damping properties in OpenSees.
Tcl form
region <tag> -node <nodeTags...> or region <tag> -nodeRange <start> <end>
Note
- Only one of
nodesornode_rangecan be provided. - Renders with
-nodeOnlyor-nodeRangeOnlyifnode_onlyis set toTrue.
Example
Create a node-based region.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
damping
|
Damping
|
Optional Damping component to assign. |
None
|
**kwargs
|
Key-value arguments including:
user_name: Unique name of the region.
nodes: Optional list or array of explicit node tags.
node_range: Optional list/tuple of two integers |
{}
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If both |