StressFieldResults

class compas_fea2.results.StressFieldResults[source]

Bases: ElementFieldResults

Generalized stress field results for both 2D and 3D elements. Stress results are computed in the global coordinate system. Operations on stress results are performed on the field level to improve efficiency.

Methods

average_stress_at_nodes

Average selected stress component at nodes.

get_component_value

Return the value of the selected component.

get_invariant_value

Return the value of the selected invariant.

global_stresses

Compute stress tensors in the global coordinate system.

Inherited Methods

ToString

Converts the instance to a string.

component_scalar

Return the value of selected component.

copy

Make an independent copy of the data object.

filter_by_component

Filter results by a specific component, optionally using a threshold.

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

get_limits_component

Get the result objects with the min and max value of a given component in a step.

get_max_result

Get the result where a component is maximum for a given step.

get_min_result

Get the result where a component is minimum for a given step.

get_result_at

Get the result for a given location.

sha256

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

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.

validate_data

Validate the data against the object's data schema.