User login

Navigation

You are here

Parametric model in ABAQUS

Svetlana Orlova's picture

Hello everybody!

 I need to make a parametric model in ABAQUS (using script).The ABAQUS scripting user's manual was helpful but i still have some questions about loads. Does anybody have any examples of simple problems or any tutorials ?

Many thanks )

Comments

We routinely create and use parametric models with Abaqus at my job with Red Cedar Technology. We provide example problems on how to do this with our optimization software, HEEDS. Academic licenses are often at a reduced cost, and I see that you're with St. Petersburg State Polytechnical University. If you're interested, send us an email via our contact form or email me at m.rademacher < a t > redcedartech.com

My Company - Red Cedar Technology

Dear sir.

     i want to do parametric modelling using AbaqusCAE.. i want to change few parameters in the model to that i do not have to run it again and again. plz suggest me how to do it in Cae.

  thanking you,

 

yours faithfully 

ravi 

 

 

Ravi,

I responded by email to you, but I also wanted to post my response here in case others might find it useful. It is shown below. 

To do automated parametric modeling in Abaqus/CAE you will need to do some basic scripting. One great thing about Abaqus/CAE is that it automatically saves every action you perform into a python script. This is named abaqus.rpy (past files will be renamed at startup to abaqus.rpy.1, .2, etc).

So you just need to open Abaqus/CAE, perform exactly (and only) the steps you would like automated, and then close CAE. Then you will need to find the abaqus.rpy file you generated from that session, and it can be used for automation.

Here is an example of some steps:

1. Open Abaqus/CAE.

2. Open model database which contains fully built model.

3. Change parameters of interest (shell thickness, composite orientations/thicknesses, geometric values). It doesn't matter what you change them to, just that you make a change to the value.

4. Move to Assembly module (will regenerate Assembly).

5. Remesh any parts which have changed geometry.

6. From Jobs, "Write Input" for the job associated with this model.

7. Save model (or Save As, depending on your situation).

8. Close CAE.

Then, find the abaqus.rpy file (it is saved in the working directory, so that depends on how you start CAE). Rename it to something else, but with a py extension (for example, script.py). Then you can find the parameter values you changed in CAE, and you can modify them directly.

To execute the script, you will need to use the command line. Start from a working directory that contains your python script and your CAE database. The following command will execute the python script:

abaqus cae startup=script.py

To execute in background:

abaqus cae noGUI=script.py

This will generate a new *.inp file with the parameter values changed. You can then execute the analysis with the following command:

abaqus interactive job=<jobname>

If you would like to get output in an automated fashion, see this comment:

http://imechanica.org/node/10173#comment-16652

I hope that helps. The Abaqus manuals have a lot more information on the specific commands I've referenced here. Additionally, if you're interested in performing optimization now that you've got the tools for automation, my company's design optimization software, HEEDS, has the most advanced technology available for that purpose. Let me know if you'd be interested in learning more about HEEDS. 

My Company - Red Cedar Technology

Subscribe to Comments for "Parametric model in ABAQUS"

Recent comments

More comments

Syndicate

Subscribe to Syndicate