-
-
December 19, 2018 at 12:37 am
timlim123
SubscriberI 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.
Â
Â
-
December 19, 2018 at 3:13 pm
Sandeep Medikonda
Ansys EmployeeHi 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 -
December 20, 2018 at 12:44 am
timlim123
SubscriberHi 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.
Â
-
October 25, 2019 at 12:54 pm
Mike95
SubscriberHi Tim,
did you find a solution for your problem? Because I have the same problem.
Â
Thank you.
-
- The topic ‘How do i get/extract the underlying APDL commands used in ANSYS Mechanical?’ is closed to new replies.
-
3737
-
1328
-
1163
-
1090
-
1014
© 2025 Copyright ANSYS, Inc. All rights reserved.