General Mechanical

General Mechanical

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

How to extract the command code in ANSYS APDL?

    • xiaofuli
      Subscriber

      Hi, I generate a general cantilever beam and simulate it with ANSYS APDL, I would like to extract the complete record of my simulation in terms of commands, but the problem is that when I finished the simulation and save it, there is no any log file. I have no idea why it will happen, could any one help me to deal with this issue? Thanks

    • Sandeep Medikonda
      Ansys Employee

      Read these 2 sections from the Help


      Mechanica APDL > Operations Guide:


      Chapter 8: 8.1. Using the Session Log File


      Chapter 8: 8.2. Using the Database Command Log


      How to access the ANSYS Online Help

    • xiaofuli
      Subscriber

      Dear SandeepMedikonda


      Thanks for answering my question, I did check the link you provide, I could find the way to get the log file, but the problem is that if I paste the command into the APDL command window, It just could not work. Do you have any ideas why this situation will happen? I also attached the log file.


      Best Regards,


      Li


       

    • Sandeep Medikonda
      Ansys Employee

      Li,


      I can't download the file. 


      What specific command are you referring to? Can you copy paste them as text and use Preformatted text option?


      Regards,
      Sandeep

    • jj77
      Subscriber

      You do not have a mesh, BC loads and do not solve anything, so it is just setting up your graphical display (all the commands) - then though you are trying to plot displacements, pldisp command and of course it will tell you there is nothing to plot (no results).


       


      You would need to have a model and something to solve, and then one can plot results.


       


      You can also look up all these commands in the log file in the help, search for command reference.


       


      In the ansys verification manual you can get sample input files that include models  and solutions which you can look at and try to understand.

    • xiaofuli
      Subscriber

      Sorry about my late reply, I will take a look at my log file again and get back as soon as possible if there are some other issues that might occur. Thanks for all the helps.

Viewing 5 reply threads
  • The topic ‘How to extract the command code in ANSYS APDL?’ is closed to new replies.