简体   繁体   English

无法将 Abaqus PDE 连接到 Abaqus/CAE

[英]Can't connect Abaqus PDE to Abaqus/CAE

When I try to run Abaqus PDE (Python development environment) for example from the windows command line with the command:例如,当我尝试使用以下命令从 Windows 命令行运行 Abaqus PDE(Python 开发环境)时:

abaqus cae -pde

I get the following error in the command line:我在命令行中收到以下错误:

pde:atxGuiSvr.ipcSvrStart(start=1,atxCaePort=51422):class'socket.gaierror'>: [Errno 11001] getaddrinfo failed

and Abaqus PDE can't connect to the Abaqus/CAE.并且 Abaqus PDE 无法连接到 Abaqus/CAE。 Therefore when I try to run a python script in APDE (in Kernel) I get the following error in the APDE:因此,当我尝试在 APDE 中(在内核中)运行 python 脚本时,我在 APDE 中收到以下错误:

Spawn: abq6144 cae -rt d:/ABQ_Temp/postProc.py  
*** Error - remote process did not start  
Exit from main file  [Kernel]: d:/ABQ_Temp/IBDiM_DK1_2017/postProc.py

and in the command line并在命令行中

Abaqus Error: Invalid command line option: The "-atxPort (atxPort=)" argument required a port number.

My OS is Windows 10. I thought the problem might have been related to the firewall settings so I tried deactivating firewall but it didn't help.我的操作系统是 Windows 10。我认为问题可能与防火墙设置有关,所以我尝试停用防火墙,但没有帮助。

How to solve this?如何解决这个问题? I'd like to fix PDE integration with Abaqus/CAE because I want to use the PDE debugger.我想修复 PDE 与 Abaqus/CAE 的集成,因为我想使用 PDE 调试器。

That's probably because you installed (or tried to install) a cracked version of Abaqus in the past.这可能是因为您过去安装(或尝试安装)了 Abaqus 的破解版。 When you do so, you modify the way sockets created by Abaqus access the DNS service (so that the license isn't checked), and these changes also affect sockets that connect different programs within Abaqus.当您这样做时,您修改了由 Abaqus 创建的套接字访问 DNS 服务的方式(以便不检查许可证),并且这些更改也会影响连接 Abaqus 内不同程序的套接字。 (In this case Abaqus/PDE and Abaqus/CAE.) That's why you get that "getaddrinfo failed" message. (在本例中为 Abaqus/PDE 和 Abaqus/CAE。)这就是您收到“getaddrinfo failed”消息的原因。 (getaddrinfo is a function of the Python module socket.) (getaddrinfo 是 Python 模块套接字的函数。)

What I did to solve this issue was to uninstall the version of Abaqus I had, restart my computer in safe mode, delete the folder C:\\SIMULIA, restart again in normal mode and install my version of Abaqus again.我为解决这个问题所做的是卸载我拥有的 Abaqus 版本,以安全模式重新启动计算机,删除文件夹 C:\\SIMULIA,再次以正常模式重新启动并再次安装我的 Abaqus 版本。 I have to say that PDE will never connect to CAE if you use a cracked version of Abaqus.不得不说,如果你用的是破解版的Abaqus,PDE永远连接不上CAE。

You need to check your temp path if there are abaqus commands.如果有 abaqus 命令,您需要检查您的临时路径。 Also You can try re install abaqus.您也可以尝试重新安装abaqus。

You can also write these lines in your script then can try again.您也可以在脚本中编写这些行,然后再试一次。 It will work.它会起作用。

#
from part import *
from material import *
from section import *
from optimization import *
from assembly import *
from step import *
from interaction import *
from load import *
from mesh import *
from job import *
from sketch import *
from visualization import *
from connectorBehavior import *
import __main__
import section
import regionToolset
import displayGroupMdbToolset as dgm
import part
import material
import assembly
import step
import interaction
import load
import mesh
import job
import sketch
import visualization
import xyPlot
import displayGroupOdbToolset as dgo
import connectorBehavior
import odbAccess
#
session.viewports['Viewport: 1'].setValues(displayedObject=None)
#

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 来自Abaqus / CAE的Python多处理 - Python multiprocessing from Abaqus/CAE canvasObjects; 找到PartInstance,期望在Abaqus / CAE中有元组 - canvasObjects; found PartInstance, expecting tuple in Abaqus/CAE 如何在abaqus / cae和abaqus / viewer模式下使用abaqus python脚本查询零件的体积信息? - How do i query the parts' volume information with abaqus python script in abaqus/cae and abaqus/viewer mode? 如何在没有图形用户界面和数据库模型的情况下使用 abaqus cae? - How can I use abaqus cae without graphical user interface and with a database model? 是否可以使用脚本从 Abaqus CAE 中的材料库中导入材料? - Is it possible to import material from material library in Abaqus CAE using scripts? 从命令行界面运行abaqus cae命令时出错 - Error in Running abaqus cae command from command line interface 我需要将在ABAQUS PDE中开发的python脚本转换为可执行文件 - I need to convert a python script developed in ABAQUS PDE to an executable file 是否可以在Abaqus / CAE中使用用户元素定义网格并使用Python指定其属性,而无需编辑输入文件? - Is it possible to define a mesh with User-Elements and specify their properties with Python in Abaqus/CAE without editing the input file? Scipy在Abaqus - Scipy in Abaqus Pyscripter不适用于Abaqus Python - Pyscripter doesn't work with Abaqus Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM