Skip to main content

DPF Mechanical 2026 R1

assemble_scalars_to_matrices class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.utility

Summary

Take nine scalar fields and assemble them as a 3x3 matrix field. If the 'symmetrical' input is set to true, only six scalar fields are required (xx, yy, zz, xy, xz and yz).

available inputs: xx (Field) (optional), yy (Field) (optional), zz (Field) (optional), xy (Field) (optional), yz (Field) (optional), xz (Field) (optional), yx (Field) (optional), zy (Field) (optional), zx (Field) (optional), symmetrical (bool) (optional)

available outputs: field (Field)

Example

op = assemble_scalars_to_matrices()

op = assemble_scalars_to_matrices(xx=my_xx,yy=my_yy,zz=my_zz,xy=my_xy,yz=my_yz,xz=my_xz,yx=my_yx,zy=my_zy,zx=my_zx,symmetrical=my_symmetrical)

Class Information

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

Inputs

xx

Type: LinkableInput

yy

Type: LinkableInput

zz

Type: LinkableInput

xy

Type: LinkableInput

yz

Type: LinkableInput

xz

Type: LinkableInput

yx

Type: LinkableInput

zy

Type: LinkableInput

zx

Type: LinkableInput

symmetrical

Type: LinkableInput

Outputs

field

Type: LinkableOutput

Constructors

Constructor

assemble_scalars_to_matrices()

Constructor

assemble_scalars_to_matrices(xx, yy, zz, xy, yz, xz, yx, zy, zx, symmetrical, config)

Parameters:

  • xx (object)
  • yy (object)
  • zz (object)
  • xy (object)
  • yz (object)
  • xz (object)
  • yx (object)
  • zy (object)
  • zx (object)
  • symmetrical (object)
  • config (OperatorConfig)

Constructor

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