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.

MAPDL Help with Outputting Stress on Path

    • Shuangkai.Zhu
      Subscriber

      Hi all,

      I was trying to do a simple 2D axisymmetric model simulating the load transfer between two cylinders (in 2D case, two rectangles) under press-fit condition. I would like to extract the normal stresses and shear stresses distribution on the contact interface, where a path was constructed.

      But when I was trying to use PASAVE command to output the stress-distance to an external file, it kept output unreadable gibberish files either saving it in .txt or .csv format. I also tried different encoding in Notepad but none has succeeded. What could go wrong in my case? Is there another way to output the stresses on path to an external file?

      APDL coding:

      /POST1
      .
      .
      .
      lsel,s,,,9
      ksll
      ksel,s,,,3,7,4
      nslk
      nnn1=ndnext(1)
      nnn2=ndnext(nnn1)
      alls
      FLST,2,2,1
      FITEM,2,nnn1
      FITEM,2,nnn2
      PATH,path,2,30,40,
      PPATH,P51X,1
      PDEF, ,S,y,AVG
      PLPATH,Sy
      PASAVE,S,Normal_%j%,csv,
      .
      .
      .

      Thanks in advance

    • dlooman
      Ansys Employee

      Perhaps PASAVE writes a file in internal format only read by PARESU.  PAPUT would create an array and PRPATH output could be cut and pasted into EXCEL.

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