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

  1. 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


  2. Launch the RSM Configuration application (only need to do the steps 2-4 once, recommend VcXsrv as Windows X Server).

    rsmclusterconfig


  3. Define RSM Configurations.

  4. Quit the RSM Configuration application.


  5. Launch the ANSYS Workbench.

    runwb2


  6. 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:


Submitting a Fluent Job from Workbench to Remote Solve Manager:


Submitting a Design Point Update from Workbench to Remote Solve Manager: 

Command Line Execution of ANSYS Workbench in Batch Mode (useful in case of disconnection to cluster):

  1. Save your project before Solve or Update.


  2. 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.



Related issues