Damping ratio for the Modal Bodies in Motion

Gabriel Messager
Gabriel Messager Member, Employee Posts: 54
10 Comments 5 Likes Name Dropper First Anniversary
✭✭✭✭
edited June 2023 in Structures

How to define a damping ratio for the Modal Bodies (instead of the Stiffness Proportional Ratio)?

Tagged:

Comments

  • Gabriel Messager
    Gabriel Messager Member, Employee Posts: 54
    10 Comments 5 Likes Name Dropper First Anniversary
    ✭✭✭✭


    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()