Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How can I call "KEYWORDS" in Python code? In particular, the command *CONTACT CONTROLS ASS 1

Status
Not open for further replies.

structuraleng10

Civil/Environmental
Nov 11, 2015
4
Hi folks,

Two questions: the first one is more general (sorry but I'm new in Python and Abaqus). The second is more specific to a particular command.

1)
I'm working with Python file but I commonly have problems when I try to find the equivalent Python command to a specific keyword that is not available in the Abaqus CAE version. I know that input file is generated from the python file. But is there any way to "try to do the opposite"?

Or is there any methodology to call general keywords in python? Can I create code to read keywords in an input file and proceed the command in python file?

2)
In my current case, I want to use the keywords below to avoid reduction in thickness during an explicit dynamic analysis with contact elements.

*CONTACT CONTROLS ASSIGNMENT
CONTACT THICKNESS REDUCTION = NOPERIMSELF

I tried to find the equivalent command in CAE (to get the related python code for it) but there is not option for it in CAE. I didn't find in the Abaqus Script manual too.

Thanks a lot for all possible comments.

Best regards!
 
Replies continue below

Recommended for you

With Python you generate CAE commands and CAE is writing out the .inp.

You could use python to put the keyword into the CAE keyword editor or you use python to directly put the keyword into the .inp.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor