顶部banner
Logo 折叠
全网首发仿真工程师项目实训
下载app
返回旧版
首页 成长助手 小邻学院 社区 发现
职业认证 企业服务 行业会议

登录解锁更多功能

还没有账号?立即注册

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

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

浏览: 3709 回答: 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

推荐阅读

Fluent UDF视频教程

Fluent UDF视频教程

技术邻小李 技术邻小李
¥200
ANSYS新版本功能速递: HFSS微放电仿真

ANSYS新版本功能速递: HFSS微放电仿真

Ansys中国 Ansys中国
免费
基于ABAQUS和ANSYS接触分析

基于ABAQUS和ANSYS接触分析

宁博士CAE团队 宁博士CAE团队
免费
前沿技术!大数据分析及人工智能在优化软件中的应用

前沿技术!大数据分析及人工智能在优化软件中的应用

IDAJ中国 IDAJ中国
¥9.99
新一代智能头灯的动态设计评估与仿真

新一代智能头灯的动态设计评估与仿真

Ansys中国 Ansys中国
免费
5G终端天线仿真设计方法及其应用

5G终端天线仿真设计方法及其应用

Ansys中国 Ansys中国
免费
abaqus三维切削数值模拟(sph法)

abaqus三维切削数值模拟(sph法)

abaquser abaquser
¥30
UG有限元基础教程

UG有限元基础教程

moonshine🤓 moonshine🤓
免费
ABAQUS钢管混凝土柱温度场及耐火性能分析(未完)

ABAQUS钢管混凝土柱温度场及耐火性能分析(未完)

地下结构设计
¥40
一线科技工作者接受仿真咨询服务的全过程经验分享

一线科技工作者接受仿真咨询服务的全过程经验分享

技术邻直播 技术邻直播
免费
应用ANSYS瞬态动力学法模拟啮合齿轮的高速转动

应用ANSYS瞬态动力学法模拟啮合齿轮的高速转动

夏日星空 夏日星空
¥35
混凝土材性试块拉压数值模拟(ABAQUS通法建模初级案例3)

混凝土材性试块拉压数值模拟(ABAQUS通法建模初级案例3)

大平-结构工程 大平-结构工程
¥299
UG培训第九课:自由曲面构造法

UG培训第九课:自由曲面构造法

luffy8610 luffy8610
¥20
汽车仪表模具模流分析的实战讲解

汽车仪表模具模流分析的实战讲解

北卡 北卡
免费
ABAQUS桁架结构强度分析

ABAQUS桁架结构强度分析

wj_2704 wj_2704
¥500
0#块箱梁托架法施工结构模拟

0#块箱梁托架法施工结构模拟

yudachuan1105 yudachuan1105
¥200
基于Hypermesh与ABAQUS联合仿真的摄像头模组跌落分析——工作创建以及检查

基于Hypermesh与ABAQUS联合仿真的摄像头模组跌落分析——工作创建以及检查

北鲲 北鲲
¥99
hypermesh_dyna小车碰撞护栏(无声)

hypermesh_dyna小车碰撞护栏(无声)

吴文泽 吴文泽
¥18
使用已标定的车辆动力学模型提升开发效率

使用已标定的车辆动力学模型提升开发效率

VI-grade中国 VI-grade中国
免费
ADAS功能软件基础介绍

ADAS功能软件基础介绍

Alex王 Alex王
免费