> ## 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.

# pretension class

**Namespace:** [Ans.DataProcessing.operators.result](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/result)

## Summary

Reads the pretension adjustment and tension force. Rotation is not allowed for these results.

available inputs: `time_scoping` (ScopingsContainer, Scoping) (optional), `mesh_scoping` (ScopingsContainer, Scoping) (optional), `fields_container` (FieldsContainer) (optional), `streams_container` (StreamsContainer, Stream), `data_sources` (DataSources), `mesh` (MeshedRegion, MeshesContainer) (optional), `read_cyclic` (Int32) (optional), `expanded_meshed_region` (MeshedRegion, MeshesContainer) (optional), `sectors_to_expand` (IList int, Scoping, ScopingsContainer, System.Collections.IEnumerable) (optional), `phi` (double) (optional)

available outputs: `adjustment` (FieldsContainer), `tension_force` (FieldsContainer)

## Example

```python theme={null}
op = pretension()

op = pretension(time_scoping=my_time_scoping,mesh_scoping=my_mesh_scoping,fields_container=my_fields_container,streams_container=my_streams_container,data_sources=my_data_sources,expanded_meshed_region=my_expanded_meshed_region,sectors_to_expand=my_sectors_to_expand,phi=my_phi)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.result` |
| Assembly | `mapdlOperatorsCore_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### time\_scoping

**Type:** *LinkableInput*

### mesh\_scoping

**Type:** *LinkableInput*

### fields\_container

**Type:** *LinkableInput*

### streams\_container

**Type:** *LinkableInput*

### data\_sources

**Type:** *LinkableInput*

### mesh

mesh. If cylic expansion is to be done, mesh of the base sector

**Type:** *LinkableInput*

### read\_cyclic

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

**Type:** *LinkableInput*

### expanded\_meshed\_region

mesh expanded, use if cyclic expansion is to be done.

**Type:** *LinkableInput*

### sectors\_to\_expand

sectors to expand (start at 0), for multistage: use scopings container with 'stage' label, use if cyclic expansion is to be done.

**Type:** *LinkableInput*

### phi

angle phi in degrees (default value 0.0), use if cyclic expansion is to be done.

**Type:** *LinkableInput*

## Outputs

### adjustment

Adjustment

**Type:** *LinkableOutput*

### tension\_force

Tension Force

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
pretension(time_scoping, mesh_scoping, fields_container, streams_container, data_sources, expanded_meshed_region, sectors_to_expand, phi, config)
```

**Parameters:**

* `time_scoping` (*object*)
* `mesh_scoping` (*object*)
* `fields_container` (*object*)
* `streams_container` (*object*)
* `data_sources` (*object*)
* `expanded_meshed_region` (*object*)
* `sectors_to_expand` (*object*)
* `phi` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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