如何运行Abaqus宏(.py)脚本 [英] How to run Abaqus Macro (.py) script

查看:1051
本文介绍了如何运行Abaqus宏(.py)脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是python的新手.我使用Abaqus宏管理器生成了一个.py脚本宏.我意识到该脚本仅在从Abaqus管理器运行时才起作用,而不能单独运行. 请问有人知道如何修改此脚本,以便我无需使用Abaqus即可运行它.预先感谢您的帮助

I am new to python. I generated a macro which is a .py script using Abaqus Macro manager. I realised that this script works only when run from the Abaqus manager and does not run by itself. Please does anyone know how to modify this script so i can run it without using the Abaqus. Thank you in advance for your help

熟练

推荐答案

根据我的经验,如果需要循环计算,则必须在CAE内部启动脚本,因为在命令行中启动该脚本时,只有一个周期计算的.用于循环计算和可视化的脚本示例,您可以在researchgate上找到搜索文本如何为Abaqus编写脚本"

According to my moderate experience, if you need loop computations, you have to launch the script inside CAE, since when starting it in command line, only one cycle is computed. An example of the script intended for loop computations and visualisation, you can find at researchgate, search text "How to write scripts for Abaqus"

这篇关于如何运行Abaqus宏(.py)脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆