ANSYS🔗

The ANSYS module contain a number of software, e.g.

  • ansys
  • aisol
  • fluent
  • CFX
  • ICEM
  • RSM
  • tgrid
  • Icepak
  • polyflow
  • Turbogrid
  • autodyn

To use any of the software, load the ansys module; you can find the available version with

module spider ansys

ANSYS workbench🔗

ANSYS workbench is available in the menu in the remote desktop. If for some reason you need to start it manually, make sure to use vglrun, as without this, there may be rendering problems:

vglrun runwb2

Running jobs🔗

Running Mechanical over MPI on many nodes (example):

#!/usr/bin/env bash
#SBATCH -A PROJECT_NAME
#SBATCH -p vera
#SBATCH -n 128
#SBATCH -t 48:00:00

module load ANSYS/18.1
cp proj.dat $TMPDIR
cd $TMPDIR
sed 's/ cpu=/:/' lamnodes > machines && sed -i ':a;N;$!ba;s/\n/:/g' machines
export MACHINES=$(cat machines)
ansys181 -dis -mpi intelmpi -b -machines $MACHINES < proj.dat
cp $TMPDIR/* $SLURM_SUBMIT_DIR

Suitable arguments for multi-node parallel Fluent:

-pinfiniband -ssh -cnf=$TMPDIR/mpichnodes -g

For multi-node parallel CFX, add the following line to your job script:

nodes="`sed -e :a -e N -e 's/\n/,/' -e ta $TMPDIR/mpichnodes`"

and the following to your cfx-commandline:

-par -par-dist $nodes -start-method "HP MPI Distributed Parallel"