Logo of Science Foundation Ireland  Logo of the Higher Education Authority, Ireland7 CapacitiesGPGPU Research Projects
Ireland's High-Performance Computing Centre | ICHEC
Home | News | Infrastructure | Outreach | Services | Research | Support | Education & Training | Consultancy | About Us | Login

ICHEC Software

Information about software packages installed on the ICHEC systems.

ANSYS CFX

Versions Installed

Stokes: 12.1 / 14.0

Stoney: 12.1 / 14.0

Description

ANSYS CFX is supported in the ANSYS Workbench interface, with all the stages of a full CFD simulation existing within a single environment. The technology in CFX includes, coupled multigrid linear solver technology, meshing flexibility, parallel efficiency and pre and post-processing capabilities.

License

In order to use CFX a user must contact the Helpdesk and request that they be added to the CFX group.

For ANSYS products of version 12.0 and higher, new users have to specifically request the licensing system to use an academic license as opposed to a commercial license (the default). The most convenient way do this is to download the following license configuration file and copy it to ~/.ansys/v121/licensing/ (you will need to create this directory if it doesn't exist): license.preferences.xml

32 licenses are currently available for ANSYS products.

Benchmarks

N/A.

Job Submission Example

Like other jobs on ICHEC systems, CFX jobs must be submitted using a PBS script. The following is an example PBS script for running a CFX job on 24 cores of the Stokes system with a maximum walltime of 25 hours (the CFX definition file is called test.def):

#!/bin/bash
#PBS -l nodes=2:ppn=12
#
#For Stoney, you must use ppn=8
#e.g. for a 16-core job:
##PBS -l nodes=2:ppn=8
#
#PBS -l walltime=25:00:00
#PBS -N MyCFXJobName
#PBS -A MyProjectName

#Load the ansys module - CFX is then accessible
module load ansys

cd $PBS_O_WORKDIR

#Create a list of available nodes for the CFX executable:
nodes=`cat $PBS_NODEFILE`
nodes=`echo $nodes | sed -e 's/ /,/g'`

#Partition + Solve:
cfx5solve -def test.def -par-dist $nodes -start-method 'HP MPI Distributed Parallel'

This job can be submitted using the command

qsub scriptname.pbs

Where scriptname.pbs is the filename of the sample PBS script

Checking License Availability in PBS

On Stokes and Stoney users can specify the number of tokens required per job so that jobs will only be started if there are enough tokens available. This can be done by including the following lines in the PBS script.

#PBS -W x=GRES:aa_r_hpc+M

where M is the number of license tokens required for the job.

Additional Notes

Further information can be obtained in the CFX documentation and at www.ansys.com.

Return to the software index