Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Info

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 recommended to take at least an introductory course (see the CAD-FEM GmbH homepage). Good (free) starting points for self-study are https://students.cadfem.net/de/ansys-gratis-lernen.html and https://courses.ansys.com

Details of the HLRN Installation of ANSYS

...

Codeblock
languagebash
titleThis is an example for a parallel distributed memory job on 2 nodes with 40 tasks per node
#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=40
#SBATCH -L ansys
#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 initial_run.cas.h5
      parallel/partition/method/cartesian-axes 2
      solve/initialize/initialize-flow
      solve/iterate 100
      exit
      yes
EOFluentInput

echo '#################### Fluent finished ############'

#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --gpus-per-node=4
#SBATCH -L ansys
#SBATCH -p gpu
#SBATCH --output="slurm.log.%j"
echo "Running on nodes: ${SLURM_JOB_NODELIST}"

module load ansys/2020r2
cat <<EOF > fluent.jou
; this is a Ansys journal file aka text user interface (TUI) file
parallel/gpgpu/show

file/read-cas initial_run.cas.h5
solve/iterate 10
file/write-case-data outputfile
ok
exit
EOF

fluent 2d -g -t${SLURM_NTASKS} -gpgpu=${SLURM_GPUS_PER_NODE} -mpi=intel -i fluent.jou  >/dev/null 2>&1
 
echo '#################### Fluent finished ############'