Skip to main content

DPF Mechanical 2026 R1

invariants class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.invariant

Summary

Computes the element-wise invariants of a tensor field.

available inputs: field (Field)

available outputs: field_int (Field), field_eqv (Field), field_max_shear (Field)

Example

op = invariants()

op = invariants(field=my_field)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.invariant
Assembly Ans_Dpf_FEMutils_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

field

Type: LinkableInput

Outputs

field_int

stress intensity field

Type: LinkableOutput

field_eqv

stress equivalent intensity

Type: LinkableOutput

field_max_shear

max shear stress field

Type: LinkableOutput

Constructors

Constructor

invariants()

Constructor

invariants(field, config)

Parameters:

  • field (object)
  • config (OperatorConfig)

Constructor

invariants(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