×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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!

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

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources