Abaqus批处理命令
- 格式:docx
- 大小:15.67 KB
- 文档页数:3
附:常见的快捷命令(一)字母类1、对象特性ADC, *ADCENTER(设计中心“Ctrl+2”)CH, MO *PROPERTIES(修改特性“Ctrl+1”)MA, *MATCHPROP(属性匹配)ST, *STYLE(文字样式)COL, *COLOR(设置颜色)LA, *LAYER(图层****作)LT, *LINETYPE(线形)LTS, *LTSCALE(线形比例)LW, *LWEIGHT (线宽)UN, *UNITS(图形单位)ATT, *ATTDEF(属性定义)ATE, *ATTEDIT(编辑属性)BO, *BOUNDARY(边界创建,包括创建闭合多段线和面域)AL, *ALIGN(对齐)EXIT, *QUIT(退出)EXP, *EXPORT(输出其它格式文件)IMP, *IMPORT(输入文件)OP,PR *OPTIONS(自定义CAD设置)PRINT, *PLOT(打印)PU, *PURGE(清除**)R, *REDRAW(重新生成)REN, *RENAME(重命名)SN, *SNAP(捕捉栅格)DS, *DSETTINGS(设置极轴追踪)OS, *OSNAP(设置捕捉模式)PRE, *PREVIEW(打印预览)TO, *TOOLBAR(工具栏)V, *VIEW(命名视图)AA, *AREA(面积)DI, *DIST(距离)LI, *LIST(显示图形数据信息)2、Auto CAD快捷绘图命令PO, *POINT(点)L, *LINE(直线)XL, *XLINE(射线)PL, *PLINE(多段线)ML, *MLINE(多线)SPL, *SPLINE(样条曲线)POL, *POLYGON(正多边形)REC, *RECTANGLE(矩形)C, *CIRCLE(圆)A, *ARC(圆弧)DO, *DONUT(圆环)EL, *ELLIPSE(椭圆)REG, *REGION(面域)MT, *MTEXT(多行文本)T, *MTEXT(多行文本)B, *BLOCK(块定义)I, *INSERT(插入块)W, *WBLOCK(定义块文件)DIV, *DIVIDE(等分)H, *BHATCH(填充)3、Auto CAD快捷修改命令CO, *COPY(复制)MI, *MIRROR(镜像)AR, *ARRAY(阵列)O, *OFFSET(偏移)RO, *ROTATE(旋转)M, *MOVE(移动)E, DEL键*ERASE(删除)X, *EXPLODE(分解)TR, *TRIM(修剪)EX, *EXTEND(延伸)S, *STRETCH(拉伸)LSC, *SCALE(比例缩放)BR, *BREAK(打断)CHA, *CHAMFER(倒角)F, *FILLET(倒圆角)PE, *PEDIT(多段线编辑)ED, *DDEDIT(修改文本)4、Auto CAD快捷视窗缩放P, *PAN(平移)Z+空格+空格, *实时缩放Z, *局部放大Z+P, *返回上一视图Z+E, *显示全图5、Auto CAD快捷尺寸标注DLI, *DIMLINEAR(直线标注)DAL, *DIMALIGNED(对齐标注)DRA, *DIMRADIUS(半径标注)DDI, *DIMDIAMETER(直径标注)DAN, *DIMANGULAR(角度标注)DCE, *DIMCENTER(中心标注)DOR, *DIMORDINATE(点标注)TOL, *TOLERANCE(标注形位公差)LE, *QLEADER(快速引出标注)DBA, *DIMBASELINE(基线标注)DCO, *DIMCONTINUE(连续标注)D, *DIMSTYLE(标注样式)DED, *DIMEDIT(编辑标注)DOV, *DIMOVERRIDE(替换标注系统变量)(二)Auto CAD快捷常用CTRL快捷键【CTRL】+1 *PROPERTIES(修改特性) 【CTRL】+2 *ADCENTER(设计中心)【CTRL】+O *OPEN(打开文件)【CTRL】+N、M *NEW(新建文件)【CTRL】+P *PRINT(打印文件)【CTRL】+S *SAVE(保存文件)【CTRL】+Z *UNDO(放弃)【CTRL】+X *CUTCLIP(剪切)【CTRL】+C *COPYCLIP(复制)【CTRL】+V *PASTECLIP(粘贴)【CTRL】+B *SNAP(栅格捕捉)【CTRL】+F *OSNAP(对象捕捉)【CTRL】+G *GRID(栅格)【CTRL】+L *ORTHO(正交)【CTRL】+W *(对象追踪)【CTRL】+U *(极轴)(三)Auto CAD快捷常用功能键【F1】*HELP(帮助)【F2】*(文本窗口)【F3】*OSNAP(对象捕捉)【F7】*GRIP(栅格)【F8】*ORTHO(正交)附录:Auto CAD快捷键大全F1: 获取帮助F2: 实现作图窗和文本窗口的切换F3: 控制是否实现对象自动捕捉F4: 数字化仪控制F5: 等轴测平面切换F6: 控制状态行上坐标的显示方式F7: 栅格显示模式控制F8: 正交模式控制F9: 栅格捕捉模式控制F10: 极轴模式控制F11: 对象追踪式控制Ctrl+B: 栅格捕捉模式控制(F9)刚刚看了一下dra:半径标注ddi:直径标注dal:对齐标注dan:角度标注Ctrl+C: 将选择的对象复制到剪切板上Ctrl+F: 控制是否实现对象自动捕捉(f3) Ctrl+G: 栅格显示模式控制(F7)Ctrl+J: 重复执行上一步命令Ctrl+K: 超级链接Ctrl+N: 新建图形文件Ctrl+M: 打开选项对话框AA: 测量区域和周长(area)AL: 对齐(align)AR: 阵列(array)AP: 加载*lsp程系AV: 打开视图对话框(dsviewer)SE: 打开对相自动捕捉对话框ST: 打开字体设置对话框(style)SO: 绘制二围面( 2d solid)SP: 拼音的校核(spell)SC: 缩放比例(scale)SN: 栅格捕捉模式设置(snap)DT: 文本的设置(dtext)DI: 测量两点间的距离OI:插入外部对相Ctrl+1: 打开特性对话框Ctrl+2: 打开图象资源管理器Ctrl+6: 打开图象数据原子Ctrl+O: 打开图象文件Ctrl+P: 打开打印对说框Ctrl+S: 保存文件Ctrl+U: 极轴模式控制(F10)Ctrl+v: 粘贴剪贴板上的内容Ctrl+W: 对象追踪式控制(F11)Ctrl+X: 剪切所选择的内容Ctrl+Y: 重做Ctrl+Z: 取消前一步的操作A: 绘圆弧B: 定义块C: 画圆D: 尺寸资源管理器E: 删除F: 倒圆角G: 对相组合H: 填充I: 插入S: 拉伸T: 文本输入W: 定义块并保存到硬盘中L: 直线M: 移动X: 炸开V: 设置当前坐标U: 恢复上一次操做O: 偏移P: 移动Z: 缩放CTRL+9 显示命令行cad文件中带有教育版印戳,怎样去掉?第一种方法:第一步先把这个图另存为DXF格式。
ABAQUS命令汇总及参数的默认设置(ABAQUS Command Summary and Command line default parameters)2011-02-13 20:33:50| 分类:ABAQUS | 标签:|字号大中小订阅Command summaryabaqus job=job-name[analysis | datacheck | parametercheck | continue | convert={select | odb |state | all} | recover | syntaxcheck | information={environment | local| memory | release | support | system | all}][input=input-file][user={source-file | object-file}][oldjob=oldjob-name][fil={append | new}][globalmodel={results file-name | output database file-name}][cpus=number-of-cpus][parallel={domain | loop}][domains=number-of-domains][mp_mode={mpi | threads}][standard_parallel={all | solver}][memory=memory-size][interactive | background | queue=[queue-name][after=time]][double={explicit | both}][scratch=scratch-dir][output_precision={single | full}][madymo=MADYMO-input-file][port=co-simulation port-number][host=co-simulation hostname][timeout=co-simulation timeout value in seconds][unconnected_regions={yes | no}]Command line default parametersThe following parameters provide default values for various settings that would otherwise have to be specified on the command line (see “Execution procedure for Abaqus/Standard and Abaqus/Explicit,” Section 3.2.2). Values given on the command line overridevalues specified in the environment files.cpusNumber of processors to use if parallel processing is available. The default is 1.domainsThe number of parallel domains in Abaqus/Explicit. If the value is greater than 1, the domain decomposition will be performed regardless of the values of the parallel and cpus parameters. However, if parallel=domain, the value of cpus must be evenly divisible into the value of domains. If this parameter is not set, the number of domains defaults to the number of processors used during the analysis run if parallel=domain or to 1 if parallel=loop.double_precisionThe default precision version of Abaqus/Explicit to run if you do not specify the precision version on the abaqus command line.Possible values are EXPLICIT (only the Abaqus/Explicit analysis is run in double precision) or BOTH (both the Abaqus/Explicit packager and analysis are run in double precision). The default is EXPLICIT.parallelThe default parallel method in Abaqus/Explicit if you do not specify the parallel method on the abaqus command line. Possible values are DOMAIN or LOOP; the default value is DOMAIN.run_modeDefault run mode (interactive, background, or batch) if you do not specify the run mode on the abaqus command line. The default for abaqus analysis is "background", while the default for abaqus viewer is "interactive".scratchDirectory to be used for scratch files. This directory must exist (i.e., it will not be created by Abaqus) and must have write permission assigned. On UNIX platforms the default value is the value of the $TMPDIR environment variable or /tmp if $TMPDIR is not defined. On Windows platforms the default value is the value of the %TEMP% environment variable or \TEMP if this variable is not defined. During the analysis a subdirectory will be created under this directory to hold the analysis scratch files. The name of the subdirectory is constructed from your user name, the job id, and the job's process identifier. The subdirectory and itscontents are deleted upon completion of the analysis.standard_parallelThe default parallel execution mode in Abaqus/Standard if you do not specify the parallel mode on the abaqus command line. If this parameter is set equal to ALL, both the element operations and the solver will run in parallel. If this parameter is set equal to SOLVER, only the solver will run in parallel. The default parallel execution mode is ALL.unconnected_regionsIf this variable is set to ON, Abaqus/Standard will create element and node sets in the output database for unconnected regions in the model during a datacheck analysis. Element and node sets created with this option are named MESH COMPONENT N, where N is the component number. The default value is OFF.System resource parametersThe following environment file variable can be set after the code has been installed to change the resources used by Abaqus and, therefore, to improve system performance. By default, Abaqus detects the physical memory on a machine (or on each compute node in a cluster) and allocates a percentage of the available memory based on the machine platform (for details, refer to the SIMULIA Online Support System, which is accessible from the My Support page at ). You can override the default percentage by specifying a number followed by the percentage sign. The variable can also be defined as the number of megabytes or the number ofgigabytes. More detailed information about changing the system resources used by Abaqus is given in “Managing memory and diskuse in Abaqus,” Section 3.4.1.memoryMaximum amount of memory or maximum percentage of the physical memory that can be allocated during the input file preprocessing and during the Abaqus/Standard analysis phase. For parallel execution on computer clusters, this memory limit specifies the maximumamount of memory that can be allocated on each process.System customization parametersThe following is a discussion of some additional environment file parameters that are commonly used. A complete listing of parameterscan be found in the Abaqus Installation and Licensing Guide.ask_deleteIf this parameter is set equal to OFF, you will not be asked whether old job files of the same file name should be deleted; the files willbe deleted automatically. The default value is ON.auto_calculateIf this parameter is set equal to ON, the postprocessing calculator will be launched automatically at the end of an analysis if the execution procedure detects that output database file conversion is necessary. If this parameter is set to OFF, the postprocessing calculator will not run at the end of an analysis even if the execution procedure detects that it is necessary. The default value is ON.auto_convertIf this parameter is set equal to ON and an Abaqus/Explicit analysis is run in parallel with parallel=domain, the convert=select, convert=state, and convert=odb options will be run automatically at the end of the analysis. The default valueis ON.average_by_sectionThis parameter is used only for an Abaqus/Standard analysis. If this parameter is set equal to OFF, the averaging regions for output written to the data (.dat) file and results (.fil) file are based on the structure of the elements. If this parameter is set equal to ON, the averaging regions also take into account underlying values of element properties and material constants. In problems with manysection and/or material definitions the default value of OFF will, in general, give much better performance than the nondefault value of ON. See “Output to the data and results files,” Section 4.1.2, for further details on the averaging scheme.mp_host_listList of host machine names to be used for an MPI-based parallel Abaqus analysis, including the number of processors to be used oneach machine; for example,mp_host_list=[['maple',1],['pine',1],['oak',2]]indicates that, if the number of cpus specified for the analysis is 4, the analysis will use one processor on a machine called maple, one processor on a machine called pine, and two processors on a machine called oak. The total number of processors defined in the host list has to be greater than or equal to the number of cpus specified for the analysis. If the host list is not defined, Abaqus willrun on the local system. When using a supported queuing system, this parameter does not need to be defined. If it is defined, it will getoverridden by the queuing environment.mp_modeSet this variable equal to MPI to indicate that the MPI components are available on the system. Set mp_mode=THREADS to use the thread-based parallelization method. The default value is MPI where applicable.odb_output_by_defaultIf this parameter is set equal to ON, output database output will be generated automatically. If this parameter is set equal to OFF, output database request keywords must be placed in an input file to obtain output database output. The default value is ON.onCaeStartupOptional function to be executed before Abaqus/CAE begins. See “Customizing Abaqus/CAE startup,” Section 4.3.3 of the AbaqusInstallation and Licensing Guide, for examples of this function.Co-simulation parametersThe following environment file variables provide default settings for co-simulation between two Abaqus analyses or between Abaqusand AcuSolve.cosimulation_portSet cosimulation_port equal to the port number used for the connection. The default value is 48000.cosimulation_timeoutSet cosimulation_timeout equal to the timeout period in seconds. Abaqus terminates if it does not receive any communication from the coupled analysis program during the time specified. The default value is 3600 seconds.。
总规则1、关键字必须以*号开头,且关键字前无空格2、**为注释行,它可以出现在文件中的任何地方3、当关键字后带有参数时,关键词后必须采用逗号隔开4、参数间都采用逗号隔开5、关键词可以采用简写的方式,只要程序能识别就可以了6、不需使用隔行符,如果参数比较多,一行放不下,可以另起一行,只要在上一行的末尾加逗号便可以*AMPLITUDE:定义幅值曲线这个选项允许任意的载荷、位移和其它指定变量的数值在一个分析步中随时间的变化(或者在ABAQUS/Standard分析中随着频率的变化)。
必需的参数:NAME:设置幅值曲线的名字可选参数:DEFINITION:设置definition=Tabular(默认)给出表格形式的幅值-时间(或幅值-频率)定义。
设置DEFINITION=EQUALLY SPACED/PERIODIC/MODULATED/DECAY/SMOOTH STEP/SOLUTION DEPENDENT或BUBBLE来定义其他形式的幅值曲线。
INPUT:设置该参数等于替换输入文件名字。
TIME:设置TIME=STEP TIME(默认)则表示分析步时间或频率。
TIME=TOTAL TIME表示总时间。
VALUE:设置VALUE=RELATIVE(默认),定义相对幅值。
VALUE=ABSOLUTE表示绝对幅值,此时,数据行中载荷选项内的值将被省略,而且当温度是指定给已定义了温度TEMPERATURE=GRADIENTS(默认)梁上或壳单元上的节点,不能使用ABSOLUTE。
对于DEFINITION=TABULAR的可选参数:SMOOTH:设置该参数等于DEFINITION=TABULAR的数据行第一行1、时间或频率2、第一点的幅值(绝对或相对)3、时间或频率4、第二点的幅值(绝对或相对) 等等基本形式:*Amplitude,name=Amp-10.,0.,0.2,1.5,0.4,2.,1.,1.*BEAM SECTION:当需要数值积分时定义梁截面*BOND:定义绑定和绑定属性*BOUNDARY:定义边界条件用来在节点定义边界条件或在子模型分析中指定被驱动的节点。
利用Python对Abaqus进行后处理结果输出-----中大_戚超_2016.10.31 概述在Abaqus的二次开发过程中,通常需要采用Python脚本语言将Abaqus的计算结果进行输出,然后再进行处理。
Python使Abaqus的内核语言,使用较为方便,Abaqus运行Python语言的方式有多种,可以直接命令窗口,也可以读入脚本,还可以采用类似批处理的方式。
本次以一个例子细说Python语言在Abaqus后处理中的应用,模型的计算结果云图如图1所示。
图1 计算结果2 输出所有积分点上的Mises应力直接上Python代码:import osfrom odbAccess import*from textRepr import*myodb=openOdb(path='Job-1.odb')cpFile=open('artlcF1.txt','w')RF=myodb.steps['Step-1'].frames[1].fieldOutputs['S'].valuesfor i in range(len(RF)) :cpFile.write('%.3F\n' %(RF[i].mises))else:cpFile.close()#引入模块,因为需要打开结果文件#打开结果文件,并复制给变量myodb#打开一个txt文件#将输出场赋值给RF#循环语句,向txt文件逐行写入mises应力Abaqus的结构层次分的很细,比如结果文件下分如下:使用过Abaqus的都知道step表示载荷步,frame表示载荷子步,因而在读取Mises应力时需要详细地指定输出哪一步的应力,而应力结果是输出场数据(fieldOutput)的中一种,需要指定是何种应力,程序才知道怎么读取并写入。
由于Abaqus里面涉及的变量特别多,通常很难记清楚那一项下面都有哪些量可以调用,此时比较好的方式是采用print 函数查看,例如查看myodb.steps['Step-1'].frames[1].fieldOutputs 下面有哪些变量可以调用,在窗口输入:print myodb.steps['Step-1'].frames[1].fieldOutputs显示:{'AC YIELD': 'FieldOutput object', 'CF': 'FieldOutput object', 'E': 'FieldOutput object', 'PE': 'Fiel dOutput object', 'PEEQ': 'FieldOutput object', 'PEMAG': 'FieldOutput object', 'RF': 'FieldOutput object', 'S': 'FieldOutput object', 'U': 'FieldOutput object'}各种不同的结果,包括位移、应力和支反力等等,因此可以知道通过如下的方式读取应力:myodb.steps['Step-1'].frames[1].fieldOutputs ['S']此时读取的信息特别多,我们想要的是其中的数值信息,因此可以:myodb.steps['Step-1'].frames[1].fieldOutputs ['S'].values通过此句能够读取所有节点的应力数据,输出其中一个:print myodb.steps['Step-1'].frames[1].fieldOutputs ['S'].values[0]显示:({'baseElementType': 'C3D8R', 'conjugateData': None, 'conjugateDataDouble': 'unknown', 'da ta': array([-855397.25, 58.817497253418, 358.723419189453, -139.652938842773, -456.986175537109, 4.29301929473877], 'f'), 'dataDouble': 'unknown', 'elementLabel': 1, 'fac e': None, 'instance': 'OdbInstance object', 'integrationPoint': 1, 'inv3': -855606.3125, 'localCoordSystem': None, 'localCoordSystemDouble': 'unknown', 'magnitude': None, 'maxInPlanePrincipal': 0.0, 'maxPrincipal': 359.0310********, 'midPrincipal': 58.7767 486572266, 'minInPlanePrincipal': 0.0, 'minPrincipal': -855397.5, 'mises': 855606.375, 'nodeLabel': None, 'outOfPlanePrincipal': 0.0, 'position': INTE GRATION_POINT, 'precision': SINGLE_PRECISION, 'press': 284993.25, 'sectionPoint': None, 'tr esca': 855756.5, 'type': TENSOR_3D_FULL})输出的信息特别多,但是可以看到有mises这一项。
cmd提交inp文件小结有时候需要用command提交inp文件(比如少数keywords不为CAE识别),以下是对aba版中提交inp中出现问题的一个小结。
(假设将运行的inp是jobname1.inp jobname2.inp等等,也假设这些inp是可以运行的。
1、提交方式:在WINDOWS中点击 [开始] → [程序] → [ABAQUS 6.x] → [ABAQUS Command],然后在DOS窗口中输入:提交任务:abaqus job=jobname1 int(int就是interactive)任务暂停:abaqus suspend job=jobname1 int (可恢复)恢复运算:abaqus resume job=jobname1 int(从上次分析结束的地方重新开始分析)杀死任务:abaqus terminate job=jobname1 int (一般不可恢复),杀死任务不可恢复,但是如果有restart文件的话,可以restart继续计算:restart重启计算: abaqus job=xnewx oldjob=xoldx int打开CAE界面:abaqus cae %(aba后处理界面即出现)打开viewer后处理界面:abaqus viewer %(aba后处理界面即出现)查看aba帮助文件:abaqus doc %(aba帮助文件即在默认浏览器中出现)查看cmd命令帮助:abaqus help %(这个太有用了,通过这个可以找到以上所有命令。
)2、几点说明:1)Old job files exist. Overwrite?<y/n>问是否可以覆盖。
如果是文件重名,应该键入n;把现有inp改名,重新提交,以免覆盖以前的文件。
如果可以覆盖,键入y。
3)想多cpu运算(比如4cpus):提交任务:abaqus job=jobname1 int改为提交任务:abaqus job=jobname1 cpus=4 int4)有些显式运算,incretment太多的话(比如多余30w),建议用双精度:提交任务:abaqus job=jobname1 int 改为提交任务:abaqus job=jobname1 double int 但是谁都知道双精度比单精度费时,所以没有如果必要的话,就不需要加这个了。
Abaqus 批处理技巧如何实现input文件处理,一直是广大ABAQUS使用者关心的问题。
在ABAQUS软件中好像并没有提供一个界面来实现这个功能,(好像在帮助里有一个实现的方法,但看了半天没看明白),因而不得不自己想办法来实现。
在其他的一些有限元商业软件中,据笔者所知Dynaform就单独有一个程序来实现多个job的计算,非常方便用户计算多个文件。
自力更生,丰衣足食!现在我们来看看自己如何实现ABAQUS计算文件批处理吧。
1. DOS批处理文件实现方法由于可以在命令行窗口启动计算,于是采用dos批处理文件实现是网上盛传的一种方法,这里主要有两个版本。
版本1:call abaqus job=jobname1call abaqus job=jobname2call abaqus job=jobname3call abaqus job=jobname4试运行后发现,这些job是同时进行计算的,并不是一个接一个进行计算,这显然有违我们的初衷。
那问题出在哪里呢?问题就在于abaqus job=jobname1完成后,计算工作也许并没有完成,但这条命令已经完成,批处理文件直接转到下一个job的运行。
这样运行的结果可能是(大部分情况都是如此),你要运行的job在同时计算。
有没有其他办法了呢?网上别一个版本告诉我们答案。
版本2:call abaqus job=jobname1 intcall abaqus job=jobname2 intcall abaqus job=jobname3 intcall abaqus job=jobname4 int这里的int其实就是计算执行中的命令参数interactive。
在加上int后,只有在当前计算完成后,才会转入下一个模型的计算。
2. 计算机自动关闭在学习使用python实现批处理之前,我们先简要介绍一下,dos中如何实现计算机的自动关闭。
在dos命令行关闭计算机的命令是:shutdown –s –f –t 60-s关闭本地计算机。
abaqus产生几类文件:1. model_database_name.cae模型信息、分析任务等。
2. model_databse_name.jnl日志文件:包括用于复制已存储模型数据库的abaqus/cae命令*.cae与*.jnl构成支持CAE的两个重要文件,要保证CAE下打开一个项目,这两个文件必须同时同在;3. job_name.inp输入文件。
由abaqus Command支持计算起始文件,它也可由CAE打开;4. job_name.dat数据文件:文本输出信息,记录分析、数据检查、参数检查等信息。
ABAQUS/Explicit的分析结果不会写入这个文件5. job_name.sta状态文件:包括分析过程信息6. job_name.msg是计算过程的详细记录,分析计算中的平衡迭代次数,计算时间,警告信息,等等可由此文件获得。
用STEP模块定义7. job_name.res重启动文件,用STEP模块定义8. job_name.odb输出数据库文件,即结果文件,需要由visuliazition打开9. job_name.fil也为结果文件,可被其他应用程序读入的分析结果表示格式。
ABAQUS/Standard记录分析结果。
ABAQUS/Explicit的分析结果要写入此文件中则需要转换,convert=select 或 convert=all10.abaqus.rpy记录一次操作中几乎所有的ABAQUS/CAE命令11.job_name.lck阻止并发写入输出数据库,关闭输出数据库则自行删除12.model_database_name.rec包含用于恢复内存中数据库的ABAQUS/CAE命令13.job_name.ods场输出变量的临时操作运算结果,自动删除14.job_name.ipm内部过程信息文件:启动ABAQUS/CAE分析时开始写入,记录了从ABAQUS/STANDARD或ABAQUS/Explicit到ABAQUS/CAE的过程日志15.job_name.log日志文件:包含了ABAQUS执行过程的起始时间等16.job_name.abqABAQUS/Explicit模块才有的状态文件,记录分析、继续与恢复命令。
Abaqus批处理命令
****************************
call abq6131 job=jobname1 cpus=20 int
del jobname1.sst
//删除文件,有时生成的一些文件很大,会占用大量硬盘空间。
计算完成后删除多余文件为下一次计算留下空间。
call abq6131 job=jobname2 cpus=20 int
del jobname2.dat
pause
//保留DOS框界面,计算出错也不会退出。
****************************
restart 上一个文件
call abq6131 job=jobname1 int
call abq6131 job=jobname2 oldjob=jobname1 int
call abq6131 job=jobname3 oldjob=jobname2 int
说明:有时为节约计算时间,设置重启动文件,那么批处理文件里面就可以像上面的写法,在计算第二个job的时候调用第一个job。
当然使用这个的前提是已经确保计算时设置了正确的重启动,并且重启动需要的文件都在。
****************************
计算完成后,自动关机
call abaqus job=jobname1 cpus=20 int
call abaqus job=jobname2 cpus=20 int
shutdown –s –f –t 1 “1秒后自动强制关机”
****************************
其它几个不太常用的命令
call abaqus terminate job=jobname1 int“杀死任务,一般不可恢复”
call abaqus suspend job=jobname1 int“暂停任务,可恢复”
call abaqus resume job=jobname1 int “从上次结束的地方恢复计算”
****************************
abaqus不是内部命令,不能批处理提交
解决方案:假如你的abaqus.bat在D:\SIMULIA\Abaqus\Commands下,那么在dos下输入命令path=%path%;D:\SIMULIA\Abaqus\Commands即可。
***************************
显式计算怎么修改计算精度
解决方案:将批处理的调用语句改为call abaqus job=jobname1 double int,则计算时采用双精度,但这比较费时,没有必要的话,就不要加了。
***************************
怎么查看当前计算状态
解决方案:根据个人经验,一般通过查看sta文件、dat文件、msg文件就可以把握当前任务的运行状态。
***************************
分别计算两个盘符里的inp文件
@echo off
pushd d:\abaqus
abaqus job=job1 cpus=4 int
pushd e:\abaqus
abaqus job=job2 cpus=4 int
这是同时计算两个盘符的两个文件
按顺序依次进行:。