25.1.1 Ur subroutines: overview
Reference
∙ escape是什么意思“Execution procedure for ABAQUS/Standard and ABAQUS/Explicit,” Section 3.2.2
Overview
妈妈贵宾网Ur subroutines: 用户子程序:
∙ are provided to increa the functionality of veral ABAQUS capabilities for which the usual data input methods alone may be too restrictive;
∙ 当常用数据输入方法受到限制时,可以用来增强ABAQUS在这些方面的功能;
∙ provide an extremely powerful and flexible tool for analysis;
∙ 提供一个完备且灵活的分析工具;
∙ are typically written as FORTRAN code and must be included in a model when you execute the analysis, as discusd below;
∙ 用FORTRAN代码编写,并且当执行分析时必须包含在模型中,下面将详细介绍;
∙ must be included and, if desired, can be revid in a restarted run, since they are not saved to the restart files (e “Restarting an analysis,” Section 7.1.1);
∙ 由于用户子程序不存储在重启动文件中,因此用户子程序必须包含在重启动文件中,如果需要可以在重启动运行时进行修改;
∙ cannot be called one from another; and
∙ 不能够在用户子程序中调用另外一个用户子程序;
∙ can in some cas call utility routines that are also available in ABAQUS (e “Utility routines: overview,” Section 26.1.1).
∙ 在某些情况下可以调用ABAQUS中可以利用的程序
Including ur subroutines in a model
在一个模型中包含用户子程序白色污染的意思
受尊重You can include one or more ur subroutines in a model by specifying the name of a FORTRAN source or object file that contains the subroutines. Details are provided in “Execution procedure for ABAQUS/Standard and ABAQUS/Explicit,” Section 3.2.2.
用户可以在一个模型中包含一个或几个用户子程序,具体方法是通过指定bracketsFORTRAN程序的文件或者保护用户子程序的目标文件的文件名来实现。
Input File Usage: | Enter the following input on the command line: |
| abaqus job=job-name ur={source-file | object-file} |
ABAQUS/CAE Usage: | Job module: job editor: General: Ur subroutine file |
| |
Managing external databas in ABAQUS/Standard and exchanging information with other software 在ABAQUS/Standard中管理外部数据库及其与其它软件竞选信息传递
In ABAQUS/Standard it is sometimes desirable to t up the FORTRAN environment and manage interactions with external data files that are ud in conjunction with ur subroutines. For example, there may be history-dependent quantities to be computed externally, once per increment, for u during the analysis; or output quantities that are accumulated over multiple elements in COMMON block variables within ur subroutines may need to be written to external files at the end of a converged increment for postprocessing. Such operations can be performed with ur subroutine UEXTERNALDB (“UEXTERNALDB,” Section 25.2.21heaven nt). This ur interface can potentially be ud to exchange data with another code, allowing for “女子英文名stagger” between ABAQUS/Standard and another code.
在ABAQUS/Standard中有时候需要建立FORTRAN环境来管理用户子程序中使用的外部数据文件的交换。例如,也许会用到外部计算的随时间变化的量;或者输出量为在用户子程序中COMMON块变量的多个单元的累积需要在收敛增量结束时输出到外部文件,以便后处理时使用。这些操作可以通过用户子程序UEXTERNALDB来实现。
Writing a ur subroutine 书写一个用户子程序
Ur subroutines should be written with great care. To ensure their successful implementation, the rules and guidelines below should be followed.
闰秒
编写用户子程序要非常小心。为保证它们的成功运行,应该遵守下面的惯例和指导原则:
Required INCLUDE statement
必要的 INCLUDE 声名
Every ABAQUS/Standard ur subroutine must include the statement
maintain什么意思
每一个ABAQUS/Standard用户子程序必须保护声名
include 'aba_param.inc'
as the first statement after the argument list. netfilter
作为argument列表后的第一个声名。
Every ABAQUS/Explicit ur subroutine must include the statement
每个ABAQUS/Explicit用户子程序必须包含声名
include 'vaba_param.inc'
as the first statement after the argument list.
作为argument列表后的第一个声名。
If variables are exchanged between the main ur subroutine and subquent subroutines, the ur should specify the above include statement in all the subroutines to
prerve precision.
如果主用户子程序和次用户子程序之间有变量交换,用户应该在所有的用户子程序中指定上面的include声名以保证计算精度。
The files aba_param.inc and vaba_param.inc are installed on the system by the ABAQUS installation procedure and contain important installation parameters. The statements tell the ABAQUS execution procedure, which compiles and links the ur subroutine with the rest of ABAQUS, to include the aba_param.inc or vaba_param.inc file automatically. It is not necessary to find the file and copy it to any particular directory; ABAQUS will know where to find it.
aba_param.inc和vaba_param.inc文件被ABAQUS安装程序安装在系统中,其中包含重要的安装参数。这些声名通知ABAQUS用于在用户子程序和ABAQUS起编译和连接作用的外部程序。不需要查找和复制这些文件到任何指定目录,ABAQUS会自动查找它。
Naming convention 命名约定
If ur subroutines call other subroutines or u COMMON blocks to pass information, such subroutines or COMMON blocks should begin with the letter K since this letter is never ud to start the name of any subroutine or COMMON block in ABAQUS.