Code_Saturne

Code_Saturne is an open source CFD software.

Licensing and Access

Code_Saturne is Open Source software so access is available to all ARCHER users.

Running Code_Saturne

To run Code_Saturne you need to add the correct module:

module add code_saturne

Once the module has been added the main Code_Saturne executable is available as code_saturne.

An example Code_Saturne job submission script is shown below.

#!/bin/bash --login
#PBS -N saturne_job

# Select 128 nodes (maximum of 3072 cores)
#PBS -l select=128
#PBS -l walltime=03:00:00

# Make sure you change this to your budget code
#PBS -A budget

# Make sure any symbolic links are resolved to absolute path
export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR)

# Change to the directory that the job was submitted from
cd $PBS_O_WORKDIR

# Load the module
module add code-saturne

# Change the name of the input file to match your own job
code_saturne run --param case.xml

Notes

ARCHER Code_Saturne 3.0.3, has been configured with --disable-gui. There is seemingly no way to generate case.xml files without the UI, requiring users to install Code_Saturne on their workstations, generate the case and upload.

This has been addressed in 4.0.3 and up. The Code_Saturne GUI is enabled and can be used with X forwarding. Note that this is for case configuration only, job submission should still be performed via PBS script

Compiling