Postprocess force on remote point from remote displacement

Options
Pernelle Marone-Hitz
Pernelle Marone-Hitz Member, Moderator, Employee Posts: 827
First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
edited June 2023 in Structures

How can I postprocess the force reaction on a remote displacement boundary condition ?


Tagged:

Best Answer

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 827
    First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
    edited April 2023 Answer ✓
    Options

    The following code can be adapted. It will add a force reaction probe and scope it to the first remote displacement in the Mechanical tree.

    remote_disp = Model.Analyses[0].GetChildren(DataModelObjectCategory.RemoteDisplacement,True)[0] # get first remote disp in tree
    force_reaction = Model.Analyses[0].Solution.AddForceReaction()
    force_reaction.BoundaryConditionSelection = remote_disp
    Model.Analyses[0].Solution.EvaluateAllResults()