Skip to main content

DPF Mechanical 2026 R1

stress_eqv_as_mechanical_workflow class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.result

Summary

Generates a workflow that computes the equivalent (Von Mises) stresses and averages it to the nodes (by default). For multibody simulations, averaging across bodies can either be activated or deactivated.

available inputs: time_scoping (Scoping, IList int, System.Collections.IEnumerable) (optional), mesh_scoping (Scoping, ScopingsContainer) (optional), streams_container (StreamsContainer) (optional), data_sources (DataSources), mesh (MeshedRegion, MeshesContainer) (optional), requested_location (string) (optional), read_cyclic (bool) (optional), average_across_bodies (bool) (optional)

available outputs: workflow (Workflow)

Example

op = stress_eqv_as_mechanical_workflow()

op = stress_eqv_as_mechanical_workflow(time_scoping=my_time_scoping,mesh_scoping=my_mesh_scoping,streams_container=my_streams_container,data_sources=my_data_sources,mesh=my_mesh,requested_location=my_requested_location,read_cyclic=my_read_cyclic,average_across_bodies=my_average_across_bodies)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.result
Assembly Ans_Dpf_MechanicalResults_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

time_scoping

time/freq (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids use scoping with TimeFreq_steps location) required in output.

Type: LinkableInput

mesh_scoping

nodes or elements scoping required in output.

Type: LinkableInput

streams_container

result file container allowed to be kept open to cache data.

Type: LinkableInput

data_sources

result file path container.

Type: LinkableInput

mesh

prevents from reading the mesh in the results file.

Type: LinkableInput

requested_location

average the elemental nodal result to the requested location (default is nodal).

Type: LinkableInput

read_cyclic

if true, cyclic expansion is done. If false, it's ignored..

Type: LinkableInput

average_across_bodies

for multibody simulations, the stresses are averaged across bodies if true or not if false (default).

Type: LinkableInput

Outputs

workflow

Type: LinkableOutput

Constructors

Constructor

stress_eqv_as_mechanical_workflow()

Constructor

stress_eqv_as_mechanical_workflow(time_scoping, mesh_scoping, streams_container, data_sources, mesh, requested_location, read_cyclic, average_across_bodies, config)

Parameters:

  • time_scoping (object)
  • mesh_scoping (object)
  • streams_container (object)
  • data_sources (object)
  • mesh (object)
  • requested_location (object)
  • read_cyclic (object)
  • average_across_bodies (object)
  • config (OperatorConfig)

Constructor

stress_eqv_as_mechanical_workflow(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys