【调剂】北京石油化工学院2024年16个专业接受调剂
查看: 526  |  回复: 0
【悬赏金币】回答本帖问题,作者liych_user将赠送您 20 个金币

liych_user

新虫 (初入文坛)

[求助] abaqus python脚本批量建模运算一天半后报错:Error in connection to analysis

请教各位大佬,abaqus python脚本批量建模计算,每一个都是先建模后计算完成后再继续建后续模型,一天半后出现错误:"ERROR in job messaging system: Error in connection to analysis",然后后续只建模不计算。谢谢大佬指教!
我的python脚本代码大致概括如下:
CODE:
# -*- 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文件提示错误如下:
CODE:
......
#: 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.
#: 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.
#: 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.
#: 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.
#: 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.
#: 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.
#: 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.
#: 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.
#: 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.
#: 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.
......

回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 liych_user 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[论文投稿] 研二光催化6月底四篇二区什么水平 5+3 wjtab 2024-04-22 8/400 2024-04-24 00:48 by wjtab
[基金申请] 两类问题算是白选了~ +3 jurkat.1640 2024-04-23 6/300 2024-04-23 23:38 by 燕之南飞
[博后之家] 南京大学-广州大学联合招聘博士后 欢迎广大优秀人才!!! +4 黑魔变身啾 2024-04-20 8/400 2024-04-23 23:25 by 黑魔变身啾
[论文投稿] 期刊推荐 20+3 木颜尘ip 2024-04-22 5/250 2024-04-23 23:03 by topedit
[教师之家] 博士论文被抄袭 +18 和尚敲小木鱼 2024-04-22 28/1400 2024-04-23 21:24 by cnofc
[考博] 重庆大学计算机学院2024博士招生 +4 y_y_y_yyy 2024-04-18 6/300 2024-04-23 16:31 by 让一切随风l
[基金申请] 前同事拿我以前未中的国自然标书申请今年的国自然,现在基金委发来调查函 +28 bjdxyxy 2024-04-19 44/2200 2024-04-23 16:29 by 淀粉搬运工
[考研] 本科211 277分求调剂 +3 0854通信工程 2024-04-18 6/300 2024-04-23 15:39 by H.W.Y
[教师之家] 国内科研环境差导致国内科研水平差的根源 +8 zju2000 2024-04-18 8/400 2024-04-23 10:40 by Quakerbird
[考博] 研二光催化6月底4篇2区 +7 wjtab 2024-04-22 11/550 2024-04-23 06:59 by byron2012
[高分子] 请问UV灯是365nm的,那么选光引发剂的波长选多少的?要完全一致吗? +4 engledd2004 2024-04-21 4/200 2024-04-22 16:08 by wangcz23
[访问学者] CSC的访问学者申请,没有个评审意见,也不知道怎么改,还有必要申请吗 +3 flyingship 2024-04-20 3/150 2024-04-22 13:52 by louistom_521
[考博] 申请24博士 材料/化工/环境 +5 满目_星辰 2024-04-17 6/300 2024-04-22 13:17 by 雄关不惧
[基金申请] 国社科项目,你们学校都限额申报吗? +5 屡战屡败 2024-04-21 7/350 2024-04-22 13:03 by 屡战屡败
[论文投稿] 催稿后秒拒 +9 lizhengke06 2024-04-19 11/550 2024-04-21 22:29 by ggjjyyy
[考研] 考研英语带学 +6 choice666 2024-04-18 6/300 2024-04-19 17:46 by charles-c
[有机交流] 紫外光谱 50+3 54胡 2024-04-17 3/150 2024-04-19 10:48 by Nanamiwww
[论文投稿] SCI 评审意见回复 模板 15+3 Kilig0317 2024-04-18 4/200 2024-04-19 08:46 by bobvan
[论文投稿] 投稿求助 5+3 我是洲洲啊 2024-04-17 5/250 2024-04-18 17:13 by topedit
[考研] 工学322,英语六级求调剂 +3 domax 2024-04-17 10/500 2024-04-17 21:25 by 东方花园小万
信息提示
请填处理意见