找回密码
 注册
Simdroid-非首页
查看: 764|回复: 21

[INP文件] 运行INP文件的三种方法-总结

[复制链接]
发表于 2011-6-13 18:34:05 | 显示全部楼层 |阅读模式 来自 黑龙江哈尔滨
方法1: 在ABAQUS/CAE中修改后的INP 文件创建分析作业,从而运行此INP 文件。具体方法是:在ABAQUS/CAE的Job 功能模块中,点击Job Manager .对话框中的Create在reate Job 对话框中将Source设为Inputfile,然后点击Select,选中修改后的INP文件,点击Continue,在点击OK。

       方法2:将 INP 文件导入 ABAQUS/CAE 中,从而创建一个新的模型。具体方法是在CAE的任何一个功能模块下,点击主菜单 File——Import——model,选择要导入的INP文件。

     方法3:使用ABAQUS命令来提交INP文件。具体方法是在ABAQUS Command窗口中输入命令:ABAQUS JOB=<INP文件名>。


小弟接触ABAQUS不久,能力有限,先发个简单的帖子,支持论坛。


不知还有没有其它方法,待高手补充。。。。。。。。

评分

2

查看全部评分

发表于 2011-6-13 18:45:48 | 显示全部楼层 来自 上海
Simdroid开发平台
第三个命令最好用,
第二个要求INP不包含cae不支持的关键字
第一个不知道会不会也过滤掉cae不支持的关键字呢?
回复 不支持

使用道具 举报

发表于 2011-6-13 19:09:10 | 显示全部楼层 来自 台湾台北
2# JingheSu

第一个不知道会不会也过滤掉cae不支持的关键字呢?

正解--不會過濾CAE不支持的關鍵字.

评分

2

查看全部评分

回复 不支持

使用道具 举报

发表于 2011-6-13 19:37:27 | 显示全部楼层 来自 浙江杭州
还有好多种方法
如:先建立一个批处理文件在桌面上,如run.bat,内容如下
%~d1
cd %~p1

安装路径\ABAQUS610\6.10-1\exec\abq6101.exe j=%~nx1 cpu=1 int

然后将要计算的文件拖到这个run.bat文件上,就可以自动启动计算,且路径就是你的.inp文件目录下,这样是极其方便的。
回复 不支持

使用道具 举报

发表于 2011-6-13 19:41:25 | 显示全部楼层 来自 浙江杭州
还有,如想多个inp文件自动依次提交计算,也是很容易实现的,在WINDOWS下,可以写一个批文件,例如abq_run.bat
安装路径\ABAQUS610\6.10-1\exec\abq6101.exe job=c01.inp cpu=8 int
安装路径\ABAQUS610\6.10-1\exec\abq6101.exe job=c02.inp cpu=8 int
安装路径\ABAQUS610\6.10-1\exec\abq6101.exe job=c03.inp cpu=8 int
安装路径\ABAQUS610\6.10-1\exec\abq6101.exe job=c04.inp cpu=8 int
安装路径\ABAQUS610\6.10-1\exec\abq6101.exe job=c05.inp cpu=8 int
然后运行一下,这个abq_run.bat文件上,上面5个inp文件就会自动依次提交计算。

当然也还可以加其他命令,如关机命令,等等

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2011-6-13 19:55:45 | 显示全部楼层 来自 上海
楼上这个其实应该就是原文中3的变异,只不过指明了程序运行的路径吧?
我们平时写的那个
call abaqus job=XX.inp cpu=X int
也不一定要在abaqus command下面运行,在cmd下也可以的。
回复 不支持

使用道具 举报

发表于 2011-6-13 20:24:11 | 显示全部楼层 来自 北京
这个问题以前好像讨论过吧,而且某为坛友还写了个批处理文件生成程序

也来补充一点
把ABAQUS的commands目录加入到系统环境变量path中就不用写路径了。
用abaqus提交计算,相当于调用ABAQUS的commands目录下的abaqus.bat
打开看看,一般最近一次安装的abaqus版本。
如果装了多个版本的abaqus,或者是绿色版的abaqus
可以直接运行abq<版本>,比如abq691表示abaqus 6.9-1版本,abq6101表示abaqus6.10-1版本。

另外批处理命令队列提交多个计算时,最好加一个call或者@call适用性更广。

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2011-6-13 20:37:48 | 显示全部楼层 来自 上海
呵呵, 用Total commander 做文件管理,结合自定义命令,轻松搞定

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2011-6-13 21:24:35 | 显示全部楼层 来自 上海
7# ALivErD
默认情况下abaqus的command目录都会被加入系统环境变量的
回复 不支持

使用道具 举报

发表于 2011-7-5 16:08:52 | 显示全部楼层 来自 北京
弱弱问一句 能不能设定cae计算关机呢 偶知道在批处理时怎么做 想知道能不能在cae提交job了 设定计算完关机呢~~~~
回复 不支持

使用道具 举报

发表于 2011-7-5 19:49:26 | 显示全部楼层 来自 湖北武汉
刚刚学习abaqus,学习下
回复 不支持

使用道具 举报

发表于 2011-7-5 19:49:50 | 显示全部楼层 来自 湖北武汉
刚刚学习abaqus,学习下,谢谢
回复 不支持

使用道具 举报

发表于 2011-7-19 23:00:51 | 显示全部楼层 来自 美国
学习下,谢谢!
回复 不支持

使用道具 举报

发表于 2011-8-11 21:58:31 | 显示全部楼层 来自 福建厦门
In the following execution procedures, "abaqus" refers to the command
used to run Abaqus.

Obtaining information

abaqus  {help | information={environment | local | memory | release |
           support | system | all} [job=job-name] | whereami}


Abaqus/Standard, Abaqus/Explicit, and Abaqus/CFD execution

abaqus 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]
                      [dynamic_load_balancing]
                      [mp_mode={mpi | threads}]
                      [standard_parallel={all | solver}]
                      [memory=memory-size]
                      [interactive | background | queue=[queue-name]
                        [after=time]]
                      [double={explicit | both | off | constraint}]
                      [scratch=scratch-dir]
                      [output_precision={single | full}]
                      [madymo=MADYMO-input-file]
                      [port=co-simulation port-number]
                      [host=co-simulation hostname]
                      [listenerport=co-simulation engine listener
                        port-number]
                      [remoteconnections=co-simulation engine
                        hostname:port-number]
                      [timeout=co-simulation timeout value in seconds]
                      [unconnected_regions={yes | no}]


Abaqus/CAE execution

abaqus cae  [database=database-file] [replay=replay-file]
             [recover=journal-file] [startup=startup-file]
             [script=script-file] [noGUI=[noGUI-file]] [noenvstartup]
             [noSavedOptions] [noStartupDialog] [custom=script-file]
             [pde]


Abaqus/Viewer execution

abaqus viewer  [database=database-file] [replay=replay-file]
                [startup=startup-file] [script=script-file]
                [noGUI=[noGUI-file]] [noenvstartup]
                [noSavedOptions] [noStartupDialog] [custom=script-file]
                [pde]


Python execution

abaqus python  [script-file]


Parametric studies

abaqus script  [=script-file] [startup=startup file-name]
                [noenvstartup]


Abaqus HTML documentation

abaqus doc


Licensing utilities

abaqus licensing  [lmstat | lmdiag | lmpath | lmtools]


ASCII translation of results (.fil) files

abaqus ascfil  job=job-name  [input=input-file]


Joining results (.fil) files

abaqus append  job=job-name oldjob=oldjob-name input=input-file
  

Querying the keyword/problem database

abaqus findkeyword  [job=job-name] [maximum=maximum-output]


Fetching sample input files

abaqus fetch  job=job-name [input=input-file]


Making user-defined executables and subroutines

abaqus make  {job=job-name | library=source-file}
              [user={source-file | object-file}]
              [directory=library-dir]
              [object_type={fortran | c | cpp}]


Input file and output database upgrade utility

abaqus upgrade  job=job-name  
                 [input=old-input-file-name | odb=old-odb-file-name]
                 [fromversion=release] [previousdefaults]


Generating output database reports

abaqus odbreport  [job=job-name] [odb=output-database-file]
         [mode={HTML | CSV}] [all] [mesh] [sets] [results]
         [step={step-name | _LAST_}]
         [frame={number | load-case-name | description | _LAST_}]
         [framevalue={time | mode | frequency}]
         [field=[field-variable]] [components] [invariants]
         [orientation] [histregion=region-name]
         [history=[history-variable]]
         [instance={instance-name | _NONE_}]
         [blocked] [extrema]


Joining output database (.odb) files from restarted analyses

abaqus restartjoin  originalodb=odb-file-name
                     restartodb=odb-file-name
                     [copyoriginal] [history] [compressresult]


Combining output from substructures

abaqus substructurecombine  baseodb=odb-file-name
                             copyodb=odb-file-name
                             [all] [step=step-name]
                             [frame=frame-number]
                             [variable=variable-key]

Combining output from multiple output databases

abaqus odbcombine  job=job-name
                    [input=configuration-file-name]
                    [verbose=level]

Network output database file connector

abaqus networkDBConnector  port={serverPortNumber | auto_assigned}
                            [timeout=time out value in seconds]
                            [host=hostname]
                            [stop]
                            [ping]
                          

Fixed format conversion utility

abaqus free  job=job-name input=input-file


Translating Nastran bulk data files to Abaqus input files

abaqus fromnastran  job=job-name [input=input-file]
                                  [wtmass_fixup={OFF | ON}]
                                  [loadcases={OFF | ON}]
                                  [pbar_zero_reset=[small_real_number]]
                                  [distribution={OFF | preservePID | ON}]
                                  [surface_based_coupling={OFF | ON}]
                                  [beam_offset_coupling={OFF | ON}]
                                  [beam_orientation_vector={OFF | ON}]
                                  [cbar=2_node_beam_element]
                                  [cquad4=4_node_shell_element]
                                  [chexa=8_node_brick_element]
                                  [ctetra=10_node_tetrahedron_element]
                                  [plotel={OFF | ON}]
                                  [cdh_weld={OFF | RIGID | COMPLIANT}]


Translating Abaqus files to NASTRAN bulk data files

abaqus tonastran  job=job-name [input=input-file]
                                [substructure]


Translating ANSYS input files to Abaqus input files

abaqus fromansys  job=job-name [input=input-file]


Translating PAM-CRASH input files to partial Abaqus input files

abaqus frompamcrash  job=job-name
                      input=input-file
                      [pLinkConnectors={OFF | ON}]
                      [splitAirbagElements={OFF | ON}]
                      [autoKJoinStops={OFF | ON}]

Translating RADIOSS input files to partial Abaqus input files

abaqus fromradioss   job=job-name
                      input=input-file
                      [splitAirbagElements={OFF | ON}]
                      [readAbaqusDat=dat-file]
                      [userDefaultMass=real-number]
                      [userDefaultInertia=real-number]
                      [userHistoryTime=real-number]


Translating Abaqus output database files to Nastran Output2
results files

abaqus toOutput2  job=job-name [odb=odb-name]
                                [step=step-number]
                                [increment=increment-number]
                                [slim] [quad4corner]

                             
Exchanging Abaqus data with ZAERO

abaqus tozaero  job=job-name [unvfile=unv-file-name]
                              [odbfile=odb-file-name]
                              [mtxfile=mtx-file-name]
                              [step=step-number]
                              [mode={text | binary}]


Encrypting and decrypting Abaqus input data

abaqus {encrypt | decrypt}  input=input-file-name
                             output=output-file-name
                             password=password
                             [license=feature_list]
                             [siteid=site-id_list]
                             [include_only]
                             [expiration=expiration_date]


Job execution control

abaqus {suspend | resume | terminate}  job=job-name


Abaqus Interface for Moldflow execution

abaqus moldflow  job=job-name [input=input-name]
                               [midplane | 3D]
                               [element_order={1 | 2}]
                               [initial_stress={on | off}]
                               [material=traditional]
                               [orientation=traditional]


Abaqus Interface for MSC.ADAMS execution

Executing the adams command to create a modal neutral file without
stress or strain

abaqus adams  job=job-name [input=input-file]
                            [units=mmks | mks | cgs | ips]
                            [length=length-units-name]
                            [mass=mass-units-name]
                            [time=time-units-name]
                            [force=force-units-name]

Executing the adams command to create a modal neutral file with
stress or strain

Creating the second input file

abaqus adams  job=job-name [input=input-file]
                            [make_se_recovery]
                            [stress_modes={ON | OFF}]
                            [strain_modes={ON | OFF}]
                            [section_point=section_point_number]

Creating the modal neutral file from two results files

abaqus adams  job=job-name [input=input-file]
                            [se_recovery_job=se_recovery_job-name]
                            [units=mmks | mks | cgs | ips]
                            [length=length-units-name]
                            [mass=mass-units-name]
                            [time=time-units-name]
                            [force=force-units-name]

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2011-8-11 22:04:07 | 显示全部楼层 来自 福建厦门
中文说明参见
http://bbs.simwe.com/viewthread. ... 6amp%3Btypeid%3D457
cmd提交inp文件小结
回复 不支持

使用道具 举报

发表于 2011-10-24 19:36:21 | 显示全部楼层 来自 湖北武汉
JingheSu 发表于 2011-6-13 19:55
楼上这个其实应该就是原文中3的变异,只不过指明了程序运行的路径吧?
我们平时写的那个
call abaqus job=X ...

问下总版主,help中一个例子的inp文件不止一个,其中一个是inp而另一个是f文件,问一下,如何运行?困在这儿好多天了,求解答。
回复 不支持

使用道具 举报

发表于 2011-10-25 08:32:58 | 显示全部楼层 来自 上海
BLANK 发表于 2011-10-24 19:36
问下总版主,help中一个例子的inp文件不止一个,其中一个是inp而另一个是f文件,问一下,如何运行?困在 ...

子程序安装好了么?
abaqus job=xxxx.inp user=xxx.f
回复 不支持

使用道具 举报

发表于 2011-10-25 20:43:38 | 显示全部楼层 来自 湖北武汉
JingheSu 发表于 2011-10-25 08:32
子程序安装好了么?
abaqus job=xxxx.inp user=xxx.f

按你说的格式,而且把f文件改成for文件了,出错提示:Problem during compilation -ifort.exe  not found in path.
回复 不支持

使用道具 举报

发表于 2011-10-26 08:34:50 | 显示全部楼层 来自 上海
BLANK 发表于 2011-10-25 20:43
按你说的格式,而且把f文件改成for文件了,出错提示:Problem during compilation -ifort.exe  not found ...

fortran没安装好
回复 不支持

使用道具 举报

 楼主| 发表于 2011-10-26 11:22:47 | 显示全部楼层 来自 浙江衢州
谢谢版主鼓励
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-29 04:57 , Processed in 0.076605 second(s), 23 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表