TUFLOW
Hydraulic modelling software for flood, urban drainage, estuarine and coastal assessments. TUFLOW Homepage
Solvers
The TUFLOW module provides two executables:
- TUFLOW Classic (
tuflow-idp,tuflow-isp): 1D/2D hydrodynamic solver using structured grids, controlled by a.tcffile.tuflow-idpfor double floating point precision,tuflow-ispfor single point. - TUFLOW FV (
tuflowfv): flexible-mesh (finite volume) 2D/3D solver, controlled by a.fvcfile.
Available Modules¶
module load TUFLOW/2026.0
Licences¶
TUFLOW requires a background licence daemon to be manually launched before the solver. If you are using a network cloud licence, you will have to register it first.
CodeMeterLin -v &
sleep 10 && cmu --import --file ~/my_licence_key.wbc
Example Scripts¶
TUFLOW Classic¶
Make sure your .tcf file includes;
Solution Scheme == HPC
Hardware == CPU
#!/bin/bash -e
#SBATCH --job-name TUFLOW
#SBATCH --account nesi99991
#SBATCH --time 01:00:00 # Walltime
#SBATCH --cpus-per-task 8
#SBATCH --mem 4G # Total Memory
module purge
module load TUFLOW/2026.0
CodeMeterLin -v &
sleep 10 && cmu --import --file ~/my_licence_key.wbc
tuflow-idp -nt $SLURM_CPUS_PER_TASK -b -nmb my_model.tcf
Make sure your .tcf control file includes;
Solution Scheme == HPC
Hardware == GPU
#!/bin/bash -e
#SBATCH --job-name TUFLOW
#SBATCH --account nesi99991
#SBATCH --time 01:00:00 # Walltime
#SBATCH --mem 4G # Total Memory
#SBATCH --gpus-per-node 1:a100
module purge
module load CUDA
module load TUFLOW/2026.0
CodeMeterLin -v &
sleep 10 && cmu --import --file ~/my_licence_key.wbc
tuflow-idp -b -nmb model.tcf
TUFLOW FV¶
Useful Links
Make sure your .fvc control file includes;
Solution Scheme == HPC
Hardware == CPU
#!/bin/bash -e
#SBATCH --job-name TUFLOW-FV
#SBATCH --account nesi99991
#SBATCH --time 01:00:00 # Walltime
#SBATCH --mem 4G # Total Memory
module purge
module load TUFLOW/2026.0
CodeMeterLin -v &
sleep 10 && cmu --import --file ~/my_licence_key.wbc
tuflowfv my_model.fvc
Make sure your .fvc control file includes;
Solution Scheme == HPC
Hardware == CPU
#!/bin/bash -e
#SBATCH --job-name TUFLOW-FV
#SBATCH --account nesi99991 # project code
#SBATCH --time 01:00:00 # Walltime
#SBATCH --ntasks 8
#SBATCH --mem-per-cpu 2G
module purge
module load TUFLOW/2026.0
CodeMeterLin -v &
sleep 10 && cmu --import --file ~/my_licence_key.wbc
srun tuflowfv my_model.fvc
Make sure your .fvc control file includes;
Solution Scheme == HPC
Hardware == GPU
#!/bin/bash -e
#SBATCH --job-name TUFLOW-FV
#SBATCH --account nesi99991
#SBATCH --time 01:00:00 # Walltime
#SBATCH --mem 4G # Total Memory
#SBATCH --gpus-per-node 1:a100
module purge
module load CUDA
module load TUFLOW/2026.0
CodeMeterLin -v &
sleep 10 && cmu --import --file ~/my_licence_key.wbc
tuflowfv my_model.fvc