Skip to main content

DPF Mechanical 2026 R1

stiffness_matrix_energy class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.result

stiffness_matrix_energy()

stiffness_matrix_energy(time_scoping: object, mesh_scoping: object, data_sources: object, expanded_meshed_region: object, sectors_to_expand: object, phi: object, config: OperatorConfig)

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

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

fields_container

Type: LinkableOutput

Constructors

Constructor

stiffness_matrix_energy()

Constructor

stiffness_matrix_energy(time_scoping, mesh_scoping, data_sources, expanded_meshed_region, sectors_to_expand, phi, config)

Parameters:

  • time_scoping (object)
  • mesh_scoping (object)
  • data_sources (object)
  • expanded_meshed_region (object)
  • sectors_to_expand (object)
  • phi (object)
  • config (OperatorConfig)

Constructor

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