This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:cfx [2014/05/08 15:08] agill |
howto:cfx [2025/02/21 12:45] (current) ccrosby [Running a CFX Job] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Application Process ===== | ===== Application Process ===== | ||
| - | If you are a **full time** student or staff at an **academic** institution then you may request access to use Ansys-CFD on the CHPC clusters. | + | If you are a **full time** student or staff at an **academic** institution then you may request access to use Ansys-CFD on the CHPC clusters. |
| ===== Installation ===== | ===== Installation ===== | ||
| - | CFX version 5 is installed in '''/ | + | CFX versions are installed in ''/ |
| Line 15: | Line 15: | ||
| ===== Licensing ===== | ===== Licensing ===== | ||
| - | CHPC has academic licenses for AnsysCFD. | + | CHPC has academic licenses for AnsysCFD. |
| ===== Running a CFX Job ===== | ===== Running a CFX Job ===== | ||
| - | On the CHPC clusters all simulations are submitted as jobs to the PBS Pro job scheduler which will assign your job to the appropriate queue and machine. Fluent runs on the three Intel Xeon based clusters: Nehalem, Westmere and Dell. | + | On the CHPC clusters all simulations are submitted as jobs to the PBS Pro job scheduler which will assign your job to the appropriate queue and machine. |
| Example job script: | Example job script: | ||
| - | <code> | + | <file bash runCFX.qsub> |
| #!/bin/bash | #!/bin/bash | ||
| - | #PBS -l select=2:ncpus=8:mpiprocs=8: | + | #PBS -P projectid |
| + | #PBS -l select=4:ncpus=24:mpiprocs=24 | ||
| #PBS -l walltime=2: | #PBS -l walltime=2: | ||
| - | #PBS -q workq | + | #PBS -q normal |
| - | #PBS -m be | + | |
| #PBS -V | #PBS -V | ||
| - | #PBS -o /export/home/ | + | #PBS -o /mnt/lustre/ |
| - | #PBS -e /export/home/ | + | #PBS -e /mnt/lustre/users/ |
| - | cd /export/ | + | export |
| - | export CFX5RSH=ssh | + | export ANSYSLMD_LICENSE_FILE=1055@login1 |
| - | cfx=/opt/gridware/applications/ANSYS/ansys_inc/v150/ | + | #change to CFX case directory |
| - | $cfx -batch -def testCFX.def -par-dist $(tr " | + | cd / |
| - | </code> | + | #force CFX to use ssh instead of rsh |
| + | export CFX5RSH=ssh | ||
| + | # Select IntelMPI-2018 instead of 2021 | ||
| + | export CFX5_IMPI_DIR=/ | ||
| + | cfx=/apps/chpc/compmech/CFD/ansys_inc/v242/ | ||
| + | $cfx -batch -def testCFX.def -par-dist $(tr " | ||
| + | </file> | ||
| ===== Different methods of uploading a simulation ===== | ===== Different methods of uploading a simulation ===== | ||
| Line 50: | Line 56: | ||
| If your simulations files are too large, or your internet connection too slow, consider transferring geometry and script files only. This will require careful scripting and testing, but is certainly practical. | If your simulations files are too large, or your internet connection too slow, consider transferring geometry and script files only. This will require careful scripting and testing, but is certainly practical. | ||
| * Neither ANSYS-Mesh nor Gambit is available on the CHPC system, but ICEMCFD is. | * Neither ANSYS-Mesh nor Gambit is available on the CHPC system, but ICEMCFD is. | ||
| - | * If using IcemCFD, transfer the Icem .prj, .tin, .fbc and .blk (if using hexa) files, along with a recorded Icem script file for generating the mesh and exporting the file in Fluent | + | * If using IcemCFD, transfer the Icem .prj, .tin, .fbc and .blk (if using hexa) files, along with a recorded Icem script file for generating the mesh and exporting the file in CFX format. |
| * If your internet connection is too slow to permit easy case uploading, it will also be far too slow for downloading the results files. | * If your internet connection is too slow to permit easy case uploading, it will also be far too slow for downloading the results files. | ||