ArticleslgStudy

computer science

Code Saturne

Code Saturne is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Code Saturne rather than just read about it. In short: code_saturne is a free and open-source computational fluid dynamics (CFD) solver developed by the research and development division of Électricité de France (EDF). Released under the GNU General Public License since 2007, it is based on a co-located finite volume method and can simulate incompressible, low-Mach number dilatable flows or compressible flow, with or without turbulence and heat transfer.

Code Saturne — main illustration
Code Saturne — illustration

Key takeaways

  • Code Saturne belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Code Saturne to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Code Saturne from memory before moving on to harder problems.

Reference excerpt

code_saturne is a free and open-source computational fluid dynamics (CFD) solver developed by the research and development division of Électricité de France (EDF). Released under the GNU General Public License since 2007, it is based on a co-located finite volume method and can simulate incompressible, low-Mach number dilatable flows or compressible flow, with or without turbulence and heat transfer. The software is integrated into the SALOME platform through the salome_cfd distribution and can be coupled with the solid thermal code SYRTHES and the structural mechanics code code_aster, both also developed by EDF under free software licences. Its two-phase extension, Neptune_CFD, co-developed by EDF and the CEA, handles two-phase flows such as water-steam and water-air mixtures.

History Development of code_saturne began in 1997 within EDF's R&D division as an internal tool for nuclear safety studies and thermohydraulics of nuclear power plants. In March 2007, EDF released the code under the GNU General Public License, adopting an open development model. This release encouraged adoption by industrial and academic partners in France and internationally. The software has since been selected as a benchmark application within the European PRACE (Partnership for Advanced Computing in Europe) project for evaluating supercomputer performance.

Features

Numerical method code_saturne is primarily based on a co-located finite volume discretisation of the Navier–Stokes equations. It supports unstructured meshes with tetrahedral, hexahedral, prismatic, pyramidal or general polyhedral cells, including hybrid and non-conforming meshes. Several spatial and temporal discretisation schemes, gradient reconstruction methods, pressure–velocity solution strategies and iterative linear solvers are available. Alternative spatial discretisations based on Compatible Discrete Operator (CDO) schemes are also implemented for some equations and physical models. Flow simulations may be steady or unsteady, laminar or turbulent, incompressible or compressible, and may include heat and scalar transport.

Turbulence models code_saturne provides turbulence models covering Reynolds-averaged, scale-resolving and hybrid approaches. These include:

RANS models, including variants of the k–ε family, k–ω SST, Spalart–Allmaras, v²–f models and Reynolds-stress models Large-eddy simulation (LES) models, including Smagorinsky, dynamic Smagorinsky and WALE formulations Hybrid RANS–LES methods, including DES, DDES, SAS and hybrid temporal LES. Wall treatments include both wall-function approaches and models integrated to the wall.

Specific physical modules In addition to its general-purpose flow solver, code_saturne includes dedicated models for several classes of physical phenomena:

Combustion: gaseous combustion, including premixed and non-premixed flames, and pulverised-coal combustion Thermal radiation: radiative transfer in participating and semi-transparent media Compressible flows: compressible-flow models for subsonic and supersonic regimes, including flows involving shock waves Multiphase flows: volume-of-fluid (VOF) modelling of free surfaces and fluid interfaces, with support for surface tension and cavitation Atmospheric flows: atmospheric boundary layer modelling, dry and humid atmospheres, thermal stratification, meteorological forcing and pollutant dispersion Lagrangian particle tracking: transport of dispersed particles and droplets, including turbulent dispersion, deposition, thermal exchange, evaporation and coupling with the carrier phase Turbomachinery and rotating flows: rotating reference frames, frozen-rotor models, fan models and transient sliding-mesh simulations Electrical phenomena: electric-potential calculations, Joule heating, electric arcs and electromagnetic forces Magnetohydrodynamics: coupled modelling of electrically conducting fluids and electromagnetic fields.

Parallelisation and coupling The code is parallelised using the Message Passing Interface (MPI) library, enabling it to run on high-performance computing (HPC) architectures. It can be coupled with the solid thermal code SYRTHES and the structural mechanics code code_aster, notably through the SALOME platform.

Interoperability code_saturne is designed to interoperate with external meshing and post-processing software and supports several standard mesh and data formats. The software also provides mesh preprocessing capabilities and an internal Cartesian mesh generator, although it does not provide a general-purpose mesh-generation environment. Supported mesh import formats include:

Post-processing output formats:

MED CGNS EnSight Gold

Applications and users code_saturne is used in both industrial and academic settings in France and internationally. Approximately 500 engineers and researchers use it within EDF.

Energy and nuclear safety Originally designed for nuclear power plant safety studies, the software is used to analyse flows in primary circuits, cooling systems, coupled fluid-structure heat transfer, and steam generators. It is also employed for modelling wind farms, including turbine wake interactions and layout optimisation.

Environment and atmosphere The software is used for modelling atmospheric flows, pollutant dispersion, air quality assessment, and wind-structure interactions.

Hydrodynamics and industry code_saturne has been used by industrial partners for hydrodynamics applications, notably in the field of naval architecture.

Research and education The software is used in universities and research organisations for developing and validating numerical models, as well as for teaching computational fluid dynamics.

Development and community Development is led by the R&D division of EDF. The source code is hosted on GitHub. Releases follow regular cycles. A community of users, including engineers and researchers from industry and academia, contributes to the project through the development of physical models, associated tools, and validation cases. An official forum and technical documentation (user guides, reference manuals, tutorial cases) are available on the project website. A collection of code_saturne tutorials is also available online "code_saturne Tutorials".

Key publications The numerical foundations and validation of code_saturne are described in several peer-reviewed publications:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Code Saturne

Start with the simplest possible case. Write down what Code Saturne claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Code Saturne before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Code Saturne ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Code Saturne

In research
Code Saturne appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Code Saturne in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Code Saturne is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free science software, Free software programmed in C, Free software programmed in C++, so understanding it makes those chapters shorter.
In everyday life
Look for Code Saturne outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Code Saturne” →

How to study Code Saturne in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Code Saturne means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Code Saturne out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Code Saturne in simple terms?

code_saturne is a free and open-source computational fluid dynamics (CFD) solver developed by the research and development division of Électricité de France (EDF). Released under the GNU General Public License since 2007, it is based on a co-located finite volume method and can simulate incompressi…

Why does Code Saturne matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Code Saturne?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Code Saturne.

Tags

  • Free science software
  • Free software programmed in C
  • Free software programmed in C++
  • Free software programmed in Fortran
  • Simulation software
  • Électricité de France

Keep exploring