General Mechanical

General Mechanical

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

Ansys Motion Function problem

TAGGED: 

    • Hongxiao Xiang
      Subscriber

      Hello all,

      I'm facing the solving problem caused by the function. 

      The error message shows that here is a unknown marker pair in a function.

      I have checked the function and the argument list, as shown below:

      Argument 1&2 is the marker' name. I'm sure that they are right.

      But in argument 3&4, they are splines containing x-y data. I'm not sure the quotating method is right in function and argument list.

      Looking forward to your reply.

    • Hongxiao Xiang
      Subscriber

       

       I have no idea about the spline quotating method:(.

       

    • Ankush Choudhary
      Ansys Employee

      Hi Hongxiao,

      Which Ansys version are you using?

    • Hongxiao Xiang
      Subscriber

      Hi Ankush,

      The version is 2022 R1

    • Ankush Choudhary
      Ansys Employee

      Hi Hongxiao,

      The first argument of the step function is an independent variable, which is generally time in most cases. However, you are taking the relative angular velocity in the first argument. The same is the case with the AKISPL spline function, which generally needs an independent variable in the first argument, like time. I also noticed that you didn't close the bracket for the second argument of the step function.

      Please check out the information on functions in motion document and try to build simple functions first.

      • Hongxiao Xiang
        Subscriber

        Hi Ankush,

        Thanks for your reply. 

        You said in te fore reply is  that the first argument of the STEP/AKISPL function is an independent varibale. 

        I have queried the preprocessor manual. The manual shows

        E1 is the real or expression type. So I think velocity function(expression) is also suitable for this clarification. 

        Hope for your further views:)

    • Ankush Choudhary
      Ansys Employee

      Hi Hongxiao,

      Yes, the E1 argument represents the independent variable, and it can also be an expression. Generally, in dynamic analysis, time is an independent variable. However, you can also use expression; it completely depends on your requirements and what information you need. I have tested the below function, which is working fine.Please test the below function expression.

      STEP(WZ(#1,#2),-1*126/180*PI,1,126/180*PI,-1)*(0.535*AKISPL(ABS(FZ(#1,#2)),0,#3,0))+AKISPL(SQRT(TX(#1,#2)*TX(#1,#2)+TY(#1,#2)*TY(#1,#2)),0,#4,0)+8.78

Viewing 5 reply threads
  • The topic ‘Ansys Motion Function problem’ is closed to new replies.