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.

Automaticaly export Nodal Deformation for each time step in a Transient Analysis

    • a.fontanella1
      Subscriber

      HI! I'm trying to write a code (python or APDL) in Mechanical to automatically export (save in .txt or .csv) the results of a transient analysis. In particular I want to save the nodal deformation forn each time-step in the y direction of a specific node (result present in the result tree). I tried following the directions described in https://discuss.ansys.com/discussion/2161/insert-results-and-export-image-and-animation?utm_source=community-search&utm_medium=organic-search&utm_term=Export+and+ image or at https://innovationspace.ansys.com/forum/forums/topic/how-to-automatically-export-csv-or-xls-after-solving-each-design-point/ but I get the deformation in x,y and z direction in just one time step. Can anyone help me understand where I'm wrong?

    • Erik Kostson
      Ansys Employee

       

       

      Hi

      Yes that is what happens (one time step export.). So instead :

      Use this act mech. script to print results to a text file.

      https://discuss.ansys.com/discussion/2544/how-can-i-using-scripting-get-displacements-as-function-of-time-at-certain-areas

      All the best

      Erik

       

       

    • a.fontanella1
      Subscriber

      Thanks for the reply, I realized that I need an APDL command because it is the only one that is written in the "write input" (I need it to run in MAPDL). I tried to adapt the script you gave me but I only get an empty file 

      • Erik Kostson
        Ansys Employee

        Hi

        In that same post there is an apdl example (see link again below) .

        https://discuss.ansys.com/discussion/2544/how-can-i-using-scripting-get-displacements-as-function-of-time-at-certain-areas

        All the best

        Erik

         

    • Erik Kostson
      Ansys Employee

      Closing - others might find this useful.

       

Viewing 3 reply threads
  • The topic ‘Automaticaly export Nodal Deformation for each time step in a Transient Analysis’ is closed to new replies.