This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
howto:forte [2024/02/06 14:42] ccrosby created |
howto:forte [2024/02/09 09:28] (current) ccrosby |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Ansys Forte on the CHPC ===== | + | ===== Ansys Forte at the CHPC ===== |
| + | Ansys Forte fluid-dynamics software specializes in the simulation of combustion processes in an internal | ||
| + | combustion engine, using a highly efficient coupling of detailed chemical kinetics, liquid fuel spray and | ||
| + | turbulent gas dynamics. An Ansys Forte simulation solves the full Reynolds-averaged Navier-Stokes | ||
| + | (RANS) equations with well established flow turbulence models. | ||
| + | === Software installation === | ||
| + | Ansys software is installed in the directory ''/ | ||
| + | |||
| + | |||
| + | |||
| + | === Example PBS job script === | ||
| + | |||
| + | <file bash runForte.pbs> | ||
| + | #!/bin/bash | ||
| + | # # followed by PBS is a PBS directive | ||
| + | # In this case we are asking for 2 full 24-core nodes, test performance and adjust to suit | ||
| + | #PBS -l select=2: | ||
| + | # The job will timeout after 3 hours, adjust to suit | ||
| + | #PBS -l walltime=3: | ||
| + | # Select queue | ||
| + | # -q serial | ||
| + | # -q smp for 1 full 24-core node | ||
| + | # -q normal | ||
| + | # -q large for 11 to 100 nodes | ||
| + | # -q express for paying commercial users, up to 100 nodes | ||
| + | #PBS -q normal | ||
| + | # Use YOUR project shortcode, NOT MECH1234! | ||
| + | #PBS -P MECH1234 | ||
| + | # Set these paths to your lustre space, working directory, and out and error streams | ||
| + | #PBS -e / | ||
| + | #PBS -o / | ||
| + | # Set the license environment variable - this is for academic use and available on request only | ||
| + | export LM_LICENSE_FILE=1055@login1 | ||
| + | # Change to your working directory | ||
| + | cd / | ||
| + | # Set up the forte environment | ||
| + | . / | ||
| + | # Load up the locally installed Intel module. | ||
| + | module load chpc/ | ||
| + | # Count the total number of lines in the hosts file to get the number of MPI ranks | ||
| + | nproc=`cat $PBS_NODEFILE | wc -l` | ||
| + | # Pre-process the job. Use your own filename, obviously! | ||
| + | forte.sh CLI -project blogsTest.ftsim | ||
| + | # Launch the job and wait for it to complete. | ||
| + | forte.sh CLI -project blogsTest.ftsim | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Pre-processing and Post-processing === | ||
| + | The HPC cluster is not particularly well-suited to pre- and post-processing tasks, but it is possible to get access to the Forte GUI on the system. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||