Damping ratio for the Modal Bodies in Motion
Gabriel Messager
Member, Employee Posts: 54
✭✭✭✭
How to define a damping ratio for the Modal Bodies (instead of the Stiffness Proportional Ratio)?
Tagged:
0
Comments
-
ksi = 0.01 # damping ratio motionObjects = ExtAPI.DataModel.GetUserObjects("ANSYSMotion") for mybp in motionObjects: if mybp.Name == "BodyProperties": modes = mybp.AllProperties[13] frequency = modes.Value['Definition/Modes/Frequency'] stiff_prop_ratio = modes.Value['Definition/Modes/StiffnessProportionalRatio'] for i in range(6,len(stiff_prop_ratio)): stiff_prop_ratio[i] = 2*ksi /(frequency[i]*2*pi) modes.ValidState = ValidStateEnum.StateValid ExtAPI.DataModel.Tree.Refresh()
0