We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Sinusoidal Load in Ansys APDL

    • renanmp12
      Subscriber

      I need to apply a sinusoidal load on a beam. I am using APDL to do it. How do I set this load at Ansys APDL ?


      sinusoidal load on a beam

    • Mare Levin
      Subscriber

      Hi did you found the solution

    • Erik Kostson
      Ansys Employee

       

       

       

      Hi

      See the SFEBEAM command.

      This shows some ways of doing this (there is a script there that uses an equation).

      /forum/forums/topic/uniformly-varying-load-with-function/

      (just change in the above link the sfbeam command to:

      SFBEAM,i,2,PRES,10000*SIN((XI*3.14)/L),10000*SIN((XJ*3.14)/L) ! Apply pressure)

      All the best

      Erik

       

       

       

    • Erik Kostson
      Ansys Employee

      For linear load (selects a named selection called beam1).

      CMSEL,S,beam1,ELEM

      *GET,ECOUNT,ELEM,,COUNT              ! Get total number of elements

       

      ELi=0

       

      *DO,i,1,ECOUNT,1

      ELi=ELNEXT(ELi)

      *GET, EI, ELEM, ELi, NODE, 1 ! Find first node


      *GET, EJ, ELEM, ELi, NODE, 2 ! Find second node


      *GET, XI, NODE, EI, LOC, X, ! Find x coordinates


      *GET, XJ, NODE, EJ, LOC, X, ! Find x coordinates


      SFBEAM,i,2,PRES,(XI),(XJ) ! Apply pressure


      *ENDDO


      ALLSEL,ALL,ALL

Viewing 3 reply threads
  • The topic ‘Sinusoidal Load in Ansys APDL’ is closed to new replies.