python scripts for abaqus_Python Scripting in ABAQUS

Python Scripting in ABAQUS

Kevin Maxwell

Texas A&M University

August 30, 2006

Introduction

ABAQUS CAE provides a graphical user interface that allows the user to create

finite

element models that can then be analyzed in ABAQUS Standard.  For every feature in

CAE, there is a corresponding Python script command that the program uses when

creating the model.  If the language is understood well enough, an entire model can be

created simply by running a script file.

While one could write an entire script from scratch, ABAQUS provides several easier

methods that autogenerate Python commands.  When a model is created in CAE, two

files are automatically created in the work directory.  The replay file records every action

that is performed in CAE including camera zoom/panning commands and also any

mistakes that were made and then corrected.

This file can be run to “replay” all the work

that has been done on the model.  The recover file records only the minimum necessary

commands to recreate the model.  If an error occurs and CAE closes without saving, the

recover file can be run to recreate the model.  When a model is saved, CAE uses the

recover file to write a journal file.  The journal file is a comprehensive script that shows

all work saved on the model.  Note that the recover file is deleted whenever the model is

saved and all of its commands are transferred to the journal file. The recover and journal

files provide an easy alternative to writing Python scripts from scratch.  One can simply

define a model in CAE and then save the Python commands from the recover or journal

files as a separate script file.

There are several valuable sources of information pertaining to scripting in ABAQUS.

The

ABAQUS Scripting User‟s Manual and ABAQUS Scripting Reference Manua

l are

invaluable resources that are included in the ABAQUS documentation.  The user‟s

manual gives an overview to scripting while the reference manual provides in-depth

coverage of every scripting command used in ABAQUS.  Another source of information

can be found at

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值