重启动.docx
《重启动.docx》由会员分享,可在线阅读,更多相关《重启动.docx(14页珍藏版)》请在冰豆网上搜索。
重启动
abaqusjob=*.inpinteractive
INP文件中的有些关键词是ABAQUS/CAE所不支持的,导入INP文件时会在窗口底部的信息区中看到警告信息:
WARNING:
Thefollowingkeywords/parametersarenotyetsupportedbytheinputfilereader
这时导入ABAQUS/CAE的模型是不完整的,所以分析时出错。
如果在ABAQUSCommand窗口中输入以下命令来提交分析,就没有这种问题:
abaqusjob=INP文件的名称
我的文件名为:
2D.inp
在temp目录里(默认目录)
我输入:
abaqusjob=inp2d.inp按回车后出现如下SyntaxError:
invalidsyntax语法错误
按如下输入及结果:
>>>abaqusjob=inpc:
\temp\2D.inpSyntaxError:
invalidsyntax
我不知道如何处理了,能再帮我讲一下吗?
谢谢了
请教一下如何处理abaqus-help里inp文件
不是在ABAQUS/CAE底部的>>>后面输入,而是:
在WINDOWS中点击[开始]→[程序]→[ABAQUS6.5-1]→[ABAQUSCommand],然后在DOS窗口中输入:
abaqusjob=2D
interactive:
Thisoptionwillcausethejobtoruninteractively.
ForABAQUS/Standardthelogfilewillbeoutputtothescreen;
forABAQUS/Explicitthestatusfileandthelogfilewillbeoutputtothescreen.
*模型的重启动分析-restart
按理说restart不应该算是一个分析的技巧,而是一个常识,不过呢可能有很多朋友没有
建过大型模型导致restart也用的较少,所以也介绍下
1.什么是restart
你的job可能包含多个step,可是如果你的模型很大,可能会有这样一种情况,当你花了几天几夜,终于分析好的时候,你发现thefirststep的边界条件设置的有问题,这对于你真是晴天霹雳,于是你只好重新来过,可是低二天你发现你的电脑restart,这时的你可能只能问上帝了,howcanido?
*restart,就是将一个复杂的模型分析过程分成很多的阶段,甚至是一个increatmentstep一个阶段,你可以对每个阶段的结果进行检验,然后进入下一个阶段进行分析。
2.重启动需要那些文件
对于standard来说,.res,.mdl,.stt,.prt,.odb,这些文件是用于重启动的,explict是.abq,.stt,.prt,.odb.
3.如何在一个分析中设置重启动来生成以上文件。
这里只介绍下在standard的用法,其实很简单?
inp文件里面加入*RESTART,WRITE,FREQUENCY=N就可以了
cae默认加入了重启选项,不过可以在step->output->restartrequest里面设置输出的频率,也就是frequency。
*技巧:
因为res文件包含了模型的几乎全部信息,所以非常大,你可以设置overlay参数使后面的数据覆盖吊前面的数据,不过restart的话你也只能从最后一个增量步开始
4.如何重启
你要指定一个重启点,inp文件里面加上*RESTART,READ,STEP=step,INC=increment就可以了
cae中更简单,首先在model->editattribute里面选择restart,指定前面分析的job名和你想重启动的开始分析步和增量步就可以了,然后在job里面指定重新创建的工作类型,restart,that'sall.
一、设原文件为ab.inp,则写一重启文件re_ab.inp,在其中加入*restart,read,后用在command中输入abaqusjob=re_aboldjob=ab
二、上法不对的话,可以在dat,log,msg中找到中断的增量步,假如为step1中的inc=50中断,不妨可以在re_ab中,*restart,read,step=1,inc=49
怎么可以在第四步设置重启动,让程序第一次只算前4步,第二次在前4步的基础上只算第5步?
Abaqus/CAEUser'sManual 18.4.5
Restart
Submitajobwiththisoptionselectedtostarttheanalysisusingdatafromapreviousanalysisofaspecifiedmodel.YoumustusetheEditModelAttributesdialogboxtospecifythejobtoreaddatafromandtospecifythestepfromwhichtorestarttheanalysis.Whenyoucreateajobthatreferstoamodelwithrestartdataattributes,Abaqus/CAEbydefaultselectsthejobtypetobeRestart.
5.注意
重启动不能改变你的原始分析中的任何参数,也就是说,你的启动点的模型必须和原始分析中的模型完全一致的,所以不要企图采用restart的方法来改变边界条件,材料参数或者网格的密度等等。
这些需要另外的技巧来实现。
一、设原文件为ab.inp,则写一重启文件re_ab.inp,在其中加入*restart,read,后用在command中输入abaqusjob=re_aboldjob=ab
二、上法不对的话,可以在dat,log,msg中找到中断的增量步,假如为step1中的inc=50中断,不妨可以在re_ab中,*restart,read,step=1,inc=49
1 提交方式:
在WINDOWS中点击[开始]→[程序]→[ABAQUS6.x]→[ABAQUSCommand],然后在DOS窗口中输入:
提交任务:
abaqus job=jobname1 int (int就是interactive)
任务暂停:
abaqussuspendjob=jobname1int (可恢复)
恢复运算:
abaqusresumejob=jobname1int (从上次分析结束的地方重新开始分析)
杀死任务:
abaqusterminatejob=jobname1int(一般不可恢复)
杀死任务不可恢复,但是如果有restart文件的话,可以restart继续计算:
restart重启计算:
abaqusjob=xnewxoldjob=xoldx int
打开CAE界面:
abaquscae %(aba后处理界面即出现)
打开viewer后处理界面:
abaqusviewer %(aba后处理界面即出现)
查看aba帮助文件:
abaqusdoc %(aba帮助文件即在默认浏览器中出现)
查看cmd命令帮助:
abaqushelp %(这个太有用了,通过这个可以找到以上所有命令。
)
2 几点说明:
1)Oldjobfilesexist.Overwrite?
问是否可以覆盖。
如果是文件重名,应该键入n;把现有inp改名,重新提交,以免覆盖以前的文件。
如果可以覆盖,键入y。
2)经常被问的问题:
-------------------------------
abaqus不是内部命令,也不算可以运行的程序或者批处理文件。
解决方案可见《常见问题2.0》:
假如你的abaqus.bat是在d:
\ABAQUS\Commands下面,在dos下输入一下命令:
path=%path%;d:
\ABAQUS\Commands
想多cpu运算(比如4cpus):
1{8O&k5b2S/Y8e-b9Y;t8l
提交任务:
abaqus job=jobname1int 改为提交任务:
abaqus job=jobname1 cpus=4int
4)有些显式运算,incretment太多的话(比如多余30w),建议用双精度:
提交任务:
abaqus job=jobname1int 改为提交任务:
abaqus job=jobname1doubleint9H6
但是谁都知道双精度比单精度费时,所以没有如果必要的话,就不需要加这个了。
5)如果不加int会怎么样呢?
提交任务:
abaqus job=jobname1int 改为提交任务:
abaqus job=jobname1
后面加了int,dos窗口会显示任务进行到哪个阶段,比如是pre.exe还是standardexplicit.exe------还是conpleted,都会给你提示。
不加int就没有这些提示了。
6)如何看任务进程:
我一般就是看.sta文件。
老手推荐UltraEditor,能自动更新文件内容,可以试试。
Abaquswarning:
The.inpextensionhasbeenremovedfromthejobidentifirer
出这个一般是因为有的新手提交job的时候添加了inp后缀,如
abaqus job=jobname.inp.去掉inp后缀即可。
即使不去掉,软件也自动忽略这个后缀,这个只是告示说明,不影响计算。
3批处理
1)如果有大批的inp文件需要提交,如何节省时间让它们自动连续运算?
一定要看garethz斑竹的精华帖:
[原创总结]Windows系统下实现input文件批处理
garethz斑竹刚刚针对新版本推出新的批处理工具:
2)cmd运行批处理inp文件:
abaqusjob=jobname1int&&abaqusjob=jobname2int&&abaqusjob=jobname3int
批处理也可以这么处理:
建立一个记事本文件a.txt,打开键入以下几行:
abaqus job=jobname1 int
abaqus job=jobname2 int
abaqus job=jobname3 int
abaqus job=jobname4 int
保存并关闭,右键属性将后缀改为.bat,双击即可运行
4garenthz斑竹的inp文件一键提交插件
5康版的演示文稿:
康版图文演示bothCAEandcmd提交任务的流程:
。
强力推荐!
18.4.5 Restartingafteraddingmoreanalysisstepstothemodel
Themostcommonuseoftherestartcapabilityistoanalyzeyourmodelandthenaddoneormorestepstothemodelandcontinuetheanalysis.Thissectiondescribesanexampleofthisusage.
Assumethatyouhavedonethefollowing:
∙CreatedamodelcalledModel-Athathastwoanalysissteps,Step-1andStep-2.
∙UsedtheEditRestartRequestsdialogboxintheStepmoduletooutputtherestartinformationattheendofeachstep.
∙CreatedajobcalledJob-AthatusesModel-A.
∙Analyzedthemodel.
Afterstudyingtheresultsoftheanalysis,youdecidetoaddanotherstep,Step-3,tothemodel.TherestartcapabilityallowsyoutocomputetheresultsforStep-3withouthavingtorepeatthecomputationsforStep-1andStep-2.Thefollowingstepsdescribearecommendedproceduretofollow:
1.CopyModel-Atoanewmodel,sayModel-A-restart,andmakeModel-A-restartthecurrentmodel.
2.AddthenewStep-3toModel-A-restart.
3.Addnewprescribedconditions(loads,boundaryconditions,interactions,fields,oroutputrequests)inStep-3,ormodifytheprescribedconditionspropagatedfromStep-2.
4.Fromthemainmenubar,selectModel
EditAttributes
Model-A-restart.FromtheEditModelAttributesdialogboxthatappears,dothefollowing:
∙EnterJob-Aasthejobfromwhichtherestartdatawillberead.
∙Settherestartlocation:
▪EnterStep-2toindicatethestepfromwhichtherestartdatawillberead.
▪ChooseRestartfromtheendofthestep.Step-3willcontinuetheanalysisaftertheendofStep-2.
▪(填入step-1是错误的,要区分大小写,正确的填写是Step-1)
5.CopyJob-Atoanewjob,sayJob-A-restart,thatusesModel-A-restart.
6.Fromthemainmenubar,selectJob
Edit
Job-A-restart.FromtheEditJobdialogboxthatappears,chooseajobtypeofRestart.
7.SubmitJob-A-restartforanalysis.
8.1,复制模型2增加新的分析步,改变边界条件及载荷3改变当前分析步的attributes,设置所引用的结果数据文件名及从哪一个分析步开始分析:
注意区分大小写4在job模块复制前一个job,使用当前模型,选取分析类型为restrat
18.4.6 Restartingaftermodifyingexistinganalysissteps
Youcanusetherestartcapabilitytoanalyzeyourmodelandthenmodifyanexistingstepbeforecontinuingtheanalysis.Thissectiondescribesanexampleofthisusage.
Assumethatyouhavedonethefollowing:
∙CreatedamodelcalledModel-Athathastwoanalysissteps,Step-1andStep-2.
∙UsedtheEditRestartRequestsdialogboxintheStepmoduletooutputtherestartinformationattheendofeachstep.
∙CreatedajobcalledJob-AthatusesModel-A.
∙Analyzedthemodel.
AfterexaminingtheresultsofJob-A,yourealizethatyouneedtomakechangestoStep-2,toanoutputrequestinStep-2,ortoaprescribedconditioninStep-2,suchasaloadorboundarycondition.Youmayalsowanttoaddsomenewstepswithadditionaloutputrequestsandloadsandwithchangestotheboundaryconditions.YouknowthatyoucanstillusetheresultsfromStep-1;however,yourealizethattheresultsfromStep-2arenolongervalid.TherestartcapabilityallowsyoutorecomputetheresultsforStep-2withouthavingtorepeatthecomputationsforStep-1.Thefollowingstepsdescribearecommendedproceduretofollow:
1.CopyModel-Atoanewmodel,sayModel-A-restart,andmakeModel-A-restartthecurrentmodel.
2.Dothefollowing:
∙MakethedesiredchangestoStep-2.
∙AddnewstepsafterStep-2.
∙CreatenewprescribedconditionsinStep-2andsubsequentsteps.
3.Fromthemainmenubar,selectModel
EditAttributes
Model-A-restart.FromtheEditModelAttributesdialogboxthatappears,dothefollowing:
∙EnterJob-Aasthejobfromwhichtherestartdatawillberead.
∙Settherestartlocation:
▪EnterStep-1toindicatethestepfromwhichtherestartdatawillberead.
▪ChooseRestartfromtheendofthestep.Step-2willcontinuetheanalysisaftertheendofStep-1.
4.CopyJob-Atoanewjob,sayJob-A-restart,thatusesModel-A-restart.Abaqus/CAEsetsthejobtypetoRestart.
5.SubmitJob-A-restartforanalysis.
18.4.7 Restartingfromthemiddleofastep
Youcanusetherestartcapabilitytocontinuetheanalysisfromthemiddleofacompletedsteporfromthemiddleofapartiallycompletedstep.Therestartedanalysisusesanewstepthatcontinuestheanalysisfromaspecifiedincrementofthepreviousstep.Thissectiondescribesanexampleofthisusage.
Assumethatyouhavedonethefollowing:
∙CreatedamodelcalledModel-AthathastwoAbaqus/Standardanalysissteps,Step-1andStep-2.
∙UsedtheEditRestartRequestsdialogboxintheStepmoduletooutputtherestartinformationevery10increments.
∙Created