strain_eqv_as_mechanical class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.result
Summary
Computes the equivalent (Von Mises) elastic strains 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), poisson_ratio (Int32, double) (optional), read_cyclic (bool) (optional), average_across_bodies (bool) (optional)
available outputs: fields_container (FieldsContainer), meshes_container (MeshesContainer)
Example
op = strain_eqv_as_mechanical()
op = strain_eqv_as_mechanical(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,poisson_ratio=my_poisson_ratio,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
poisson_ratio
Poisson ratio to be used in equivalent strain calculation.
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
fields_container
Type: LinkableOutput
meshes_container
Type: LinkableOutput
Constructors
Constructor
strain_eqv_as_mechanical()
Constructor
strain_eqv_as_mechanical(time_scoping, mesh_scoping, streams_container, data_sources, mesh, requested_location, poisson_ratio, read_cyclic, average_across_bodies, config)
Parameters:
time_scoping(object)mesh_scoping(object)streams_container(object)data_sources(object)mesh(object)requested_location(object)poisson_ratio(object)read_cyclic(object)average_across_bodies(object)config(OperatorConfig)
Constructor
strain_eqv_as_mechanical(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