Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Creating a Name in Python for Abaqus

Status
Not open for further replies.

tpflaum7

Structural
Jul 20, 2012
2
When I run my program I would like to create names in the Model Space of Abaqus other than Part-1, Job-1 etc. If possible I would like them to be created based on inputs I add so I can always know what size plate is being run.

For example the generic file name is: p_l_w_t_dec_mat

*p=plate and t=thickness and those will stay the same
*mat would either be A36, A242, or A572 steel and I will make 3 scripts for the different materials so that does not need to change as well.

However, l,w, and dec will change.

say l=20
w=4
dec=0375 (0375 equates to a 3/8 in. plate)

I would want the final results to read
p_20_4_t_0375_A36 and then I would change the p value to s, j, o, etc when it comes to the section, job, output, etc.

Because the input values will change I want the name to automatically update when I change l,w, dec.

THANKS!

Therese

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor