Information about software packages installed on the ICHEC systems.
Stokes: 12.1 / 14.0
Stoney: 12.1 / 14.0
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.
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.
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):
#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
#Create a list of available nodes for the CFX executable:
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
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.
where M is the number of license tokens required for the job.
Further information can be obtained in the CFX documentation and at www.ansys.com.