顶部banner
Logo 折叠
学习从这里开始
下载app
返回旧版
首页 成长助手 小邻学院 社区 发现
职业认证 企业服务 行业会议

登录解锁更多功能

还没有账号?立即注册

技术邻
技术引领职场价值
电话
0571-86682823
商务合作
service@jishulink.com

abaqus脚本批量建模运算报错:Error in connection to analysis? 20

浏览: 3614 回答: 2

请教各位大佬,abaqus python脚本批量建模计算,每一个都是先建模后计算完成后再继续建后续模型,一天半后出现错误:"ERROR in job messaging system: Error in connection to analysis",然后后续只建模不计算。谢谢大佬指教!
我的python脚本代码大致概括如下:

# -*- coding: UTF-8 -*-
import matplotlib.pyplot as plt
import math
import random
import numpy as np
import time
import os
os.chdir(r"F:\\ABAQUS files\\spsw-parameters-MULTILINEAR")
from abaqus import *
from abaqusConstants import *
from odbAccess 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 optimization
import job
import sketch
import visualization
import xyPlot
import displayGroupOdbToolset as dgo
import connectorBehavior
def model_creation(x1,x2): 
    ......#定义模型函数,详细内容略
def jobsubmit(job_name, model_name): #定义作业建立函数
    mdb.Job(name=job_name, model=model_name, description='', type=ANALYSIS, atTime=None, 
        waitMinutes=0, waitHours=0, queue=None, memory=70, memoryUnits=PERCENTAGE,         getMemoryFromAnalysis=False, 
        explicitPrecision=SINGLE, nodalOutputPrecision=SINGLE, echoPrint=OFF, modelPrint=OFF, contactPrint=OFF,
        historyPrint=OFF, userSubroutine='', scratch='', resultsFormat=ODB, multiprocessingMode=DEFAULT,
        numCpus=8, numDomains=8, numGPUs=0)
    mdb.jobs[job_name].submit(consistencyChecking=OFF)#提交作业进行计算
    mdb.jobs[job_name].waitForCompletion()
list_d=[......] #建立d的取值列表
list_n=[......] #建立n的取值列表
for d in list_d:
    for n in list_n:
        Name='%d-%d'%(int(d),n)
        model = mdb.Model(name=Name) #新建模型
        model_creation(int(d),n) #建立完整模型
        jobsubmit('Job%d-%d'%(int(d),n), Name)

rpy文件提示错误如下:

#: Job Job27-31: Analysis Input File Processor completed successfully.
#: Job Job27-31: Abaqus/Standard completed successfully.
#: Job Job27-31 completed successfully. 
#: The model "SPSW27-32" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job27-32: Analysis Input File Processor completed successfully.
#: ERROR in job messaging system: Error in connection to analysis
#: Error in job Job27-32: Abaqus/Standard Analysis exited with an error - Please see the  message file for possible error messages if the file exists.
#: Job Job27-32 aborted due to errors.
#: The model "SPSW27-33" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job27-33: Analysis Input File Processor completed successfully.
#: ERROR in job messaging system: Error in connection to analysis
#: Error in job Job27-33: Abaqus/Standard Analysis exited with an error - Please see the  message file for possible error messages if the file exists.
#: Job Job27-33 aborted due to errors.
#: The model "SPSW30-19" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-19: Analysis Input File Processor completed successfully.
#: Job Job30-19: Abaqus/Standard completed successfully.
#: Job Job30-19 completed successfully. 
#: The model "SPSW30-20" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-20: Analysis Input File Processor completed successfully.
#: Job Job30-20: Abaqus/Standard completed successfully.
#: Job Job30-20 completed successfully. 
#: The model "SPSW30-21" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-21: Analysis Input File Processor completed successfully.
#: ERROR in job messaging system: Error in connection to analysis
#: Error in job Job30-21: Abaqus/Standard Analysis exited with an error - Please see the  message file for possible error messages if the file exists.
#: Job Job30-21 aborted due to errors.
#: The model "SPSW30-22" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-22: Analysis Input File Processor completed successfully.
#: Error in job Job30-22: XML parsing failure for job Job30-22.  Shutting down socket and terminating all further messages.  Please check the .log, .dat, .sta, or .msg files for information about the status of the job.
#: Job Job30-22 aborted due to errors.
#: The model "SPSW30-23" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-23: Analysis Input File Processor completed successfully.
#: Error in job Job30-23: XML parsing failure for job Job30-23.  Shutting down socket and terminating all further messages.  Please check the .log, .dat, .sta, or .msg files for information about the status of the job.
#: Job Job30-23 aborted due to errors.
#: The model "SPSW30-24" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-24: Analysis Input File Processor completed successfully.
#: ERROR in job messaging system: Error in connection to analysis
#: Error in job Job30-24: Abaqus/Standard Analysis exited with an error - Please see the  message file for possible error messages if the file exists.
#: Job Job30-24 aborted due to errors.
#: The model "SPSW30-25" has been created.
#: The interaction property "friction" has been created.
#: The interaction "SP&connector" has been created.
#: The interaction "SP&bolt" has been created.
#: The interaction "connector&bolt" has been created.
#: The interaction "bolt&hole" has been created.
#: Job Job30-25: Analysis Input File Processor completed successfully.
#: ERROR in job messaging system: Error in connection to analysis
#: Error in job Job30-25: Abaqus/Standard Analysis exited with an error - Please see the  message file for possible error messages if the file exists.
#: Job Job30-25 aborted due to errors.


ABAQUS Python脚本

全部回答 (2)

默认 最新
dwg_2931 2022年1月28日
可能是connection property命名"SP&bolt"带有特殊字符&,Python命名规则只能用字母、数字或下划线,不能用特殊字符&.
2022年1月28日
评论 点赞
北望逸尘 2022年1月21日
程序的问题
2022年1月21日
评论 点赞

相似问题

查看全部
  • 求大神:Abaqus/Explicit Analysis exited with an error - Please see the status file for ... 暂无回答

    The job input file "Steady_cutting.inp" has been submitted for analysis. Job Steady_cutting: Analysis Input File Processor completed successfully. Job Steady_cutting completed successfully. The job in

  • 关于abaqus出现的 Error in connection问题? 11个回答

    有哪位大佬能知道出现这个报错该如何解决?可以有偿的,真的拜托各位了! The job input file "Job-1.inp" has been submitted for analysis. Job Job-1: Analysis Input File Processor completed successfully. ERROR in job messaging system: Error

  • ABAQUS计算过程报错,如何解决? 1个回答

    Job Job-2: Analysis Input File Processor completed successfully. Error in job Job-2: Too many attempts made for this increment Job Job-2: Abaqus/Standard aborted due to errors. Error in job Job-2: Aba

推荐阅读

ansys结构动力学仿真

ansys结构动力学仿真

技术邻小李 技术邻小李
¥150
vof案例-射流

vof案例-射流

CFD流 CFD流
免费
遗传算法解决(TSP)商旅问题matlab代码超详细解说(适用于新手)

遗传算法解决(TSP)商旅问题matlab代码超详细解说(适用于新手)

活泼可男_matlab教学 活泼可男_matlab教学
¥10
BOX-3D变宽斜钢箱梁绘图及功能更新演示

BOX-3D变宽斜钢箱梁绘图及功能更新演示

敦樸DUNPU 敦樸DUNPU
免费
abaqus埋地管道受力分析

abaqus埋地管道受力分析

冷月 冷月
¥25
探究实时仿真GPU求解器加速汽车行业设计创新

探究实时仿真GPU求解器加速汽车行业设计创新

Ansys中国 Ansys中国
免费
无网格划分软件midas MeshFree - 功能培训

无网格划分软件midas MeshFree - 功能培训

MIDAS官方 MIDAS官方
免费
船舶行进过程中的流场分布规律分析

船舶行进过程中的流场分布规律分析

龙樱 龙樱
免费
Hyperworks CFD v2022.1前后处理教程

Hyperworks CFD v2022.1前后处理教程

ALTAIR ALTAIR
免费
基于iSIGHT+Workbench的开孔平板性能优化

基于iSIGHT+Workbench的开孔平板性能优化

sjktzy sjktzy
¥5
品索设计-Creo自学练习集讲解(草绘部分)

品索设计-Creo自学练习集讲解(草绘部分)

深圳品索设计Creo培训 深圳品索设计Creo培训
免费
如何为您的应用选择合适的传声器

如何为您的应用选择合适的传声器

HBK声学与振动 HBK声学与振动
免费
Fluent中升力和阻力的计算

Fluent中升力和阻力的计算

宁博士CAE团队 宁博士CAE团队
免费
用EVOLVE对接INSPIRE,加速产品迭代优化

用EVOLVE对接INSPIRE,加速产品迭代优化

咸鱼氮泵 咸鱼氮泵
免费
【入门案例02】Abaqus——钢筋混凝土构件的碳纤维布+钢板加固模拟

【入门案例02】Abaqus——钢筋混凝土构件的碳纤维布+钢板加固模拟

臻元咨询
¥30
精品课程A30-考虑初始缺陷的栓焊连接组合节点滞回模拟

精品课程A30-考虑初始缺陷的栓焊连接组合节点滞回模拟

大平-结构工程 大平-结构工程
¥598
线控底盘市场趋势分析

线控底盘市场趋势分析

小木匠砍树 小木匠砍树
免费
张量计算课程合集

张量计算课程合集

引垂思汀 引垂思汀
¥50
后保险杠低速碰撞分析

后保险杠低速碰撞分析

Crisby_Vectory_TrHo Crisby_Vectory_TrHo
¥70
Altair FlowSimulator一维流体仿真分析软件介绍&模型搭建案例分享

Altair FlowSimulator一维流体仿真分析软件介绍&模型搭建案例分享

ALTAIR ALTAIR
免费