General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

Spline Ansys MAPDL

    • Hoang NGUYEN
      Subscriber

      Hello everyone,

      I want to create a spline through serie of 360 points and i'm using the command to do it:

      K, ,P51X
      FLST,3,361,3
      FITEM,3,1
      FITEM,3,2
      FITEM,3,3
      FITEM,3,4
      FITEM,3,5
      ....

      FITEM,3,360

      FITEM,3,1

      SPLINE, ,P51X

      But somehow this command doesn't work. I've tried in multiple cases and it works only for maximum of 200 points. Anyone know how to use Ansys PDL can help me resolve this problem?

      Thank you so much and have a great day!

    • Bill Bulat
      Ansys Employee

      I found SR1173874281 in our records. It asserts that 200 points is a hard limit in MAPDL for BSPLI command - you apparently cannot use more that 200 points. This limit may actually be on the FITEM command - if so, the limitation likely applies to many other commands that use graphical picking as well. Since the MAPDL GUI is in "maintenance mode", the chances of this limitation being extended are pretty close to zero.

      The only workarounds I can think of presently are:

      1) Use fewer points (< 200) to resolve the curvature of the spline

      2) Create multiple splines that meet end-to-end and force the slopes of their endpoints to be identical with the fields of the SPLINE command indicated in the image below:

      You might then be able to merge the coincident end points of the splines with NUMMRG,KP

      Note however, that I do not know if the end slope for point 6 works if more than 6 points were used to define the spline via FITEM.

      Kind regards,

      Bill

       

       

    • Hoang NGUYEN
      Subscriber

      Hello,

      I've found a way to create splines through 240 KP by using:

      K, ,P51X
      FLST,3,121,3
      FITEM,3,1
      FITEM,3,2
      FITEM,3,3
      FITEM,3,4
      FITEM,3,5
      ....

      FITEM,3,121

      SPLINE, ,P51X

      K, ,P51X
      FLST,3,121,3

      FITEM,3,121

      FITEM,3,122

      ...

      FITEM,3,240

      FITEM,3,1

      SPLINE, ,P51X

      But eventually it will create 2 splines so how can i merge these 2 splines.

      Thank you for your respond! Have a nice day!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.