Thursday, August 7, 2014
Sunday, June 8, 2014
Script to use CAE for parametric study
You can use Python script to control Abaqus/CAE for an automatic parametric study including pre- and post- processing. First, create a model in /CAE with all parameters set up. Remember you can define parameter name in Sketch module -> Edit -> Parameter Manager to make your scripting easier to read. To control /CAE perform an analysis you want, using the following commands:
myjob=mdb.jobs['jobname_in_CAE']
myjob.submit()
myjob.waitForCompletion()
The last command is used to pause the script and wait until the analysis is complete. After that, add the post-processing scripts to your code to finish the data extraction and analysis. Like an Isight-Lite!
myjob=mdb.jobs['jobname_in_CAE']
myjob.submit()
myjob.waitForCompletion()
The last command is used to pause the script and wait until the analysis is complete. After that, add the post-processing scripts to your code to finish the data extraction and analysis. Like an Isight-Lite!
Subscribe to:
Posts (Atom)