Posts

Showing posts from January, 2018

Parallel run with Fluent on a HPC cluster

Fluent Fluent is used for computational fluid dynamics (CFD). Fluent Journal Script A Fluent journal script (e.g. " journalfile.jou ") might look like this: file/read-case-data aircraft.cas it 1000 wd "aircraft.dat" Submitting a Batch Fluent Job to Slurm With the correct journal file set up, the final step is to submit this to the Slurm queuing system. #!/bin/sh #SBATCH -n 1 # 1 core #SBATCH -t 1-03:00:00 # 1 day and 3 hours #SBATCH -p compute # parition name #SBATCH -J fluent_batch # sensible name for the job # load the relevant module files. NB: if unsure about # what you need, please contact ops source /etc/profile.d/modules.sh module load apps fluent # run slurm in batch on the allocated node(s) # the '-t4' specifies 4 cores (academic licensing) fluent 2d -g -t4 -i journalfile.jou > outputfile.out The fluent options in the above Slurm script are: 2d the fluent version used -g no graphical environment -i journ