A Package for Computational Fluid Dynamics Simulations
General Information
The ANSYS software package is developed and distributed by ANSYS, Inc..
This documentation describes the specifics of installation and usage of ANSYS at HLRN. Introductory courses for ANSYS as well as courses for special topics are offered by ANSYS Inc. and their regional offices, e.g. in Germany. It is strongly recommended to take at least an introductory course (see the CAD-FEM GmbH homepage).
Details of the HLRN Installation of ANSYS
The ANSYS versions currently installed in Göttingen are
Version | Module File | Remarks |
---|---|---|
ANSYS 2019 R2 | ansys/2019r2 | default |
ANSYS 19.2 | ansys/19.2 | |
ANSYS 19.0 | ansys/19.0 |
The module name is ansys
. Other versions of ANSYS may be installed. Inspect the output of module avail ansys
.
Example Jobscripts
Licences
Important: Add such a line to your job script #SBATCH -L ansys:<number>
where <number>
matches nodes * tasks-per-node
. This allows for the batch system to start the job only, when the appropriate number of licenses is available.
#!/bin/bash #SBATCH -t 00:10:00 #SBATCH --nodes=2 #SBATCH --ntasks-per-node=40 #SBATCH -L ansys:80 ### Important: match number to (nodes)*(tasks-per-node) #SBATCH -p medium #SBATCH --mail-type=ALL #SBATCH --output="cavity.log.%j" #SBATCH --job-name=cavity module load ansys/2019r2 srun hostname -s > hostfile echo "Running on nodes: ${SLURM_JOB_NODELIST}" fluent 2d -g -t${SLURM_NTASKS} -ssh -mpi=intel -cnf=hostfile << EOFluentInput >cavity.out.$SLURM_JOB_ID file/read-case cavity.cas parallel/partition/method/cartesian-axes 2 solve/initialize/initialize-flow solve/iterate 100 exit yes EOFluentInput echo '#################### Fluent finished ############'