ResultDefinition#

class ansys.dpf.composites.result_definition.ResultDefinition(name, combined_failure_criterion, composite_scopes, rst_files, material_file, measure='inverse_reserve_factor', stress_strain_eval_mode='rst_file', time=None, expression='composite_failure', max_chunk_size=50000)#

Represents the result definition of DPF Composites.

This class is used to configure the DPF operators composite::failure_evaluator and composite::sampling_point_evaluator.

Methods

ResultDefinition.check_has_single_scope(msg)

Check that the result definition has one scope.

ResultDefinition.to_dict()

Get the result definition in a dictionary representation.

ResultDefinition.to_json()

Convert the dictionary representation of the result definition to a JSON dictionary.

Attributes

ResultDefinition.combined_failure_criterion

Configuration of the failure criteria such as maximum stress, puck, and wrinkling.

ResultDefinition.expression

Type of the result.

ResultDefinition.material_file

Path of the material files that store the material properties.

ResultDefinition.max_chunk_size

Maximum chunk size (number of elements) for the result evaluation.

ResultDefinition.measure

Return type of the failure values.

ResultDefinition.name

Custom name.

ResultDefinition.rst_files

Path of the result (RST) files.

ResultDefinition.scopes

Scopes of the result definition.

ResultDefinition.stress_strain_eval_mode

Results loaded from a result (RST) file by default.

ResultDefinition.time

Time or solution step.