General Mechanical

General Mechanical

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

How do i get/extract the underlying APDL commands used in ANSYS Mechanical?

    • timlim123
      Subscriber

      I have tried doing ( Tools > Write Input Files) but the commands given in the text file is an oversimplified version. The image of the text file given to me after doing topology optimization:


       



       


      I have highlighted the "commands" used for the response constraint that I have set up in ANSYS Mechanical, it is a pseudo-code as there are no such APDL commands available. I really hope that there is a method to see the actual APDL Commands used so that I can possibly make my own response constraint.


       


       

    • Sandeep Medikonda
      Ansys Employee

      Hi Tim,


      I don't think there is any way to do this with APDL commands.  A long time back (probably v12.1 or so) the topology optimization commands were part of APDL but were very limited.  TOPDEF would define some of the setup, TOPEXE would run a single step of topology optimization, and TOPITER would run a series of topo iterations.  


      All of the constraints were controlled with a bunch of OP commands (OPADD, OPVAR, OPTYPE, OPFRST, etc).  You can find some of the old documentation.


      At some point, all of these commands became undocumented and were removed from the APDL GUI interface.  


      The new Workbench Topo Opt doesn't seem to use any of those commands.  When I look at the ds.dat file it appears that all of the topo opt stuff is being handled by an APDL system command:


      /SYS,"C:Program FilesANSYS Incv192ANSYSbinwinx64Opti.exe" 53795 TOPO1


      I'm not sure what that Opti.exe command will call but unless it specifically references the APDL commands, there isn't really a way to customize it.  


      Regards,
      Sandeep

    • timlim123
      Subscriber

      Hi Sandeep,


      Thank you for taking your time out for answering my question.


       


      Would there be any method to extract the log file from ANSYS Mechanical? Maybe if I can get my hands on the log file, I will be able to see the APDL commands used for the response constraint in ANSYS Mechanical. I will take a look at OP commands to see whether are there any methods for executing response constraints.


       

    • Mike95
      Subscriber

      Hi Tim,


      did you find a solution for your problem? Because I have the same problem.


       


      Thank you.

Viewing 3 reply threads
  • The topic ‘How do i get/extract the underlying APDL commands used in ANSYS Mechanical?’ is closed to new replies.