Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QUESTION ABOUT PYTHON SCRIPTS

Status
Not open for further replies.

3JC

Mechanical
Jul 12, 2010
98
0
0
PE
Dear collages:

First I want to congratulate to every people who make possible this forum. It's very helpful for people as me.

I'm new here (also in Abaqus software). I would like to do a SCRIPT to automatize a parametric calculation. In ANSYS is possible, to see APDL commands, go to List/File/Log File after click a button comand, and copy to a *txt file every options. Finally only is necessary to copy everything and paste in ANSYS Command Prompt. Is there anything similar in Abaqus?

Thank you very much.

Best regards,

Juan José
 
Replies continue below

Recommended for you

check the RPY file, it should be in your working directory.
the process is not error-proof unfortunately, as i've found out.
for instance, if you modify sth in the python script (like depth of a cut) and have geometry like a coord sys, it won't work after the change (something to do with how it defines pts for the cs).
does anyone have a solution for a problem like this?
 
Dear colleages,

Thank you very much to loki3000 for your attention. In this moment I would like to know if anyone have a solution to my problem that I have described some weeks ago.

Thank you very much,

Juan José
 
What loki3000 wanted to tell you, I think if not correct me, is that in abaqus.rpy file located in your working directory, you can see every python command abaqus executes when you do something clicking on the abaqus interface. In this way, you can script and then to modify some values... and run it directly.

As well, in abaqus you have a command promt that allows you to enter the lines from your script to be executed one by one ... command promt (I think its called like this, isnt?) is located in the down part of abaqus inteface, click on the other tab.

Oriol
 
Thank you very much for your asnwer. First I couldn't understand, but so now (*.rpy extension in Temp directory).

Best regards,

Juan José
 
Status
Not open for further replies.
Back
Top