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

# contact_gap_distance class

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

contact\_gap\_distance()

contact\_gap\_distance(time\_scoping: object, mesh\_scoping: object, data\_sources: object, requested\_location: object, expanded\_meshed\_region: object, sectors\_to\_expand: object, phi: object, config: OperatorConfig)

contact\_gap\_distance(config: OperatorConfig)

## Class Information

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

## Inputs

### time\_scoping

time/freq values (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. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq\_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

**Type:** *LinkableInput*

### mesh\_scoping

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

**Type:** *LinkableInput*

### fields\_container

Fields container already allocated modified inplace

**Type:** *LinkableInput*

### streams\_container

result file container allowed to be kept open to cache data

**Type:** *LinkableInput*

### data\_sources

result file path container, used if no streams are set

**Type:** *LinkableInput*

### bool\_rotate\_to\_global

if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect.

**Type:** *LinkableInput*

### mesh

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

**Type:** *LinkableInput*

### requested\_location

requested location Nodal, Elemental or ElementalNodal

**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*

### read\_beams

elemental nodal beam results are read if this pin is set to true (default is false)

**Type:** *LinkableInput*

### split\_shells

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

**Type:** *LinkableInput*

### shell\_layer

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

**Type:** *LinkableInput*

### extend\_to\_mid\_nodes

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
contact_gap_distance(time_scoping, mesh_scoping, data_sources, requested_location, expanded_meshed_region, sectors_to_expand, phi, config)
```

**Parameters:**

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

#### Constructor

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