How to define the imaginary part of a remote force using ACT?

Options
Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 414
First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
edited June 2023 in Structures

How to define the imaginary part of a remote force using ACT?

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 414
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    Answer ✓
    Options

    You can convert your Real and Imaginary values into Magnitude and Phase angle. Those two quantities can be applied in the form of a vector load using the following example:

    rf = analysis.AddRemoteForce()
    # Scope the result object to the desired body
    …
    Im = 3.
    Re = 4.
    resultant = sqrt(Im**2 + Re**2)
    rf.DefineBy = LoadDefineBy.Vector
    rf.Magnitude.Output.DiscreteValues = [Quantity("%s [N]" % resultant)]
    phase = atan(Im / Re) * 180 / pi
    rf.PhaseAngle.Output.DiscreteValues = [Quantity("%s [deg]" % phase)]
    # If for example the force is applied in the Global Z-Axis
    rf.Direction = Vector3D(0, 0, 1)