Computer Aided Engineering Journal & Forums

Full Version: Abaqus PDE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is more of a tip than a full tutorial but anyone running Abaqus 6.7-EF or newer who is interested in automation using python scripts might find it useful.

If you launch CAE from a command prompt and include '-pde' as a flag...
e.g.
Code:
C:\Simulia\6.8-1\exec\abq681 cae -pde
you will see a new window open over CAE.

This is a project which Simulia have recently been working on called PDE (Python Development Environment). This is a handy program which allows you to record everything you do in CAE using the Python language, in a similar way to how a replay file works. However the recording is in real-time; as in each click or command is recorded and can be seen in the PDE window as it is performed.

The advantage of this is that a recording in PDE can be modified and played back without modifying previous work. For example if I have created a part and want ten parts which are similar but have slightly varied parameters it simply requires a copy and paste operation in the PDE recording.

PDE becomes particularly useful if a large number of tedious operations are required; for example I recently had to create a few hundred material definitions for a certain part (don't ask). This took a matter of seconds by recording the creation of one material and using a loop to create the rest in PDE.

Of course this could all be achieved by implementing user-written python scripts as outlined in the Abaqus scripting guide. However PDE requires very little knowledge of python and is handy for someone who simply wants tedious work in CAE to be done quickly.
Thank you very much. You do not know how much this is gonna help meSmile. Will report back with my experience. Again, Thanks!
Thanks. I use 6.8 and the PDE is listed in File menu.
But could you tell me if this method is better than a Macro? I am no expert.
Thanks
-Jongl
Its a matter of preference really. They both perform the same function however Macros are recorded in the usual Abaqus Python scripting syntax which takes some time to learn. Also editing a Macro requires quite a bit of over and back between the python file and CAE to ensure everything works.

PDE records mouse clicks and menu selections verbatim. It records these in a syntax that is different from the Macro one and is, in my opinion, more intuitive for someone who has no knowledge of Python or Abaqus scripting. It also allows editing and debugging in real-time which is handy for getting simple things done quickly.

In short the PDE recorder is quicker and easier to use than Macro but maybe lacks some of the more detailed capabilites of the Macro recorder.
many thanks for the info Smile
Reference URL's