声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1810|回复: 0

如何使用Abaqus的PDE

[复制链接]
发表于 2016-5-11 10:51 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
  PDE即Python development environment,可以通过PDE对Abaqus脚本进行创建、编辑、测试和执行。
  Abaqus的PDE是一个分离的应用程序,可以执行与Abaqus相关的Python脚本,同时也可以执行与Abaqus不相关的Python程序。
  Abaqus的PDE主界面如图1所示。

8.png

  图1

  PDE Control能够完成的任务如下:

  1)Open .guiLog, .py, and other Python scripts
  2)Designate an open file or open another file as the main file for testing
  3)Open recently used files, including modules called by the main file
  4)Edit scripts
  5)Reload modules after editing a plug-in
  6)Record .guiLog files from Abaqus/CAE
  7)Run scripts that use the Abaqus/CAE user interface, the Abaqus scripting commands, or general Python commands
  8)Add (or ignore) breakpoints in a script
  9)Add a breakpoint in any Python code executed in Abaqus/CAE, such as plug-ins
  10)Add a delay between executing steps
  11)Step through scripts (trace the execution), including plug-in modules and custom startup modules
  12)Change options for recording .guiLog scripts and animating (highlighting) traced files
  PDE如何启动?


  打开Abaqus/CAE界面,通过File—Abaqus PDE打开,如图2

9.png
  图2

  打开之后,可以通过PDE打开已经编写好的Python脚本文件,之后可以通过Play进行运行,运行过程中如果某句代码有问题,会很明显的看到提示,这个是非常有用的。
  还能通过设置Breaks定点执行。
  在PDE主界面,可以自行编写Python并在Abaqus的GUI界面执行。
  PDE另外一个功能是记录Abaqus/CAE界面的所有操作,记录文件是guiLog.
  如何记录guiLog Files?

  先通过主菜单的Files新建一个,然后点击如图3所示的录制按钮,之后所有在Abaqus界面进行的操作都会再界面被记录,完成录制后可以执行。

10.jpg
  图3



转自:http://blog.sina.com.cn/s/blog_6465f2ed0102x4dm.html

回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-15 10:42 , Processed in 0.121804 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表