workflow_energy_per_harmonic class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.result
Summary
Calculates the cumulated energy per harmonic in a multistage multiharmonic model.
available inputs: time_scoping (Scoping) (optional), mesh_scoping (Scoping) (optional), energy_type (Int32) (optional), stream (Stream), data_sources (DataSources)
available outputs: harmonic_energy (FieldsContainer), harmonic_energy_percentage (FieldsContainer)
Example
op = workflow_energy_per_harmonic()
op = workflow_energy_per_harmonic(time_scoping=my_time_scoping,mesh_scoping=my_mesh_scoping,energy_type=my_energy_type,stream=my_stream,data_sources=my_data_sources)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.result |
| Assembly | Ans_Dpf_FEMutils_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
time_scoping
Type: LinkableInput
mesh_scoping
Master scoping. All harmonics will be intersected with this scoping.
Type: LinkableInput
energy_type
Type of energy to be processed: (0: Strain + Kinetic energy (default), 1: Strain energy, 2: Kinetic energy)
Type: LinkableInput
stream
Type: LinkableInput
data_sources
Type: LinkableInput
Outputs
harmonic_energy
Type: LinkableOutput
harmonic_energy_percentage
Type: LinkableOutput
Constructors
Constructor
workflow_energy_per_harmonic()
Constructor
workflow_energy_per_harmonic(time_scoping, mesh_scoping, energy_type, stream, data_sources, config)
Parameters:
time_scoping(object)mesh_scoping(object)energy_type(object)stream(object)data_sources(object)config(OperatorConfig)
Constructor
workflow_energy_per_harmonic(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