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
Search found 4216 matches
- Sat May 24, 2025 7:58 pm
- Forum: code_saturne usage
- Topic: Mass fraction conversion with combustion module
- Replies: 3
- Views: 5041
- Fri May 23, 2025 1:47 pm
- Forum: code_saturne usage
- Topic: Current implementation of synthetic eddy method
- Replies: 2
- Views: 1480
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...
- Tue May 20, 2025 1:19 pm
- Forum: code_saturne usage
- Topic: cs_user_radiative_transfer_bcs function upgrade
- Replies: 1
- Views: 4502
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. ...
- Sun May 18, 2025 2:33 pm
- Forum: code_saturne usage
- Topic: MPI-OpenMP hybrid support
- Replies: 3
- Views: 14994
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
Did you try running the code in pure MPI mode over 2 nodes ? Do you have the same issues ?
Regards,
Yvan
- 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: 4071
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
Could you provide more specific info on the errors encountered (i.e. logs, as detailed in the forum user recommendations) ?
Regards,
Yvan
- Thu May 15, 2025 1:44 pm
- Forum: code_saturne usage
- Topic: Mass fraction conversion with combustion module
- Replies: 3
- Views: 5041
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...
- Fri May 09, 2025 12:25 am
- Forum: code_saturne usage
- Topic: MPI-OpenMP hybrid support
- Replies: 3
- Views: 14994
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...
- Thu May 08, 2025 1:39 am
- Forum: code_saturne usage
- Topic: Run Code_Saturne on GPU
- Replies: 4
- Views: 17984
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...
- Thu May 01, 2025 9:28 pm
- Forum: code_saturne usage
- Topic: Oxydant temperature with combustion module
- Replies: 4
- Views: 23642
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...
- Thu May 01, 2025 11:19 am
- Forum: code_saturne usage
- Topic: mesh helix surface
- Replies: 2
- Views: 28119
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...