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

请教各位大佬,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.


邀请回答 举报

共2个回答

默认排序
  • 北望逸尘
    2022年1月21日
    程序的问题
    0评论 采纳答案 举报

  • dwg_2931
    2022年1月28日
    可能是connection property命名"SP&bolt"带有特殊字符&,Python命名规则只能用字母、数字或下划线,不能用特殊字符&.
    0评论 采纳答案 举报

  • abaqus脚本批量建模运算报错:Error in connection to analysis?的相关案例教程

    0 前言 MSC Patran/Nastran是世界上使用最广泛的有限元分析前/后处理软件,可以为ANSYS、Nastran、Abaqus、LS-DYNA等多个解算器提供实体建模、网格划分、分析设置及后处理,广泛应用于声学、热学、电磁学、多体动力学、流体动力学、碰撞动力学及结构分析等方面。该软件计算和分析能力极其强大,非常适用于工程相关领域有限元分析。 Patran是美国MSC公司发布的最新广泛使
    from abaqus import * from abaqusConstants import * backwardCompatibility.setValues(includeDeprecated=True,reportDeprecated=False) # Create a model. myModel = mdb.Model(name='Beam') # Create a new view
    SURFACE ASSEMBLY__M11 CAN ONLY HAVE COUPLED PORE PRESSURE-DISPLACEMENT UNDERLYING ELEMENTS (1)问题描述 The job input file "Job-1.inp" has been submitted for analysis. Error in job Job-1: SURFACE ASSEMBLY_
    在开展abaqus用户子程序的项目时,容易出现很多bug问题,下面是一个比较典型的容易遇到的报错。 The job input file "Job-1.inp" has been submitted for analysis. Job Job-1: Analysis Input File Processor aborted due to errors. Error in job Job-1: An
    在开展abaqus用户子程序的项目时,容易出现很多bug问题,下面是一个比较典型的容易遇到的报错。 The job input file "Job-1.inp" has been submitted for analysis. Job Job-1: Analysis Input File Processor aborted due to errors. Error in job Job-1: An