Ansys¶
Description¶
Ansys is a software suite used for engineering simulation, including finite element analysis (FEA), computational fluid dynamics (CFD), and other simulations to predict how products will perform under various conditions.
Available Versions¶
The following versions of Ansys are currently available:
- Runtime dependencies:
- None, required libraries and dependencies are loaded automatically with the
ansys/2023R2module.
- None, required libraries and dependencies are loaded automatically with the
You can load the ansys module with the following command:
module load ansys/2023R2
Example run script¶
This example is for a CFX calculation. You can run other parts of the Ansys software suite in a similar fashion. If you have a file sample.def, you can run it with the following script. Save it as cfx_run.sh, then submit the job to a compute node with the command sbatch cfx_run.sh
#!/bin/bash
#SBATCH --partition=short
#SBATCH --job-name=cfx
#SBATCH --nodes=1
#SBATCH --output=output.txt
#SBATCH --error=error.txt
#SBATCH --ntasks-per-node=32
NODES=$(scontrol show hostnames)
NODES=$(echo "$NODES" | sed -e 's/ /,/g')
echo "$NODES"
module load ansys/2023R2
cfx5solve -batch -def sample.def -parallel -partition $SLURM_NTASKS -par-host-list $NODES -start-method "Intel MPI 2021 Distributed Parallel" -double
User guide¶
You can find the software documentation and user guide at ANSYS Help.
Local client¶
In case you need to use the GUI to prepare your input files, preprocess or postprocess data, you can run Ansys software on your local computer and connect to our licensing server. Installation files for OS Windows are located in /storage-apps/ansys/windows. To access the licensing server, first connect to our VPN. Then, in the application, set the licensing server parameters to:
| parameter | value |
|---|---|
| url | ansys.devana.lan |
| port | 1055 |