How do I retrieve Natural Frequencies from a Modal Analysis using DPF in Mechanical?
Ayush Kumar
Member, Moderator, Employee Posts: 450
✭✭✭✭
How do I retrieve Natural Frequencies from a Modal Analysis using DPF in Mechanical?
Tagged:
0
Answers
-
Using Time Frequency Support. If the Modal analysis is damped the frequencies are stored as imaginary frequencies.
import mech_dpf mech_dpf.setExtAPI(ExtAPI) import Ans.DataProcessing as dpf dpf.DataProcessingCore.LoadLibrary("math", r"C:\Program Files\ANSYS Inc\v211\aisol\bin\winx64\Ans.Dpf.Math.dll") # Please change the analysis system index ds = mech_dpf.GetDataSources(0) time_provider = dpf.operators.metadata.time_freq_provider() time_provider.inputs.data_sources.Connect(ds)
Damped Modal Analysis
natural_freqs = time_provider.outputs.time_freq_support.GetData().ImaginaryFreqs.Data
Undamped Modal Analysis
natural_freqs = time_provider.outputs.time_freq_support.GetData().TimeFreqs.Data
2