CFX
Description
ANSYS CFX is a high-performance computational fluid dynamics (CFD) software tool that delivers reliable and accurate solutions quickly and robustly across a wide range of CFD and multi-physics applications. - Homepage: http://www.ansys.com/Products/Fluids/ANSYS-CFX
Help
-
Getting started materials: http://www.ansys.com/academic/free-student-products/support-resources - For example:
- Cornell University MOOC for CFD and Mechanical
- ANSYS Maxwell Tutorials - Allison Kipple, Northern Arizona University
-
Student Forum. Register here and discuss simulation with students worldwide
- Access to advanced material and video - see instructions here
Access
ANSYS is open to all HPRC users when used within the terms of our ANSYS license agreement.
IMPORTANT NOTE REGARDING THE ANSYS LICENSE: (July 12, 2017)
Use of ANSYS is only permitted for users that are affiliated with Texas A&M at
College Station. Users meeting this criteria are permitted to use ANSYS on HPRC
systems from anywhere in the United States (including Alaska and Hawaii). Use
of this software outside the designated area represents a breach of the license
and any users caught doing so may be subject to account suspension and/or other action.
If you have particular concerns about whether specific usage falls within the TAMU HPRC license, please send an email to the HPRC Helpdesk. Usage of ANSYS is restricted by the number of available tokens. To see the number of available tokens, use the License Checker Tool.
Loading the module
To see all versions of ANSYS available on our systems:
[NetID@cluster ~]$ module spider ANSYS
To load a particular version of ANSYS (Example: 2023R2):
[NetID@cluster ~]$ module load ANSYS/2023R2
Known Issues
There is a known issue when using the Ansys GUI for any version of Ansys. The Geometry Editor in the Ansys Workbench will not run properly without also loading an NVIDIA module.
To bypass this bug, load the OpenGL/NVIDIA module before running the Ansys Workbench:
[ NetID@cluster ~]$ module load OpenGL/NVIDIA
Usage on the Login Nodes
Please limit interactive processing to short, non-intensive usage. Use non-interactive batch jobs for resource-intensive and/or multiple-core processing. Users are requested to be responsible and courteous to other users when using software on the login nodes. The most important processing limits here are:
- ONE HOUR of PROCESSING TIME per login session.
- EIGHT CORES per login session on the same node or (cumulatively) across all login nodes.
Anyone found violating the processing limits will have their processes killed without warning. Repeated violation of these limits will result in account suspension.
Note : Your login session will disconnect after one hour of inactivity.
Usage on the Computer Nodes
Non-interactive batch jobs on the compute nodes allows for resource-demanding processing. Non-interactive jobs have higher limits on the number of cores, amount of memory, and runtime length.
For instructions on how to create and submit a batch job, please see the appropriate wiki page for each respective cluster:
- Grace: Batch Processing
- FASTER: Batch Processing
Examples
Example 1: A serial (single core) CFX Job example: (Last updated October, 2024)
#!/bin/bash
##NECESSARY JOB SPECIFICATIONS
#SBATCH --job-name=CFXJob # Sets the job name to CFXJob
#SBATCH --time=5:00:00 # Sets the runtime limit to 5 hr
#SBATCH --ntasks=1 # Requests 1 core
#SBATCH --ntasks-per-node=1 # Requests 1 core per node (1 node)
#SBATCH --mem=5G # Requests 5GB of memory per node
#SBATCH --output=stdout1.o%J # Sends stdout and stderr to stdout1.o[jobID]
## Load the necessary modules
module purge
module load ANSYS/2023R2
## Launch the CFX Solver with proper parameters
cfx5solve -batch -def FileName.def
Example 2: A parallel (multiple cores) CFX Job example: (Last updated October, 2024)
#!/bin/bash
##NECESSARY JOB SPECIFICATIONS
#SBATCH --job-name=CFXJob # Sets the job name to CFXJob
#SBATCH --time=5:00:00 # Sets the runtime limit to 5 hr
#SBATCH --ntasks=10 # Requests 10 cores
#SBATCH --ntasks-per-node=10 # Requests 10 cores per node (1 node)
#SBATCH --mem=50G # Requests 50GB of memory per node
#SBATCH --output=stdout1.o%J # Sends stdout and stderr to stdout1.o[jobID]
## Load the necessary modules
module purge
module load ANSYS/2023R2
## Launch the CFX Solver with proper parameters
cfx5solve -batch -def FileName.def -start-method "Intel MPI Local Parallel" -part 10
Example 3: A parallel (multiple cores, multiple nodes) CFX Job example: (Last updated October, 2024)
#!/bin/bash
##NECESSARY JOB SPECIFICATIONS
#SBATCH --job-name=CFXJob # Sets the job name to CFXJob
#SBATCH --time=5:00:00 # Sets the runtime limit to 5 hr
#SBATCH --ntasks=20 # Requests 20 cores
#SBATCH --ntasks-per-node=10 # Requests 10 cores per node (1 node)
#SBATCH --mem=50G # Requests 50GB of memory per node
#SBATCH --output=stdout1.o%J # Sends stdout and stderr to stdout1.o[jobID]
## Load the necessary modules
module purge
module load ANSYS/2023R2
## reading this script will set the $CFX_DIST_LIST variable to the compute nodes and the number of cores to use for each node
source /sw/local/bin/cfx_dist_list.sh
## Launch the CFX Solver with proper parameters
cfx5solve -batch -def FileName.def -start-method "Intel MPI Distributed Parallel" -par-dist $CFX_DIST_LIST
To submit the batch job, run: (where jobscript is a file that looks like one of the above examples)
[ NetID@cluster ~]$ sbatch jobscript