General Mechanical

General Mechanical

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

Post APDL Command in Ansys Workbench fails

    • Moritz Rüdiger
      Subscriber

      Hi, I want to do some postprocessing of an already solved simulation.
      Under solution I added an apdl code which also uses the command "set" and it works for the first run.
      As soon as I execute the APDL code a second time I get the error "An error occurred while attempting to open the results file file.rst.  ".The rst file is rather big 140 GB.

      Just the APDL code:

      set,1

      creates the error.

      I use WB2023R2 Static Structural Simulation

    • Ashish Khemka
      Forum Moderator

      Hi,

      Please see if the following forum thread helps: Error occurred when the post processor attempted to load a specific result file (ansys.com)

      Regards,

      Ashish Khemka

    • Moritz Rüdiger
      Subscriber

      Hi,

      unfortunately this doesn't help. The APDL works all the time after a fresh Workbench restart.
      Just if I execute the post apdl command a second time it doesn't work.

       

    • Ashish Khemka
      Forum Moderator

      Hi,

      What if you try the following via GUI or command:

      /POST1  
      INRES,ALL   
      FILE,'file','rst','D:/

       

       

      Regards,

      Ashish Khemka

    • Moritz Rüdiger
      Subscriber

      The post apdl command is executed within Workbench not in classic. In classic evwerthing works fine.

    • dlooman
      Ansys Employee

      I have found with commands objects that they sometimes work when they are executed immediately after the solution, but when you try to run them a 2nd time without rerunning the solution they don't.  Sometimes it's necessary to issue a resume command at the top of the commands object (which would require a database to be saved in Analysis Settings> Data Management>).  In the APDL gui when you issue the SET command without resuming a database the program asks if you want to recreate the database from the nodes and elements on the rst file.  Perhaps that doesn't work in batch mode.

Viewing 5 reply threads
  • The topic ‘Post APDL Command in Ansys Workbench fails’ is closed to new replies.