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.
Versions¶
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 by following command:
module load ansys/2023R2
Example run script¶
This example is for cfx calculation. You can run other parts of Ansys software suite in similar fashion. If you have a file sample.def you can run it with following script. Save it as cfx_run.sh, then submit job to a compute node by command sbatch cfx_run.sh
#!/bin/bash
#SBATCH --partition=short
#SBATCH --job-name=matlab
#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
Local client¶
In case you need to use GUI, prepare your input files, preprocess or postprocess data, you can run Ansys software on your local computer and connect to our licensing server. 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 |