# code\_saturne usage

**URL:** https://code-saturne.org/forum/c/code-saturne-usage/6.md

[Latest](https://code-saturne.org/forum/latest.md) · [Categories](https://code-saturne.org/forum/categories.md) · [Tags](https://code-saturne.org/forum/tags.md)

---

## [About the code\_saturne usage category](https://code-saturne.org/forum/t/about-the-code-saturne-usage-category/8)

<div class="topic-metadata">

**Author:** [@system](https://code-saturne.org/forum/u/system)\
**Replies:** 0\
**Last updated:** [September 27, 2009, 9:01pm UTC](https://code-saturne.org/forum/t/about-the-code-saturne-usage-category/8 "2009-09-27T21:01:22Z")

</div>

Questions and remarks about code\_saturne usage

---

## [Code\_Saturne usage forum guidelines](https://code-saturne.org/forum/t/code-saturne-usage-forum-guidelines/13)

<div class="topic-metadata">

**Author:** [@Jacques\_Fontaine](https://code-saturne.org/forum/u/Jacques_Fontaine)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 11:13am UTC](https://code-saturne.org/forum/t/code-saturne-usage-forum-guidelines/13 "2012-02-21T11:13:01Z")

</div>

Dear code\_saturne users, Welcome to the code\_saturne usage forum! This section is dedicated to the general usage (how to, suggestions, encountered problems, …) of code\_saturne. Note that the documentation is available…

---

## [Gradient limiter v9](https://code-saturne.org/forum/t/gradient-limiter-v9/3082)

<div class="topic-metadata">

**Author:** [@daniele](https://code-saturne.org/forum/u/daniele)\
**Replies:** 4\
**Last updated:** [November 18, 2026, 2:41pm UTC](https://code-saturne.org/forum/t/gradient-limiter-v9/3082 "2026-11-18T14:41:04Z")

</div>

Hello, I have noticed that gradient limiters can be set by the user in the GUI in v9. However, I am a bit confused on what the “limiter factor” represents exactly. The keyword “cmligr” does not seem to exist in v9 docu…

---

## [Water wheels](https://code-saturne.org/forum/t/water-wheels/2488)

<div class="topic-metadata">

**Author:** [@SIMON\_DELANGE](https://code-saturne.org/forum/u/SIMON_DELANGE)\
**Replies:** 5\
**Last updated:** [November 11, 2026, 8:14pm UTC](https://code-saturne.org/forum/t/water-wheels/2488 "2026-11-11T20:14:09Z")

</div>

Hello, I am learning to use “Code Saturne” and I’d like to study/optimize water wheels, do you have any advises to make it work please? Many thanks :wink:

---

## [LES stability issue on a polyhedral mesh](https://code-saturne.org/forum/t/les-stability-issue-on-a-polyhedral-mesh/3083)

<div class="topic-metadata">

**Author:** [@cast\_nic](https://code-saturne.org/forum/u/cast_nic)\
**Replies:** 3\
**Last updated:** [October 30, 2026, 10:25am UTC](https://code-saturne.org/forum/t/les-stability-issue-on-a-polyhedral-mesh/3083 "2026-10-30T10:25:40Z")

</div>

Title: LES stability issue on a polyhedral mesh Hello, I am running a wall-resolved LES of a 1x1 rod-bundle subchannel with a spacer grid in code\_saturne 9.0.0. On one mesh the computation hits a runaway after about 24…

---

## [MPI\_ERR\_TRUNCATE during halo construction after periodic joining (v9.0.0)](https://code-saturne.org/forum/t/mpi-err-truncate-during-halo-construction-after-periodic-joining-v9-0-0/3079)

<div class="topic-metadata">

**Author:** [@cast\_nic](https://code-saturne.org/forum/u/cast_nic)\
**Replies:** 2\
**Last updated:** [September 8, 2026, 7:06am UTC](https://code-saturne.org/forum/t/mpi-err-truncate-during-halo-construction-after-periodic-joining-v9-0-0/3079 "2026-09-08T07:06:50Z")

</div>

Hello, I am running a periodic channel case with code\_saturne 9.0.0 and the preprocessing stage aborts with an MPI error immediately after the joining operation. Attachments are restricted to images on this forum, so I …

---

## [Code Saturne & Code Aster](https://code-saturne.org/forum/t/code-saturne-code-aster/3066)

<div class="topic-metadata">

**Author:** [@dimitri014](https://code-saturne.org/forum/u/dimitri014)\
**Replies:** 1\
**Last updated:** [July 21, 2026, 7:06pm UTC](https://code-saturne.org/forum/t/code-saturne-code-aster/3066 "2026-07-21T19:06:07Z")

</div>

Hi, I have just completed an explicit FSI coupling framework between Code\_Saturne and Code\_Aster. It runs in a SLURM environment and is available at: The implementation is already quite functional. However, as with a…

---

## [Questions about convection schemes](https://code-saturne.org/forum/t/questions-about-convection-schemes/2498)

<div class="topic-metadata">

**Author:** [@PFERRO](https://code-saturne.org/forum/u/PFERRO)\
**Replies:** 2\
**Last updated:** [June 22, 2026, 10:04pm UTC](https://code-saturne.org/forum/t/questions-about-convection-schemes/2498 "2026-06-22T22:04:07Z")

</div>

Dear Yvan, What is the difference between the SOLU centered gradient and SOLU upwind gradient ? To my knowledge (from how it’s done under OpenFOAM) : we add to the implicit upwind scheme an explicit correction to the…

---

## [A small printing bug in setup.log for the VOF interface compression parameters](https://code-saturne.org/forum/t/a-small-printing-bug-in-setup-log-for-the-vof-interface-compression-parameters/2495)

<div class="topic-metadata">

**Author:** [@WenhaoZHANG](https://code-saturne.org/forum/u/WenhaoZHANG)\
**Replies:** 1\
**Last updated:** [June 3, 2026, 5:05pm UTC](https://code-saturne.org/forum/t/a-small-printing-bug-in-setup-log-for-the-vof-interface-compression-parameters/2495 "2026-06-03T17:05:21Z")

</div>

Bonjour, I found a small printing bug in setup.log for the VOF interface compression parameters: the values of kdrift and cdrift are printed in reverse order. In cs\_vof.cpp, cs\_log\_printf (CS\_LOG\_SETUP, \_(“\\n” " F…

---

## [Non-physical pressure difference in an annular porous media zone (Pipe Flow)](https://code-saturne.org/forum/t/non-physical-pressure-difference-in-an-annular-porous-media-zone-pipe-flow/2493)

<div class="topic-metadata">

**Author:** [@www233](https://code-saturne.org/forum/u/www233)\
**Replies:** 4\
**Last updated:** [May 14, 2026, 7:28am UTC](https://code-saturne.org/forum/t/non-physical-pressure-difference-in-an-annular-porous-media-zone-pipe-flow/2493 "2026-05-14T07:28:20Z")

</div>

Hi everyone, I am currently simulating flow through a circular pipe where an annular porous zone is implemented along the interior wall. I have defined the physical properties of the porous region using the following f…

---

## [How to properly use LTS](https://code-saturne.org/forum/t/how-to-properly-use-lts/2489)

<div class="topic-metadata">

**Author:** [@PFERRO](https://code-saturne.org/forum/u/PFERRO)\
**Replies:** 8\
**Last updated:** [April 30, 2026, 7:44am UTC](https://code-saturne.org/forum/t/how-to-properly-use-lts/2489 "2026-04-30T07:44:57Z")

</div>

Dear Forum, We are facing issues with the local time stepping for buoyancy driven flow (and conjugate heat transfer). From our understanding the local time step would be calculated as follow : dtCFL = max( min(CFL\*dX/…

---

## [Poisson equation solution using Code\_Saturne solver](https://code-saturne.org/forum/t/poisson-equation-solution-using-code-saturne-solver/2491)

<div class="topic-metadata">

**Author:** [@Nicolas](https://code-saturne.org/forum/u/Nicolas)\
**Replies:** 2\
**Last updated:** [April 30, 2026, 7:10am UTC](https://code-saturne.org/forum/t/poisson-equation-solution-using-code-saturne-solver/2491 "2026-04-30T07:10:57Z")

</div>

Good morning, I am currently trying to solve a Poisson equation based on a scalar field that I define beforehand within NEPTUNE\_CFD. My approach is to reuse the Poisson solver that is originally used for the pressure f…

---

## [code\_saturne automation](https://code-saturne.org/forum/t/code-saturne-automation/2492)

<div class="topic-metadata">

**Author:** [@florian-simvia](https://code-saturne.org/forum/u/florian-simvia)\
**Replies:** 0\
**Last updated:** [April 22, 2026, 12:54pm UTC](https://code-saturne.org/forum/t/code-saturne-automation/2492 "2026-04-22T12:54:03Z")

</div>

Hello everyone, I would like to share with the community the release of a new tool for code\_saturne automation, called csauto: Presentation : csauto — Automate code\_saturne CFD simulation campaigns Source : GitHub - s…

---

## [time step setting routine (former varpos.f90) in v9?](https://code-saturne.org/forum/t/time-step-setting-routine-former-varpos-f90-in-v9/2490)

<div class="topic-metadata">

**Author:** [@daniele](https://code-saturne.org/forum/u/daniele)\
**Replies:** 1\
**Last updated:** [April 7, 2026, 10:31pm UTC](https://code-saturne.org/forum/t/time-step-setting-routine-former-varpos-f90-in-v9/2490 "2026-04-07T22:31:19Z")

</div>

Hello, I was used to edit the varpos.f90 routine in v7 for some specific time-step settings. However, this routine is not present anymore in v9. I made a grep of “ischtp” in the src, but could not really understand the …

---

## [Recommandation for polyhedral cells](https://code-saturne.org/forum/t/recommandation-for-polyhedral-cells/2485)

<div class="topic-metadata">

**Author:** [@PFERRO](https://code-saturne.org/forum/u/PFERRO)\
**Replies:** 2\
**Last updated:** [March 5, 2026, 8:18am UTC](https://code-saturne.org/forum/t/recommandation-for-polyhedral-cells/2485 "2026-03-05T08:18:51Z")

</div>

In case of a polyhedral mesh generated by fluent mesher what are the recommendations in term of schemes and linear solver (highly turbulent flow, variable density and CHT) ? The mesh non-orthogonality is less than 70°. …

---

## [Dynamic boundary conditions](https://code-saturne.org/forum/t/dynamic-boundary-conditions/2483)

<div class="topic-metadata">

**Author:** [@fracenvi](https://code-saturne.org/forum/u/fracenvi)\
**Replies:** 1\
**Last updated:** [January 31, 2026, 12:44am UTC](https://code-saturne.org/forum/t/dynamic-boundary-conditions/2483 "2026-01-31T00:44:07Z")

</div>

Hello, I’m trying to run a case where i impose a varying boundary condition, as i’m trying to model a system where i have a flactuating velocity at the inlet (specifically, i would like to impose a time-varying boundary…

---

## [Restarting cold flow simulation introducing combustion model](https://code-saturne.org/forum/t/restarting-cold-flow-simulation-introducing-combustion-model/2482)

<div class="topic-metadata">

**Author:** [@fracenvi](https://code-saturne.org/forum/u/fracenvi)\
**Replies:** 1\
**Last updated:** [January 28, 2026, 12:44pm UTC](https://code-saturne.org/forum/t/restarting-cold-flow-simulation-introducing-combustion-model/2482 "2026-01-28T12:44:49Z")

</div>

Hello, I’m trying to collect statistics for a simulation case which runs for a very large number of cells and the combustion module on. Henceforth, what i’m doing is running the case first deactivating the combustion t…

---

## [Modify  buoyancy-term parameter Pr](https://code-saturne.org/forum/t/modify-buoyancy-term-parameter-pr/2480)

<div class="topic-metadata">

**Author:** [@WenhaoZHANG](https://code-saturne.org/forum/u/WenhaoZHANG)\
**Replies:** 1\
**Last updated:** [January 11, 2026, 7:05pm UTC](https://code-saturne.org/forum/t/modify-buoyancy-term-parameter-pr/2480 "2026-01-11T19:05:31Z")

</div>

Bonjour, I am using code\_saturne 9.0 to simulate breaking waves on cronos. I would like to modify the buoyancy-term parameter Pr in order to compare my results with other published papers that use OpenFOAM. Does anyone…

---

## [\[V8.3 GUI\] Unable to change Centering Blend value for Velocity (locked to 1)](https://code-saturne.org/forum/t/v8-3-gui-unable-to-change-centering-blend-value-for-velocity-locked-to-1/2481)

<div class="topic-metadata">

**Author:** [@Xian\_Ge](https://code-saturne.org/forum/u/Xian_Ge)\
**Replies:** 1\
**Last updated:** [January 11, 2026, 6:55pm UTC](https://code-saturne.org/forum/t/v8-3-gui-unable-to-change-centering-blend-value-for-velocity-locked-to-1/2481 "2026-01-11T18:55:36Z")

</div>

Hello everyone, I am currently using Code\_Saturne V8.3 to perform an LES simulation with the WALE model. I would like to experiment with different numerical schemes for the velocity field. However, I have encountered a…

---

## [Issue with Infinite SEM Virtual Box Dimensions (coo\_min = -1e30) on Annular Inlet \[V9.1\]](https://code-saturne.org/forum/t/issue-with-infinite-sem-virtual-box-dimensions-coo-min-1e30-on-annular-inlet-v9-1/2479)

<div class="topic-metadata">

**Author:** [@Sun\_Ziyi](https://code-saturne.org/forum/u/Sun_Ziyi)\
**Replies:** 4\
**Last updated:** [January 8, 2026, 10:53pm UTC](https://code-saturne.org/forum/t/issue-with-infinite-sem-virtual-box-dimensions-coo-min-1e30-on-annular-inlet-v9-1/2479 "2026-01-08T22:53:52Z")

</div>

Hello Code\_Saturne community, I am currently running an LES simulation (WALE model) of a rotating disk cavity with axial through-flow on a cluster (using MPI). I am trying to impose synthetic turbulence at the inlet usi…

---

## [Running the model on HPC](https://code-saturne.org/forum/t/running-the-model-on-hpc/2478)

<div class="topic-metadata">

**Author:** [@sophie\_Lu](https://code-saturne.org/forum/u/sophie_Lu)\
**Replies:** 3\
**Last updated:** [December 27, 2025, 1:04am UTC](https://code-saturne.org/forum/t/running-the-model-on-hpc/2478 "2025-12-27T01:04:47Z")

</div>

Hi all, I am running Code\_Saturne 8.2 coupled with SSH-Aerosol on an HPC system, and I consistently encounter a runtime error at the last time step of the simulation. The case runs normally for most of the simulation, …

---

## [T-Junction CHT Internal Coupling Simulation not working with Fillet](https://code-saturne.org/forum/t/t-junction-cht-internal-coupling-simulation-not-working-with-fillet/2476)

<div class="topic-metadata">

**Author:** [@saintlyknighted](https://code-saturne.org/forum/u/saintlyknighted)\
**Replies:** 4\
**Last updated:** [December 23, 2025, 11:41am UTC](https://code-saturne.org/forum/t/t-junction-cht-internal-coupling-simulation-not-working-with-fillet/2476 "2025-12-23T11:41:03Z")

</div>

Hi, I have been trying to set up a CHT internal coupling simulation of a T-Junction in code saturne to measure the temperature gradients in the pipe wall. I have this working in a T-Junction geometry where there is no fi…

---

## [Code\_Saturne and Code\_Aster coupling workflow](https://code-saturne.org/forum/t/code-saturne-and-code-aster-coupling-workflow/2477)

<div class="topic-metadata">

**Author:** [@saintlyknighted](https://code-saturne.org/forum/u/saintlyknighted)\
**Replies:** 1\
**Last updated:** [December 13, 2025, 3:54am UTC](https://code-saturne.org/forum/t/code-saturne-and-code-aster-coupling-workflow/2477 "2025-12-13T03:54:10Z")

</div>

Hi, I am trying to take the thermal loads from my Code\_Saturne T\_Junction and using that to get thermal stresses on the T-Junction pipe in Code\_Aster. I have two med results files from Code\_Saturne, which are results\_Bou…

---

## [Reading of chemistry profiles file](https://code-saturne.org/forum/t/reading-of-chemistry-profiles-file/2473)

<div class="topic-metadata">

**Author:** [@sophie\_Lu](https://code-saturne.org/forum/u/sophie_Lu)\
**Replies:** 8\
**Last updated:** [October 30, 2025, 1:12am UTC](https://code-saturne.org/forum/t/reading-of-chemistry-profiles-file/2473 "2025-10-30T01:12:37Z")

</div>

Dear all, I am doing the simulation about gas chemistry for in CS9.0. When I run the model, meteo file can be read normally, but chemistry profiles file data only can be read in the third hours . However, before when I…

---

## [Particle statistics crash](https://code-saturne.org/forum/t/particle-statistics-crash/2474)

<div class="topic-metadata">

**Author:** [@Antech](https://code-saturne.org/forum/u/Antech)\
**Replies:** 4\
**Last updated:** [October 15, 2025, 11:47am UTC](https://code-saturne.org/forum/t/particle-statistics-crash/2474 "2025-10-15T11:47:14Z")

</div>

Hello. I face the strange problem with particle statistics. The case is a simple gas duct with inlet, common outlet and particle outlet. Unless there is no particle statistics collected all things are fine. Gas phase cal…

---

## [Question about atmospheric module](https://code-saturne.org/forum/t/question-about-atmospheric-module/2472)

<div class="topic-metadata">

**Author:** [@MaximeO](https://code-saturne.org/forum/u/MaximeO)\
**Replies:** 2\
**Last updated:** [October 13, 2025, 9:49am UTC](https://code-saturne.org/forum/t/question-about-atmospheric-module/2472 "2025-10-13T09:49:58Z")

</div>

Hello, I’m working on a dispersion study in an urban area, and I would like to analyze the impact of the turbulent schmidt number Sc\_T of the transported scalar over the concentration fields. During some previous tests…

---

## [MESH of complex geometry](https://code-saturne.org/forum/t/mesh-of-complex-geometry/2455)

<div class="topic-metadata">

**Author:** [@sophie\_Lu](https://code-saturne.org/forum/u/sophie_Lu)\
**Replies:** 9\
**Last updated:** [October 12, 2025, 7:47pm UTC](https://code-saturne.org/forum/t/mesh-of-complex-geometry/2455 "2025-10-12T19:47:29Z")

</div>

Hello, I want to process complex urban ground as a MESH simulation. Now I have generate MESH of buildings successfully from DSM file. In this case, how can I extract the air area above the city? I have tried to generate…

---

## [Inquire on combustion module](https://code-saturne.org/forum/t/inquire-on-combustion-module/2471)

<div class="topic-metadata">

**Author:** [@fracenvi](https://code-saturne.org/forum/u/fracenvi)\
**Replies:** 0\
**Last updated:** [October 3, 2025, 1:01pm UTC](https://code-saturne.org/forum/t/inquire-on-combustion-module/2471 "2025-10-03T13:01:05Z")

</div>

Hello, I got a question regarding the combustion module and how the components ym\_fuel, ym\_oxyd and ym\_prod are obtained and transported in the case where i adopt diffusion flames. From what i understood, their evaluati…

---

## [Restart file not working (v.7)](https://code-saturne.org/forum/t/restart-file-not-working-v-7/2470)

<div class="topic-metadata">

**Author:** [@fracenvi](https://code-saturne.org/forum/u/fracenvi)\
**Replies:** 1\
**Last updated:** [September 29, 2025, 9:45pm UTC](https://code-saturne.org/forum/t/restart-file-not-working-v-7/2470 "2025-09-29T21:45:32Z")

</div>

Hello, I’m facing a weird issue as i’m trying to run a restarted calculation, setting up the restart folder in the cs\_user\_scripts.py file. Every time i try to run the simulation, it immediately ends with the error: Pr…

---

## [Question on Steady vs Unsteady RANS in Code\_Saturne](https://code-saturne.org/forum/t/question-on-steady-vs-unsteady-rans-in-code-saturne/2468)

<div class="topic-metadata">

**Author:** [@ximeng](https://code-saturne.org/forum/u/ximeng)\
**Replies:** 5\
**Last updated:** [September 28, 2025, 9:24pm UTC](https://code-saturne.org/forum/t/question-on-steady-vs-unsteady-rans-in-code-saturne/2468 "2025-09-28T21:24:50Z")

</div>

Dear Yvan, I would like to clarify how steady and unsteady RANS are selected in Code\_Saturne. Am I correct that choosing Constant or Adaptive time step corresponds to unsteady simulations, while Steady (local time step)…

[Next page](https://code-saturne.org/forum/c/code-saturne-usage/6.md?page=1)
