Ansys Products

Ansys Products

How I can define an impulse function in ANSYS apdl?

    • Mehdi Baghaee
      Subscriber

      I want to define an impulse function in ANSYS apdl. I could not find heaviside function in function editor to build it (H(t-t0)-H(t-t1)). How I can build this function in ANSYS apdl, easily?

    • Bill Bulat
      Ansys Employee

      Hi Mehdi,

      If your intention is to apply a time-varying load, define a table array using MAPDL, for example:

      *dim,impulse,table,4

      impulse(1,1)=0,0,1,1 ! VALUES OF EXCITATION

      impulse(1,0)=0,1,1.0001,2 ! CORRESPONDING VALUES OF TIME

      /show,png

      *vplot,impulse(1,0),impulse(1,1) ! PLOT FUNCTION TO CHECK, .png WILL APPEAR IN MECH DIRECTORY

      /show,close

      acel,,,%impulse% ! EXAMPLE: APPLY ACCELERATION ON Z DIRECTION USING IMPULSE TABLE ARRAY

      Hope this helps!

      Bill

Viewing 1 reply thread
  • You must be logged in to reply to this topic.