_Element3D

class compas_fea2.model._Element3D[source]

Bases: _Element

A 3D element that resists axial, shear, bending and torsion. Solid (continuum) elements can be used for linear analysis and for complex nonlinear analyses involving contact, plasticity, and large deformations.

Solid elements are general purpose elements and can be used for multiphysics problems.

Methods

from_polyhedron

Inherited Methods

ToString

Converts the instance to a string.

clear_frame

Clear the local frame, reverting to GLOBAL_FRAME.

copy

Make an independent copy of the data object.

direction_cosines

Return local axes expressed as global vectors (x, y, z).

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

is_axis_aligned

Return True if local frame coincides with GLOBAL frame within tolerance.

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_global_point

Convert a local point to the global frame.

to_global_vector

Convert a local vector to the global frame.

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

to_local_point

Convert a global point to the local frame.

to_local_vector

Convert a global vector to the local frame.

transform_to

Get the transformation from this object's local frame to another frame.

validate_data

Validate the data against the object's data schema.