Registration Guide Register for HPC Access to HPCNew User Guide How to Run Batch Jobs
Portal User Guide
About the Service Subscribe to Pay-Per-Use Service Subscribe to Condominium Service Terms and ConditionsUser Guide
High Performance Workspace Service Utility Storage ServiceResearch Data Management ServiceCentre for Computational Science & Engineering
| Need help? | ||
![]() |
||
OpenFOAM (Open Field Operation and Manipulation) CFD Toolbox is a free, open source CFD software package produced by OpenCFD Ltd. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics. It includes tools for meshing, notably snappyHexMesh, a parallelised mesher for complex CAD geometries, and for pre- and post-processing. Almost everything (including meshing, and pre- and post-processing) runs in parallel as standard, enabling users to take full advantage of computer hardware at their disposal.
OpenFOAM offers users complete freedom to customise and extend its existing functionality, either by themselves or through support from OpenCFD. It follows a highly modular code design in which collections of functionality (e.g. numerical methods, meshing, physical models, …) are each compiled into their own shared library. Executable applications are then created that are simply linked to the library functionality. OpenFOAM includes over 80 solver applications that simulate specific problems in engineering mechanics and over 170 utility applications that perform pre- and post-processing tasks, e.g. meshing, data visualisation, etc.
The solver capabilities include:
- Incompressible flows
- Multiphase flows
- Combustion
- Buoyancy-driven flows
- Conjugate heat transfer
- Compressible flows
- Particle methods (DEM, DSMC, MD)
- Other (Solid dynamics, electromagnetics)
The Library Functionalities include:
- Turbulence models
- Transport/rheology models
- Thermophysical models
- Lagrangian particle tracking
- Reaction kinetics / chemistry
The webpage of OpenFOAM is at http://www.openfoam.com/. OpenFOAM documentation is provided online with various tutorials.
OpenFOAM is compiled and installed on HPC clusters. To run OpenFOAM solver commands, please run the initialization command "openfoam_init" after logging into HPC cluster first.
# openfoam_init
After this, log out and log in again and you can start run various OpenFOAM solvers and commands. For example, blockMesh, icoFoam, simpleFoam, paraview, etc.
To run OpenFOAM solver in batch mode to execute your computational intensive analysis, you can submit the simulation to LSF batch queue “atlas5_large" or "atlas6_large". For the parallel solvers, you can submit the jobs to run at the parallel queues "atlas5_parallel" or "atlas6_parallel. Below is a sample job submission command for running icoFoam for cavity flow.
# bsub –q atlas5_large –o stdout.o "icoFoam -case ./cavity"
For more details about batch job submission, monitor and termination, please check How to Run Batch Jobs.
![]()
Last Modified on 16th September 2013. Copyright - All Rights Reserved.
