Updated 2020-04-07

Run Ansys Interactively on Cluster

Overview

  • Ansys has many different options for running interactively:
    • Ansys Workbench
    • polyflow
    • cfx
    • and more
  • This guide will focus on Ansys Workbench, but will also detail how to launch some of the other products.

Screenshot

Set up Interactive (VNC) Session

  • Please see the VNC guide for instructions on how to set up the Interactive VNC session

Load Ansys

  • Open terminal in the vnc window by clicking top left Applications > System Tools > scroll down to terminal
  • all commands here on will be typed in terminal in VNC
  • To see available versions of Ansys run
module avail ansys # lists availble ansys versions
module load ansys/17.0 # loads ansys 17.0

Screenshot

Launch Ansys Products

  • To launch any Ansys product, you must have ansys loaded
  • Anytime you see the number 170 in a command, replace it with the number of whatever version you have loaded (170 corresponds to 17.0)
  • Ansys Workbench

    • runwb2: launches Ansys Workbench
    • Can use -B to run in batch mode , useful for non-interactive job
  • Mechanical APDL Solver

    • ansys170: launches Ansys Solver in the terminal
  • Mechanical APDL Launcher

    • launcher170: loads the Mechanical Apdl Launcher. The launcher allows you to set parameters and run the script using a GUI. Parameters set include number of processors, which you must set to the number you requested in the qsubturbovncserver line when you submitted the interactive job.
  • Ansys Research and CFD Utility Menu

    • launcher170 -runae: launches Research and CFD Utility menu
  • LS-DYNA Solver

    • launcher170 -rundyna will launch the LS-DYNA solver in terminal
  • Launch additional Ansys Products

    • cfdpost: launches cfdpost gui
    • cfx5: launches cfx5 gui
    • fluent: Launches fluent. Fluent guide here
    • autodyn170: must provide an input file. More likely to be used in batch mode