meta data for this page
- Česky (cs)
- English (en)
This is an old revision of the document!
ANSYS
Current versions of ANSYS are installed to directories under the path
/home/SOFT/ansys_inc/
Note that connection have to be opened with the X11 forwarding if you want to launch the graphical interface (Linux: ssh -Y
; Windows: active X server and Enable X11 forwarding in PuTTy). The graphical interface is slower than working on local machine due to network transfers.
Submitting the job to Slurm scheduler is described under this link.
Beside their standard location, Ansys-workbench and Ansys-Fluent may be called by their own commands, see the table below. For other Ansys tools you need to write out the full path.
Version | Directory | command | |
---|---|---|---|
Workbench | Fluent | ||
2024 R1 | v241 | wb241 | fluent241 |
Running the program
Interactive mode
The commands to start each environment are listed in the table above.
ANSYS offers two environments to work in:
- MAPDL – the original working environment, started with the command
launchxxx
- Workbench – new environment, launched with the command
wbxxx
Fluent is launched with the command
fluentxxx
Working in interactive mode directly on the servers is not very comfortable. Servers are primarily for computing and have little graphics power. It is preferable to prepare the task interactively on the PC and then run the calculation on the servers. The results can then be viewed again on the PC.
Batch execution
Documentation for batch mode is located in the program help in
ANSYS Documentation -> Mechanical APDL -> Operation Guide -> 3. Running the Mechanical APDL Program -> 3.4 Batch Mode
The calculation is started with the command
ansysxxx -b -p productvar < inputname > outputname 2>&1
If we want to run the calculation in the background, then with the command
nohup ansysxxx -b -n nnn -p productvar < inputname > outputname 2>&1 &
where xxx
corresponds to the version (172, 190, 193, 201), nnn
is the number of cores used (max 16) and productvar
specifies the license used. The values are given in the following table. If the license is not directly specified, Academic Teaching is used.
productvar | license |
---|---|
aa_t_a | Academic Teaching |
aa_r | Academic Research |
If the ansysxxx
command doesn't work (no link is created in /usr/local/bin)
, you need to write out the full path
/ansys_inc/vxxx/ansys/bin/ansysxxx -b -p productvar < inputname > outputname 2>&1