DisplacementFieldResults

class compas_fea2.results.DisplacementFieldResults[source]

Bases: NodeFieldResults

Displacement field results.

This class handles the displacement field results from a finite element analysis.

Parameters:
stepcompas_fea2.problem._Step

The analysis step where the results are defined.

Attributes:
components_nameslist of str

Names of the displacement components.

invariants_nameslist of str

Names of the invariants of the displacement field.

results_classclass

The class used to instantiate the displacement results.

results_funcstr

The function used to find nodes by key.

Inherited Methods

ToString

Converts the instance to a string.

component_scalar

components_vectors

components_vectors_rotation

compute_resultant

copy

Make an independent copy of the data object.

filter_by_component

from_hdf5

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

from_name

get_limits_component

get_max_result

get_min_result

get_result_at

jobdata

sha256

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

to_hdf5

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.