_Element
- class compas_fea2.model._Element[source]
Bases:
FEAData
Initialises a base Element object.
- Parameters:
- nodeslist[
compas_fea2.model.Node
] Ordered list of node identifiers to which the element connects.
- section
compas_fea2.model._Section
Section Object assigned to the element.
- implementationstr, optional
The name of the backend model implementation of the element.
- nodeslist[
Warning
When an Element is added to a Part, the nodes of the elements are also added and registered to the same part. This might change the original registration of the nodes!
Notes
Elements and their nodes are registered to the same
compas_fea2.model._Part
and can belong to only one Part.- Attributes:
- keyint, read-only
Identifier of the element in the parent part.
- nodeslist[
compas_fea2.model.Node
] Nodes to which the element is connected.
- nodes_keystr, read-only
Identifier based on the conntected nodes.
- section
compas_fea2.model._Section
Section object.
- implementationstr
The name of the backend model implementation of the element.
- part
compas_fea2.model.DeformablePart
| None The parent part.
- on_boundarybool | None
True it the element has a face on the boundary mesh of the part, False otherwise, by default None.
- part
compas_fea2.model._Part
, read-only The Part where the element is assigned.
- model
compas_fea2.model.Model
, read-only The Model where the element is assigned.
- areafloat, read-only
The area of the element.
- volumefloat, read-only
The volume of the element.
- rigidbool, read-only
Define the element as rigid (no deformations allowed) or not. For Rigid elements sections are not needed.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.