Skip to main content

DPF Mechanical 2026 R1

strain_from_voigt class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.utility

Summary

Converts strain field data from Voigt notation (6-component vector) to standard symmetric matrix format (3x3 tensor).

available inputs: strain_field (Field, FieldsContainer)

available outputs: field (Field)

Example

op = strain_from_voigt()

op = strain_from_voigt(strain_field=my_strain_field)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.utility
Assembly Ans_Dpf_Native_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

strain_field

Field with strain data in Voigt notation, or fields container containing such a field

Type: LinkableInput

field

Deprecated alias of: strain_field

Type: LinkableInput

Outputs

field

Field with strain data converted to standard 3x3 symmetric matrix format

Type: LinkableOutput

Constructors

Constructor

strain_from_voigt()

Constructor

strain_from_voigt(strain_field, config)

Parameters:

  • strain_field (object)
  • config (OperatorConfig)

Constructor

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