New users of ANSYS should get access to the license first by going to this page: https://ansys.epfl.ch/ and following the instructions. |
Step-by-step guide
Login to the cluster (say Fidis) and load the ANSYS module.
module purge
module load ansys
export LD_LIBRARY_PATH=/ssoft/spack/external/ansys/2020R2/v202/Framework/bin/Linux64/Mesa |
Launch the RSM Configuration application (only need to do the steps 2-4 once, recommend VcXsrv as Windows X Server).
Define RSM Configurations.
- Click + to create a new RSM configuration for the cluster and give the configuration a name (e.g., the name of the cluster)
- Specify information on HPC Resource, File management, and Queues as shown below
- In the field HPC type, select SLURM from the drop-down menu (directly integrated for ANSYS 2020 R2 and later)
- In the field labeled SLURM job submission arguments (optional), enter: -t 1:00:00
Note:
Submit host depends on the machine you use. The values for maximum time will need to be changed once you begin submitting actual jobs.



Note:
SLURM Queue name serial is at the moment of writing this document only available on Fidis. To test the new configuration, click on Submit.
- Quit the RSM Configuration application.
Launch the ANSYS Workbench.
- Open your workbench project file (.wbpj) copied to your scratch directory (recommend to create the project file at your local machine where the same version of ANSYS is installed).
Submitting a Mechanical Job from Workbench to Remote Solve Manager:
- Right-click Solution and select .
Submitting a Fluent Job from Workbench to Remote Solve Manager:
-
-
- Right-click the Solution cell and select Update or select Update Project on the toolbar.
Submitting a Design Point Update from Workbench to Remote Solve Manager:
- Proceed with updating the project or design points. For example, select Update Project or Update All Design Points on the toolbar.
Command Line Execution of ANSYS Workbench in Batch Mode (useful in case of disconnection to cluster):
Save your project before Solve or Update.
Run the command as follows:
runwb2 -B -F WorkbenchProjectFile -R WorkbenchScriptFile & |
It will execute the specified script, and shut down at the completion of script execution. Here is a sample script named as test.wbjn (note: can be generated by record journal in workbench):
# encoding: utf-8
# 2020 R2
SetScriptVersion(Version="20.2.221")
system1 = GetSystem(Name="FFF")
solutionComponent1 = system1.GetComponent(Name="Solution")
solutionComponent1.Update(Force=True)
Save(Overwrite=True)
exit
Note: With Force=True, the simulation continues from previous simulation. For a design point project, replace lines 4-6 by UpdateAllDesignPoints()
Related articles
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
