Search found 4216 matches

by Yvan Fournier
Sat May 24, 2025 7:58 pm
Forum: code_saturne usage
Topic: Mass fraction conversion with combustion module
Replies: 3
Views: 5341

Re: Mass fraction conversion with combustion module

Hello,

This conversion function (and similar ones) are called in loops over all cells, so do not work over a full field, but only local values. You simply need to use it in a loop.

Best regards,

Yvan
by Yvan Fournier
Fri May 23, 2025 1:47 pm
Forum: code_saturne usage
Topic: Current implementation of synthetic eddy method
Replies: 2
Views: 1715

Re: Current implementation of synthetic eddy method

Hello, I just relayed this question to Sofiane Benhamadouche a few minutes ago, and is seems that the code may have evolved a bit, and it would actually be helpful for everybody if someone took to time to dive into the code in our SEM implementation to check / update the equations relative to publis...
by Yvan Fournier
Tue May 20, 2025 1:19 pm
Forum: code_saturne usage
Topic: cs_user_radiative_transfer_bcs function upgrade
Replies: 1
Views: 4677

Re: cs_user_radiative_transfer_bcs function upgrade

Hello, You can compare examples in v8.0 (https://github.com/code-saturne/code_saturne/blob/v8.0/src/user_examples/cs_user_radiative_transfer_bcs.c) and v7.0 (https://github.com/code-saturne/code_saturne/blob/v7.0/src/user_examples/cs_user_radiative_transfer_bcs.c) to see how you can adapt the code. ...
by Yvan Fournier
Sun May 18, 2025 2:33 pm
Forum: code_saturne usage
Topic: MPI-OpenMP hybrid support
Replies: 3
Views: 15276

Re: MPI-OpenMP hybrid support

Hello,

Did you try running the code in pure MPI mode over 2 nodes ? Do you have the same issues ?

Regards,

Yvan
by Yvan Fournier
Fri May 16, 2025 5:49 pm
Forum: code_saturne usage
Topic: Help with Groundwater Module (Richards Equation) – Unable to Run Simple Example
Replies: 1
Views: 4164

Re: Help with Groundwater Module (Richards Equation) – Unable to Run Simple Example

Hello,

Could you provide more specific info on the errors encountered (i.e. logs, as detailed in the forum user recommendations) ?

Regards,

Yvan
by Yvan Fournier
Thu May 15, 2025 1:44 pm
Forum: code_saturne usage
Topic: Mass fraction conversion with combustion module
Replies: 3
Views: 5341

Re: Mass fraction conversion with combustion module

Hello, I am not sure this is in the documentation. From converting some combustion routines from Fortran to C a few months ago, I recall some conversions which may be similar to your needs, at various levels in the code itself. You might find what you need when reading thermochemistry data (cs_combu...
by Yvan Fournier
Fri May 09, 2025 12:25 am
Forum: code_saturne usage
Topic: MPI-OpenMP hybrid support
Replies: 3
Views: 15276

Re: MPI-OpenMP hybrid support

Hello, Yes, the code should work fine in hybrid MPI/OPenMP mode, and even though in most cases performance is slightly better in pure MPI mode, hybrid mode often requires a bit less memory so can be useful, and may be improved in the future (current work on GPU performance should also improve OpenMP...
by Yvan Fournier
Thu May 08, 2025 1:39 am
Forum: code_saturne usage
Topic: Run Code_Saturne on GPU
Replies: 4
Views: 18173

Re: Run Code_Saturne on GPU

Hello, This is still very much work in progress, so performance is still in flux, and we will update some benchmarks soon. Solvers such as simple iterative linear solvers and gradient reconstructions can run faster on a GPU than on a CPU, but we still lose performance over memory transfers due to so...
by Yvan Fournier
Thu May 01, 2025 9:28 pm
Forum: code_saturne usage
Topic: Oxydant temperature with combustion module
Replies: 4
Views: 23818

Re: Oxydant temperature with combustion module

Hello, I ran your case, and happened on a crash related to CoolProp usage, which was incompatible with an enthalpy-based thermal model. I fixed the issue in the master, v9.0, and v8.0 branches, but do not recommend using a variable viscosity with combustion models, as I am not sure this is handled c...
by Yvan Fournier
Thu May 01, 2025 11:19 am
Forum: code_saturne usage
Topic: mesh helix surface
Replies: 2
Views: 28296

Re: mesh helix surface

Hello, This is certainly a mesh quality issue, even though the classical quality "bad cell indicators" seem mostly OK. The fact that computing the wall distance needs disabling the reconstruction (see log) is a giveaway. Some cells might be too "flat" near the boundary. Extruding...