ABAQUS命令汇总及参数的默认设置
- 格式:docx
- 大小:37.06 KB
- 文档页数:3
abaqus python getfeaturefaces命令1. 引言1.1 概述在工程学领域,ABAQUS是一种广泛使用的有限元分析软件,它可以用于模拟和分析各种结构和材料的行为。
ABAQUS还提供了Python编程接口,使用户可以通过编写脚本来自动化以及扩展软件的功能。
本文主要介绍了ABAQUS Python中一个重要的命令——getFeatureFaces命令。
该命令用于获取给定模型中具有某些特征的面(面片),并返回这些面片的相关信息。
通过使用getFeatureFaces命令,用户可以快速而准确地提取出所需的面片,从而简化后续分析和处理过程。
1.2 文章结构本文按如下结构进行组织。
首先,在第二部分中我们将对ABAQUS软件和Python编程语言进行简要介绍,以便读者能够更好地理解后续内容。
然后,在第三部分中我们将详细解释getFeatureFaces命令的功能、语法和参数,并提供一些实例和应用场景供读者参考。
接着,在第四部分我们将通过一个案例分析来展示如何使用getFeatureFaces命令解决实际问题,并对结果进行进一步讨论与分析。
最后,在第五部分中我们将总结研究内容,并评价getFeatureFaces 命令的意义与局限性。
同时,我们还将展望后续工作,并提出一些建议供读者参考。
1.3 目的本文的目的主要有两个方面。
首先,通过介绍getFeatureFaces命令的功能和用途,帮助用户更好地理解该命令在ABAQUS Python中的应用场景,并学会如何使用该命令来处理各种复杂情况。
其次,通过案例分析部分,引导读者从实际工程问题出发,灵活运用getFeatureFaces命令解决复杂的实际问题,并对结果进行深入分析和讨论。
通过阅读本文,读者将能够全面了解getFeatureFaces命令的基本原理和使用方法,并具备利用该命令解决实际工程问题的能力。
2. Abaqus Python介绍:2.1 Abaqus软件简介:Abaqus是一款功能强大的有限元分析软件,常用于虚拟仿真和结构力学等工程领域。
Abaqus操作技巧总结打开abaqus,然后点击file——set work directory,然后选择指定文件夹,开始建模,建模完成后及时保存,在进行运算以前对已经完成的工作保存,然后点击job,修改inp文件的名称进行运算。
切记切记!!!!!!1、如何显示梁截面(如何显示三维梁模型)显示梁截面:view->assembly display option->render beam profiles,自己调节系数。
2、建立几何模型草绘sketch的时候,发现画布尺寸太小了1)这个在create part的时候就有approximate size,你可以定义合适的(比你的定性尺寸大一倍);2)如果你已经在sketch了,可以在edit菜单--sketch option ——general--grid更改3、如何更改草图精度可以在edit菜单--sketch option ——dimensions--display——decimal更改如果想调整草图网格的疏密,可以在edit菜单--sketch option ——general——grid spacing中可以修改。
4、想输出几何模型part步,file,outport--part5、想导入几何模型part步,file,import--part6、如何定义局部坐标系Tool-Create Datum-CSYS--建立坐标系方式--选择直角坐标系or柱坐标系or球坐标7、如何在局部坐标系定义载荷laod--Edit load--CSYS-Edit(在BC中同理)选用你定义的局部坐标系8、怎么知道模型单元数目(一共有多少个单元)在mesh步,mesh verify可以查到单元类型,数目以及单元质量一目了然,可以在下面的命令行中查看单元数。
Query---element 也可以查询的。
9、想隐藏一些part以便更清楚的看见其他part,edge等view-Assembly Display Options——instance,打勾10、想打印或者保存图片File——print——file——TIFF——OK11、如何更改CAE界面默认颜色view->Grahphic options->viewport Background->Solid->choose the wite colour!然后在file->save options.12、如何施加静水压力hydrostaticload --> Pressure, 把默认的uniform 改为hydrostatic。
abaqus常用命令abaqus常用指令小结*标题定义分析的标题。
输出显示窗口不带参数显示。
数据线:1、标题标题可以有几个字符长,但只保存和显示第一行的前80个字符。
*restart保存并重用数据和分析结果本选项可能导致产生大量数据。
用于控制重启数据的要求读,至少有以下一个参数:read:本次分析是对前次分析的重启,基本模型定义数据(单元、材料、结点)本次重启不能更改;但是单元集、结点集、振幅表可以增加,本部件并发产生的历史数据可能改变已分析产生的历史数据。
写入:重新启动数据将写入此分析。
如果使用read参数,则可以选择以下选项:endstep:用户希望在该点终止现在的step与sted相对使用Inc:使该参数等于“步长”参数定义的步长内的增量。
阅读步骤后可以再次分析step:本参数等于重启时的步骤数,省略时分析在最后一步重启如果使用了write参数以下参数可选频率:重新启动信息数据写入的频率。
如果freqvency=2,它将位于第2、第4和第6位?在步骤中写入数据。
如果freqvency=0,将停止重新启动数据的写入overlay:覆盖上一步所产生的数据,省略则写入每步的数据*节点定义结点,用于通过坐标直接定义结点。
可选参数Inpvt:等于外部数据文件名nset:等于节点集的名称system:缺省sysyem=r代表坐标直角点(x、y、z),system=c代表圆柱坐标(r、?、z),system=s代表球坐标(r、?、?)定义节点的数据行:第一行数据:1.节点号2、节点坐标第一分量3、节点坐标第二分量4.节点坐标第三分量5、与标准节点间的第一方向导弦(可选参数)6.标准节点之间第二个方向的导向弦(可选参数),柱坐标或球坐标的数量为角度(度)7,标准节点之间第三个方向的导向弦(可选参数),柱坐标或球坐标的数量为角度(度)。
重复上述数据行以定义多个节点*ngen依次生成节点可选参数:line:line=p接抛物线产生结点,用户必须定义额外的点,该中点在两端点之间,line=c接圆弧线方式产生结点,用户必须定义额外的点,该点是圆弧的中心,省略的话接直线方式产生。
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.。
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。
ABAQUS常⽤DOS命令总结
1) abaqus help:可以显⽰所有ABAQUS命令的语法规则
2) abaqus cae:启动ABAQUS/CAE
3) abaqus job=job_name:提交分析作业
注:提交的*.inp必须要在ABAQUS默认的⼯作⽬录下
4) abaqus python script_file:运⾏脚本⽂件。
script_file是脚本⽂件名称
注:如果没有给出脚本⽂件名称,则进⼊脚本语⾔界⾯
5) abaqus findkeyword:在帮助⽂档中找到包含所需关键词的INP⽂件。
如包含重启动*RESTART的INP⽂件
6) abaqus fetch job=job name:提取帮助⽂档中所提供的INP⽂件、⽤户⼦程序和JNL⽂件等。
提取后的⽂件保存在ABAQUS默认⼯作⽬录下
注:可以利⽤5)查找所需INP⽂件,然后利⽤6)将其提取出来
7) abaqus doc:打开ABAQUS的帮助⽂档
8) abaqus viewer:进⼊ABAQUS/CAE的Vissualization模块
9) abaqus append:将两个结果⽂件*.fil合并到⼀起。
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 keywords 翻译⼆(转)*Contact controls assignment:付给接触控制参数,explicit可选的、相互排斥的参数:Nodal erosion:默认=no,在通⽤接触中,在连接所有接触⾯和边的单元⾯变化后,保持其上的⼀个节点作为点质量。
=yes,删除⾯上的点。
Type:=scale penalty为默认罚刚度指定⽐例系数。
当指定Nodal erosion时⽆数据⾏。
对于TYPE=SCALE PENALTY的数据⾏:第⼀⾏1、第⼀个⾯的名字。
如果省略,则假设是包含整个通⽤接触域的默认模型2、第⼆个⾯的名字。
如果省略,则与第⼀⾯相同,指定的接触控制付给第⼀个⾯和它⾃⼰。
3、explicit将缩放默认罚刚度的系数。
*Contact damping:定义接触⾯间的粘性阻尼该选项⽤来定义两接触⾯间的粘性阻尼,必须与*surface interaction、*gap或*interface选项联合使⽤。
standard中,该选项主要⽤来在逼近或分离过程中抑制相对运动;在explicit中该选项⽤来抑制当使⽤罚函数或软接触时的振荡)必需参数:definition:该参数选择阻尼系数的维数。
未完*CONTACT INTERFERENCE:定义接触对和接触单元间的基于时间的允许间隙或过盈,⽤于standard对于求解⼤的接触初始过盈问题很有⽤。
可选参数:AMPLITUDE:幅值曲线的名称,定义整个分析步内的间隙/过盈值。
如果省略该参数,规定的间隙/过盈在分析步开始时⽴刻应⽤,并线性减少到0OP:=Mod(默认)保持,添加或更改。
=NEW移除前⾯的定义SHRINK:调⽤⾃动冷缩配合能⼒,只⽤于第⼀个分析步。
TYPE:指定固定的间隙/过盈的应⽤对象。
=CONTACT PAIR(默认)到接触对;=ELEMENT到接触单元。
对于接触对的数据⾏第⼀⾏1、从⾯名称2、主⾯名称,不允许⾃接触如果包含SHRINK参数,⽆额外的数据⾏,否则3、参考允许间隙/过盈4、转移⽅向向量的x⽅向余弦值(可选)5、转移⽅向向量的y⽅向余弦值(可选)6、转移⽅向向量的z⽅向余弦值(可选)对于接触单元的数据⾏第⼀⾏1、包含接触单元的单元集名称如果包含SHRINK参数,⽆额外的数据⾏,否则2、参考允许间隙/过盈3、转移⽅向向量的x⽅向余弦值(可选)4、转移⽅向向量的y⽅向余弦值(可选)5、转移⽅向向量的z⽅向余弦值(可选)基本格式:*CONTACT INTERFERENCE,amplitude=幅值曲线名称从⾯名称,主⾯名称,过盈量或间隙量(正值是间隙,负值是过盈,不能在初始分析步中定义)*CONTACT OUTPUT:指定要输出的接触变量需要与*OUTPUT合⽤*Contact pair:定义接触对定义standard中的接触必需参数:Interaction:设置该参数等于*Surface Interaction属性名,来定义相关接触对。
ABAQUS命令汇总及参数的默认设置
1.**MESH**:用于生成网格的命令
- **MESH Tie**:将两个表面网格进行连接
- **MESH Part**:对零件进行网格划分
- **MESH Assembly**:对总装进行网格划分
默认设置参数:
-**TIEBEHAVIOR**:将网格连接到边界时的行为,默认为AUTOMATIC,表示自动选择适当的行为
-**ELEMENTTYPE**:网格单元类型,默认为C3D8,表示八节点三维
线性六面体单元
2.**PART**:用于创建零件的命令
-**PART,OPTION**:创建部分模型,并设置部分模型选项
默认设置参数:
-**EXITCOMMAND**:设置退出PART命令时的行为,默认为QUIT,表
示退出命令后继续执行下一个命令
-**CREATENODES**:设置是否创建节点,默认为YES,表示创建节点
3.**INSTANCE**:用于在程序中实例化零件及其网格
- **INSTANCE Creation**:创建零件实例
默认设置参数:
-**COPYMODELDATA**:设置是否将模型数据复制到实例,默认为YES,表示复制数据
4.**STEP**:用于定义步骤的命令
-**STEP,NLSTATIC**:定义非线性静态分析步骤
-**STEP,NLGEOM**:定义非线性几何分析步骤
默认设置参数:
-**NLGEOM**:设置是否进行非线性几何分析,默认为NO,表示不进
行非线性几何分析
5.**BOUNDARY**:用于定义边界条件的命令
-**BOUNDARY,PLANAR**:用于定义平面约束
-**BOUNDARY,COORD**:用于定义坐标约束
默认设置参数:
-**TYPE**:设置约束类型,默认为ENCASING,表示将节点限制在一
个边界框内
6.**LOAD**:用于定义加载的命令
-**LOAD,FILE**:从文件中读取加载数据
-**LOAD,DISP**:定义位移加载
默认设置参数:
-**TYPE**:设置加载类型,默认为DISPLACEMENT,表示位移加载
-**AMPLITUD**:设置加载量的幅值,默认为1.0
这只是ABAQUS中一小部分命令及其默认设置的示例。
实际上,ABAQUS有很多命令可以用于不同的分析和模拟需求,并且有许多参数可以进行自定义设置。
根据具体问题和模型,用户可以根据需要调整这些参数的设置来获得所需的分析结果。