Ada : OpenFoam

Description

OpenFoam is a free CFD software.

Installed version

  • OpenFoam 3.0.1, 5.0, 5.x

Utilisation

OpenFoam is accessible through the module command (we advise you to read ''module command'' for more information):

  module avail openfoam
  3.0.1, 5.0, 5.x (defaut)  

  module load openFoam

Launching script

The following example illustrates the launching of the OpenFoam MPI version:

OpenFoam_MPI.ll
# @ job_name = OpenFoam
# @ output   = $(job_name).$(jobid)
# @ error    = $(job_name).$(jobid)
# @ job_type = mpich
# @ total_tasks = 4
# @ environment = NB_TASKS=$(total_tasks)
# @ wall_clock_limit = 1:30:00 
# @ queue
 
# Loading of OpenFoam 5.x (by default)
module load openfoam
source $FOAM_BASHRC
 
# To have the display of the executed commands
set -x
 
# Execution
#mpirun -np $NB_TASKS pimpleFoam -fileHandler collated -parallel > openfoam.log
 mpirun -np $NB_TASKS pimpleFoam -parallel > openfoam.log

Do not hesitate to consult the pages with more detailed information about submission in queue on Ada for a sequential job or a job parallelized with MPI.

Documentation