Issue with Infinite SEM Virtual Box Dimensions (coo_min = -1e30) on Annular Inlet [V9.1]
Posted: Wed Jan 07, 2026 4:36 am
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 using the Synthetic Eddy Method (SEM).
Case Setup:
Version: Code_Saturne V9.1
Geometry: Annular inlet (Outer Radius = 0.07m, Inner Radius = 0.052m).
BC: Inlet axial velocity = 2.93 m/s. The Problem:
I implemented cs_user_les_inflow.c based on the standard examples, setting constant values for the reference velocity,
, k and ϵ in the cs_user_les_inflow_define function. However, the run_solver.log indicates that the dimensions of the SEM virtual box are infinite. It seems the algorithm calculates the maximum coordinates correctly (matching my geometry), but the minimum coordinates (coo_min) are stuck at a negative infinite value (approx -1e30).
Here is a snippet from the log:
-------------------------------------------------------------
SEM INFO, inlet "0"
Max. size of synthetic eddies:
max(sigma_x) = 0.007668, at coordinates (-0.000000,-0.052013,-0.000274)
max(sigma_y) = 0.007668, at coordinates (-0.000000,-0.052013,-0.000274)
max(sigma_z) = 0.007668, at coordinates (-0.000000,-0.052013,-0.000274)
Number of min. clippings (eddy size equals grid size):
sigma_x clipped 0 times
sigma_y clipped 0 times
sigma_z clipped 0 times
LES SEM: dimensions of the virtual box:
Lx = 1000000015047466219876688855040.000000, coo_min : -1000000015047466219876688855040.000000, coo_max : 0.007668
Ly = 1000000015047466219876688855040.000000, coo_min : -1000000015047466219876688855040.000000, coo_max : 0.077651
Lz = 1000000015047466219876688855040.000000, coo_min : -1000000015047466219876688855040.000000, coo_max : 0.077651
Number of eddies leaving the box (regenerated): 0
------------------------------------------------------------- I have already tried setting cs_les_inflow_set_restart(false, false) to ensure no old checkpoints are read, and I confirmed that vel_ref is non-zero.
Could this be related to a parallel reduction issue with the bounding box calculation on annular geometries?
Any insights or workarounds would be greatly appreciated.
Thank you!
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 using the Synthetic Eddy Method (SEM).
Case Setup:
Version: Code_Saturne V9.1
Geometry: Annular inlet (Outer Radius = 0.07m, Inner Radius = 0.052m).
BC: Inlet axial velocity = 2.93 m/s. The Problem:
I implemented cs_user_les_inflow.c based on the standard examples, setting constant values for the reference velocity,
, k and ϵ in the cs_user_les_inflow_define function. However, the run_solver.log indicates that the dimensions of the SEM virtual box are infinite. It seems the algorithm calculates the maximum coordinates correctly (matching my geometry), but the minimum coordinates (coo_min) are stuck at a negative infinite value (approx -1e30).
Here is a snippet from the log:
-------------------------------------------------------------
SEM INFO, inlet "0"
Max. size of synthetic eddies:
max(sigma_x) = 0.007668, at coordinates (-0.000000,-0.052013,-0.000274)
max(sigma_y) = 0.007668, at coordinates (-0.000000,-0.052013,-0.000274)
max(sigma_z) = 0.007668, at coordinates (-0.000000,-0.052013,-0.000274)
Number of min. clippings (eddy size equals grid size):
sigma_x clipped 0 times
sigma_y clipped 0 times
sigma_z clipped 0 times
LES SEM: dimensions of the virtual box:
Lx = 1000000015047466219876688855040.000000, coo_min : -1000000015047466219876688855040.000000, coo_max : 0.007668
Ly = 1000000015047466219876688855040.000000, coo_min : -1000000015047466219876688855040.000000, coo_max : 0.077651
Lz = 1000000015047466219876688855040.000000, coo_min : -1000000015047466219876688855040.000000, coo_max : 0.077651
Number of eddies leaving the box (regenerated): 0
------------------------------------------------------------- I have already tried setting cs_les_inflow_set_restart(false, false) to ensure no old checkpoints are read, and I confirmed that vel_ref is non-zero.
Could this be related to a parallel reduction issue with the bounding box calculation on annular geometries?
Any insights or workarounds would be greatly appreciated.
Thank you!