modal_superposition class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.math
Summary
Computes the solution in the time/frequency space from a modal solution by multiplying a modal basis (in 0)by the solution in this modal space (coefficients for each mode for each time/frequency) (in 1).
available inputs: modal_basis (FieldsContainer), solution_in_modal_space (FieldsContainer), incremental_fc (FieldsContainer) (optional), time_scoping (Scoping, IList int, System.Collections.IEnumerable) (optional), mesh_scoping (Scoping, ScopingsContainer) (optional)
available outputs: fields_container (FieldsContainer)
Example
op = modal_superposition()
op = modal_superposition(modal_basis=my_modal_basis,solution_in_modal_space=my_solution_in_modal_space,incremental_fc=my_incremental_fc,time_scoping=my_time_scoping,mesh_scoping=my_mesh_scoping)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.math |
| Assembly | Ans_Dpf_Math_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
modal_basis
One field by mode with each field representing a mode shape on nodes or elements.
Type: LinkableInput
solution_in_modal_space
One field by time/frequency with each field having a ponderating coefficient for each mode of the modal_basis pin.
Type: LinkableInput
incremental_fc
If a non-empty fields container is introduced, it is modified, and sent to the output, to add the contribution of the requested expansion. The label spaces produced from the multiplication must be the same as the incremental ones.
Type: LinkableInput
time_scoping
Compute the result on a subset of the time frequency domain defined in the solution_in_modal_space fields container.
Type: LinkableInput
mesh_scoping
Compute the result on a subset of the space domain defined in the modal_basis fields container.
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
modal_superposition()
Constructor
modal_superposition(modal_basis, solution_in_modal_space, incremental_fc, time_scoping, mesh_scoping, config)
Parameters:
modal_basis(object)solution_in_modal_space(object)incremental_fc(object)time_scoping(object)mesh_scoping(object)config(OperatorConfig)
Constructor
modal_superposition(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