> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# strain_eqv_as_mechanical class

**Namespace:** [Ans.DataProcessing.operators.result](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/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

```python theme={null}
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

```python theme={null}
strain_eqv_as_mechanical()
```

#### Constructor

```python theme={null}
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

```python theme={null}
strain_eqv_as_mechanical(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
