关于通过bat文件运行ansys任务
(2012-04-12 08:34:54)
标签:
杂谈 |
分类: 工作学习 |
可以通过两种方式运行ansys任务
1. "C:\Program Files\Ansys -Inc\v140\Bin\winx64\ansys140.exe”
-b -i myinput.inp -o
myoutput.out
其中-b表示
2. 修改环境变量path,在其中添加ansys可执行文件所在的目录,例如set path=C:\Program Files\Ansys -Inc\v140\Bin\winx64%path%
然后直接运行 ansys140 b -i myinput.inp -o myoutput.out
各个参数的解释
-acc device |
Capability" in the Parallel Processing Guide for more
information. |
|
|
|
cause the input listing to be included in the output. The -b nolist option causes the input listing not to be included. For more information about running ANSYS in batch mode, see Batch Mode. |
|
Guide to ANSYS User Programmable Features for more information.
|
|
For Linux systems, graphics device choices are X11, X11C, or 3D. For Windows systems, graphics device options are WIN32 or WIN32C, or 3D.
|
|
database. The default is 512 MB for 64-bit machines, 256 MB for 32-bit machines. Specify a negative number (-value) to force a fixed size throughout the run; useful on small memory systems. |
|
ANSYS140_WORKING_DIRECTORY environment variable.
|
|
information. |
|
|
|
|
|
select this option, an X11 graphics device is assumed for Linux unless the -d option specifies a different device. This option is not used on Windows systems. To activate the GUI once ANSYS has started, you need to enter two commands in the ANSYS input window: /SHOW to define the graphics device, and /MENU,ON to activate the GUI. The -g option is valid only for interactive mode. Note: If you start ANSYS via the -g option, the program ignores any /SHOW command in the start140.ans file and displays a splash screen briefly before opening the GUI windows.
|
|
Linux, the preferred method to indicate an input file is
<. |
|
for a specific model. If you omit the -j option, the jobname is
assumed to be file. |
|
you have a translated message file in an appropriately named subdirectory in /ansys_inc/v140/ansys/docu (or Program Files\Ansys Inc\V140\ANSYS\docu on Windows systems). |
|
allocation. If you omit the -m option, the default is 1 GB (1024 MB) for 64-bit machines, 512 MB for 32-bit machines. Specify a negative number (-value) to force a fixed size throughout the run. |
|
Distributed ANSYS in the Parallel Processing Guide for more
information. |
|
Starting and Stopping an MFX Analysis in the Coupled-Field Analysis Guide for more information. |
|
information. |
|
Using MPI appfiles in the Parallel Processing Guide for more
information. |
|
least two characters long. For details about parameters, see the ANSYS Parametric Design Language Guide. |
|
Shared-memory ANSYS. See the Parallel Processing Guide or the Advanced Analysis Techniques Guide for more information. |
|
On Linux, the preferred method to indicate an output file is
>. |
|
ANSYS Structural, etc.). For more detailed information about the -p option, see Choosing an ANSYS Product via Command Line.
|
|
-s option, ANSYS reads the start140.ans file in interactive mode and not in batch mode. |
|
co-simulation participant/solver must connect) in a System
Coupling analysis. |
|
the coupling service in a System Coupling analysis. For Linux systems, you need to escape the quotes or escape the space to have the name recognized with a space: ansys140.exe-scname=\”Solution 1\” or
ansys140.exe-scname=”Solution\ 1” |
|
for connections from co-simulation participants in a System
Coupling analysis. |
|
analysis. |
|
number, and license manager version number.
|