在家目录下的.bashrc文件中加入以下一行
export PATH=/export/app/ansys11/v110/ansys/bin:$PATH
然后执行
source .bashrc
使.bashrc文件生效。
ANSYS可以结合命令流在仅登录终端的模式下进行计算。
而执行的命令过程为
ansys110 -p [ansys 产品名] –b –i [输入的命令流文件] –o [输出的log文件]
详细的命令行参数参考附录1以及ANSYS的help文档里面的Operations Guide。
使用Xmanager,或Putty+Xming登录console然后
在终端中执行
ansys110 –g
即可打开ANSYS Classic
或者使用
launcher110
来选择要使用的ANSYS产品,以及工作目录等。(ps. 将工作目录设置在自己家目录下,否则会因为权限问题而出错。)
推荐使用launcher110来启动图形界面,并且可以通过launcher110来启动Workbench,可以使用ICEM,CFD等。
| -ansexe | In the ANSYS Workbench environment, activates a custom ANSYS executable. |
| list or nolist | Activates the ANSYS program in batch mode. The options list or by itself cause the input listing to be included in the output. The nolist option causes the input listing not to be included. For more information about running ANSYS in batch mode, see Batch Mode. |
| -custom | Calls a custom ANSYS executable. See Running Your Custom Executable in the Guide to ANSYS User Programmable Features for more information. |
| device | Specifies the type of graphics device. This option applies only to interactive mode. For UNIX systems, graphics device choices are X11, X11C, or 3D. For Windows systems, graphics device options are WIN32 or WIN32C, or 3D. |
| value | Defines the portion of workspace (memory) to be used for the database. The default is 256 MB. |
| -dir | Defines the initial working directory. Using the option overrides the environment variable. |
| -dis | Enables Distributed ANSYS. See the Distributed ANSYS Guide for more information. |
| -dtm | Enables the Drop Test Module (DTM) advanced task (add-on). The DTM is an optional add-on feature to the ANSYS LS-DYNA product which simplifies the procedure for simulating a drop test. This option is only valid if you have a license for the DTM. See Chapter 17: "Drop Test Module" in the ANSYS LS-DYNA User's Guide for more information. |
| option | Sets ANSYS to run in fixed-memory mode. The or options set ANSYS to use dynamic memory allocation for scratch memory as needed (default setting). If you do not set any arguments, ANSYS uses fixed-mode memory allocation for scratch memory, but allows other sections of the ANSYS work space to grow as required. |
| -fs | Enables the ANSYS Frequency Sweep VT advanced task (add-on). |
| -fxs | Enables ANSYS DesignXplorer VT advanced task (add-on). |
| -g | Launches the ANSYS program with the Graphical User Interface (GUI) on. If you select this option, an X11 graphics device is assumed for UNIX unless the 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 option is valid only for interactive mode. |
| inputname | Specifies the name of the file to read input into ANSYS for batch processing. On UNIX, the preferred method to indicate an input file is <. |
| -j Jobname | Specifies the initial jobname, a name assigned to all files generated by the program for a specific model. If you omit the option, the jobname is assumed to be . |
| language | Specifies a language file to use other than US English. This option is valid only if you have a translated message file in an appropriately named subdirectory in (or on Windows systems). |
| -lm | Enables an ANSYS executable that supports unlimited memory size for the sparse solver. |
| workspace | Specifies the total size of the workspace (memory) in megabytes. If you omit the option, the default is 512 MB. |
| -mpi | Specifies the type of MPI to use. Only valid with the -pp option. See Chapter 15: "Improving ANSYS Performance and Parallel Performance for ANSYS" in the ANSYS Advanced Analysis Techniques Guide for more information. |
| value | Defines ANSYS parameters at program start-up. The parameter name must be at least two characters long. For details about parameters, see the ANSYS APDL Programmer's Guide. |
| -np | Specifies the number of processors to use when running Distributed ANSYS. See the Distributed ANSYS Guide for more information. |
| outputname | Specifies the name of the file to store the output from a batch execution of ANSYS. On UNIX, the preferred method to indicate an output file is >. |
| productname | Defines which ANSYS product will run during the session (ANSYS Multiphysics, ANSYS Structural, etc.). For more detailed information about the option, see Choosing an ANSYS Product. |
| -pp | Enables the Parallel Performance for ANSYS advanced task (add-on). A Parallel Performance for ANSYS license is required for Distributed ANSYS or to use the Algebraic Multigrid solver (AMG) in shared-memory ANSYS. The option is valid only if you have a license for Parallel Performance for ANSYS. See the Distributed ANSYS Guide for more information about using Parallel Performance for ANSYS. |
| or | Specifies whether the program reads the file at start-up. If you omit the option, ANSYS reads the file in interactive mode and not in batch mode. |
| -v | Returns the ANSYS release number, update number, copyright date, customer number, and license manager version number. |
转载于:https://www.cnblogs.com/lyq105/archive/2009/06/22/1508137.html
相关资源: ANSYS11.0安装说明
https://download.csdn.net/download/pangjiaqian/92134108?spm=1001.2101.3001.5697
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删