Skip to main content
Namespace: Ans.DataProcessing

Summary

The time freq support describes an analysis’ temporal or frequential space. For a transient or static analysis all the time sets cumulatives indices with their times and their load steps are described. For a harmonic analysis, the real and imaginary frequencies, the RPMs, the load steps are described. For a modal analysis, the modes frequencies can be found.

Example

Class Information

Constructors

Constructor

Constructor

Parameters:
  • pTimeFreqSupport (IntPtr)

Methods

AppendStep

Parameters:
  • step_id (int)
  • step_time_frequencies (list)
  • step_complex_frequencies (list (optional))
  • rpm_value (float (optional))
  • step_harmonic_indices (dict (optional))

GetInternalData

Returns: IntPtr

GetHarmonicIndices

Method GetHarmonicIndices return the harmonic indices field that matches with the specified stage number
Parameters:
  • num_stage (int (optional))
Returns: Field

SetHarmonicIndices

Method SetHarmonicIndices set the TimeFreqSupport harmonic indices field for a specified stage number
Parameters:
  • field (Field)
  • num_stage (int (optional))

GetTimeFreqCummulativeIndex

Parameters:
  • dVal (float)
  • i1 (Int32& (out))
  • i2 (Int32& (out))
Returns: int

GetTimeFreqCummulativeIndex

Method GetTimeFreqCummulativeIndex return the index through all the steps of the step and substep asked This cumulative index + 1 allow to request specific time set to the result provider (stress, strain…)
Parameters:
  • stepIndex (int)
  • subStepIndex (int)
Returns: int

GetImaginaryFreqsCummulativeIndex

Parameters:
  • dVal (float)
  • i1 (Int32& (out))
  • i2 (Int32& (out))
Returns: int

GetTimeFreq

Method GetTimeFreq return the time or frequency at the step and substep asked
Parameters:
  • stepIndex (int)
  • subStepIndex (int)
Returns: float

GetImaginaryFreq

Method GetImaginaryFreq return the time or frequency at the step and substep asked
Parameters:
  • stepIndex (int)
  • subStepIndex (int)
Returns: float

GetTimeFreq

Method GetTimeFreq return the time or frequency at the cumulative index asked
Parameters:
  • iCumulativeIndex (int)
Returns: float

GetImaginaryFreq

Method GetImaginaryFreq return the time or frequency at the cumulative index asked
Parameters:
  • iCumulativeIndex (int)
Returns: float

GetCyclicHarmonicIndex

Method GetCyclicHarmonicIndex return the cyclic harmonic index at the cumulative index asked
Parameters:
  • iCumulativeIndex (int)
Returns: int

Properties

NumberSets

Property NumberSets number of time/freq sets in the model (in all the steps) Type: int

TimeFreqs

Property TimeFreqs field of time frequency of the model. Each entity data of the field is a time/freq step Type: Field

ImaginaryFreqs

Property TimeFreqs field of the imaginary time frequency of the model. Each entity data of the field is a time/freq step Type: Field

Rpms

Property Rpms field having one rpm value by step Type: Field