Hello,
Yes, cs_user_boundary_conditions.cpp
Best regards,
Yvan
Search found 4283 matches
- Sat Jan 31, 2026 1:44 am
- Forum: code_saturne usage
- Topic: Dynamic boundary conditions
- Replies: 1
- Views: 24
- Wed Jan 28, 2026 1:44 pm
- Forum: code_saturne usage
- Topic: Restarting cold flow simulation introducing combustion model
- Replies: 1
- Views: 414
Re: Restarting cold flow simulation introducing combustion model
Hello,
Restarting with a change in model should work in theory, but a strong variation in computed values can lead to divergence in some cases.
First, did you check that the combustion case does not diverge if you run it for a few time steps directly (i.e. not as a restart) ? If this is OK, you ...
Restarting with a change in model should work in theory, but a strong variation in computed values can lead to divergence in some cases.
First, did you check that the combustion case does not diverge if you run it for a few time steps directly (i.e. not as a restart) ? If this is OK, you ...
- Sun Jan 11, 2026 8:05 pm
- Forum: code_saturne usage
- Topic: Modify buoyancy-term parameter Pr
- Replies: 1
- Views: 2419
Re: Modify buoyancy-term parameter Pr
Hello,
If you want to replace "cs_real_t prdtur = 1;", since it is a local definition, a user-defined file will not be enough.
You can try using the modified source code file as a user-defined file, but I am not sure whether this will work or lead to link-time issues. It did work in most cases ...
If you want to replace "cs_real_t prdtur = 1;", since it is a local definition, a user-defined file will not be enough.
You can try using the modified source code file as a user-defined file, but I am not sure whether this will work or lead to link-time issues. It did work in most cases ...
- Sun Jan 11, 2026 7:55 pm
- Forum: code_saturne usage
- Topic: [V8.3 GUI] Unable to change Centering Blend value for Velocity (locked to 1)
- Replies: 1
- Views: 1239
Re: [V8.3 GUI] Unable to change Centering Blend value for Velocity (locked to 1)
Hello,
The slope test does not need to be toggled, as it adjusts to the scheme.
It seems the setting is disabled whenever you are using an LES turbulence model, because in this case a sencond(order scheme is required. In practice though, we seomtimes recommend adding 2% upwind (perhaps even) to ...
The slope test does not need to be toggled, as it adjusts to the scheme.
It seems the setting is disabled whenever you are using an LES turbulence model, because in this case a sencond(order scheme is required. In practice though, we seomtimes recommend adding 2% upwind (perhaps even) to ...
- Thu Jan 08, 2026 11:53 pm
- Forum: code_saturne usage
- Topic: Issue with Infinite SEM Virtual Box Dimensions (coo_min = -1e30) on Annular Inlet [V9.1]
- Replies: 4
- Views: 1644
Re: Issue with Infinite SEM Virtual Box Dimensions (coo_min = -1e30) on Annular Inlet [V9.1]
Hello,
If you still avec access to the build directory, you could edit the source code to apply the patch, then got to the build directory and simply re-run "make install".
Otherwise you may try to include the fixed file with user-define files, but you may have link issues related to multiply ...
If you still avec access to the build directory, you could edit the source code to apply the patch, then got to the build directory and simply re-run "make install".
Otherwise you may try to include the fixed file with user-define files, but you may have link issues related to multiply ...
- Thu Jan 08, 2026 12:44 pm
- Forum: code_saturne usage
- Topic: Issue with Infinite SEM Virtual Box Dimensions (coo_min = -1e30) on Annular Inlet [V9.1]
- Replies: 4
- Views: 1644
Re: Issue with Infinite SEM Virtual Box Dimensions (coo_min = -1e30) on Annular Inlet [V9.1]
Hello,
This seems to be due to an incorrect handling of reducers, fixed in commit 5de8c9.
So updating the code should fix hte issue (v9.1 was released Dec 30, so this is a good option).
Best regards,
Yvan
This seems to be due to an incorrect handling of reducers, fixed in commit 5de8c9.
So updating the code should fix hte issue (v9.1 was released Dec 30, so this is a good option).
Best regards,
Yvan
- Sat Dec 27, 2025 2:04 am
- Forum: code_saturne usage
- Topic: Running the model on HPC
- Replies: 3
- Views: 3632
Re: Running the model on HPC
Hello,
The iprofc array was removed in commit 8edbd699(2023-03-29), with the following message:
[Atmo] Chemistry, remove iprofc array.
It was use to specify that we want to use chemistry profile for inlets.
This can already be done by specifying another value in
cs_user_boundary_conditions ...
The iprofc array was removed in commit 8edbd699(2023-03-29), with the following message:
[Atmo] Chemistry, remove iprofc array.
It was use to specify that we want to use chemistry profile for inlets.
This can already be done by specifying another value in
cs_user_boundary_conditions ...
- Fri Dec 19, 2025 11:11 pm
- Forum: code_saturne usage
- Topic: Running the model on HPC
- Replies: 3
- Views: 3632
Re: Running the model on HPC
Hello,
Do you use a specific tool or setting to obtain backtraces in the SLURM output ? By default, code_saturne installs its own exception handler, which logs backtraces (with less details) to error* files, but some libraries (at least PT-Scotch and ParaView, possibly others) can force their own ...
Do you use a specific tool or setting to obtain backtraces in the SLURM output ? By default, code_saturne installs its own exception handler, which logs backtraces (with less details) to error* files, but some libraries (at least PT-Scotch and ParaView, possibly others) can force their own ...
- Fri Dec 19, 2025 11:00 pm
- Forum: code_saturne usage
- Topic: T-Junction CHT Internal Coupling Simulation not working with Fillet
- Replies: 4
- Views: 4269
Re: T-Junction CHT Internal Coupling Simulation not working with Fillet
@Antech I am not sure I understand your remark for the SST model being required for CHT.
CHT can be used with any turbulence model, as well as for laminar flows. Quality of heat exchange modeling will depend on the chosen model, and research is still ongoing to improve the state of th art in this ...
CHT can be used with any turbulence model, as well as for laminar flows. Quality of heat exchange modeling will depend on the chosen model, and research is still ongoing to improve the state of th art in this ...
- Sat Dec 13, 2025 4:54 am
- Forum: code_saturne usage
- Topic: Code_Saturne and Code_Aster coupling workflow
- Replies: 1
- Views: 3238
Re: Code_Saturne and Code_Aster coupling workflow
Hello,
Since the fluid and solid domains do not overlay, the boundary mesh data should be sufficient.
I do not know how you can define code_aster boundary conditions based on data in the MED file. I am not sure whether code_aster can read both face or vertex data (here we have face data), or ...
Since the fluid and solid domains do not overlay, the boundary mesh data should be sufficient.
I do not know how you can define code_aster boundary conditions based on data in the MED file. I am not sure whether code_aster can read both face or vertex data (here we have face data), or ...