The CSF2 has been replaced by the CSF3 - please use that system! This documentation may be out of date. Please read the CSF3 documentation instead. To display this old CSF2 page click here. |
Code Saturne
Overview
Code_Saturne is a Computational Fluid Dynamics code developed by EDF that can solve the flows in three dimensions using a co-llocated arrangement. It is completely unstructured and can handle cells of any number of faces.
Its basic capabilities enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence (mixing length, 2-equation models, v2f, Reynolds stress models, Large Eddy Simulations…).
Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal…), magneto-hydro dynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications.
Restrictions on use
Code_Saturne open source is provided under the Gnu General Public Licence.
EDF’s associated libraries BFT (“Base Functions and Types”) and FVM (“Finite Volume Mesh”) are provided under the Gnu Library General Public Licence (LGPL).
The aim is to allow anyone to use, share, change and redistribute the software, and to guarantee that others will have the freedom to do likewise.
Set up procedure
The code has been installed with two different optimisations depending on the hardware used. For the bulldozer nodes (using the orte-64bd-ib.pe or smp-64bd.pe environments) a version using the PGI compiler is available. For all other hardware the intel compiler has been used.
To add the path of Code_Saturne to your profile load the Code_Saturne module. Currently there are two modules available:
For the AMD architecture (use the orte-64bd-ib.pe orsmp-64bd.pe parallel environment)
module load apps/amd-4.5.2/Code_Saturne/4.0
For all others use
module load apps/intel-11.1/Code_Saturne/4.0
The above are the production version of the software.
Running the application
For information on how to run the application, please see:
There you can find the full documentation, tutorials and presentations about all the features.
In the CSF the runcase file has already been adapted to be used with the corresponding SGE settings. There is no need to add a queue since it is picked up from the parallel environment. You just need to add the number of processors. (See the comments on the runcase file).
To launch the job, just type:
qsub runcase
Serial
Code_Saturne can be run in serial without specifying the parallel environment.
Parallel
To use the code in parallel, all jobs have to be submitted via the SGE queuing manager using the command qsub
. For more info see the CSF SGE webpages.
Further info
For more info see:
- http://code-saturne.org/
- http://cfd.mace.manchester.ac.uk/twiki/bin/view/Forum/ForumIntro
Updates
Updated to v4.0 January 2016 .