Search found 4125 matches

by Yvan Fournier
Sun Aug 25, 2024 5:55 pm
Forum: Installation issues
Topic: WSL Issues with salome_cfd_extensions
Replies: 1
Views: 470

Re: WSL Issues with salome_cfd_extensions

Hello, The tutorials by Cyprien are rapidly becoming obsolete, are were done independently of the code_saturne team, so are in no way updated by us. The real install documentation is the one in the code sources, even if it is a bit minimalist. With newer installs of the salome_cfd_extensions, there ...
by Yvan Fournier
Tue Aug 20, 2024 9:39 pm
Forum: Syrthes related questions
Topic: CS/Syrthes in Ubuntu 20 vs Ubuntu 22
Replies: 1
Views: 6664

Re: CS/Syrthes in Ubuntu 20 vs Ubuntu 22

Hello,

Did you do the post-install part of the code_saturne setup (i.e. editing the code_saturne.cfg file in the installation directory) ? Looks like this is missing, based on your error message.

Best regards,

Yvan
by Yvan Fournier
Tue Aug 13, 2024 9:41 pm
Forum: Syrthes related questions
Topic: Coupling, very slow temperature convergence
Replies: 2
Views: 14475

Re: Coupling, very slow temperature convergence

Hello, If this should converge to a steady-state solution, the time steps do not need to be identical between the fluid and solid domains. In this case, I would recommend the pseudo-steady algorithm on the code_saturne side (with a local time step), as this will optimize for the CFL number and usual...
by Yvan Fournier
Sun Aug 11, 2024 11:17 pm
Forum: code_saturne usage
Topic: Closed loop flow, pressure point constraint and convergence
Replies: 2
Views: 15469

Re: Closed loop flow, pressure point constraint and convergence

Hello, I'm not sure how you could force a pressure at a given point with no outlets using the current code options, and am not sure it would help (since normally things depend on the pressure gradient but unless you have physical quantities depending on pressure, there should be no influence). I any...
by Yvan Fournier
Wed Aug 07, 2024 12:30 am
Forum: Installation issues
Topic: New Install: No "mesh_input.csm" file or directory found.
Replies: 2
Views: 15224

Re: New Install: No "mesh_input.csm" file or directory found.

Hello, The error simply reports the line in the source code relative to where the error is caught or handled, so as to help with debugging and analyzing the issue, so the message you obtain is normal. You now need to understand why the mesh input file was not found. Either the tutorial links directl...
by Yvan Fournier
Mon Jul 29, 2024 7:10 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 14
Views: 24825

Re: Problem with cs_user_initialization not passing the values

Hello, Be careful with fixed-size arrays.... On may machine, I needed to switch to BFT_MALLOC to avoid memory errors (as fixed-size arrays are handled on the stack, and the corresponding size may be too limited vs dynamically allocated arrays. I attache the changed file (with paths also changed for ...
by Yvan Fournier
Thu Jul 25, 2024 12:42 am
Forum: code_saturne usage
Topic: Usage of "field_get_coefaf_s" subroutine
Replies: 2
Views: 7968

Re: Usage of "field_get_coefaf_s" subroutine

Hello, These arrays are "preprocessed" boundary condition codes (that are subject to a redesign in a future version), built from the icodcl/rcodcl arrays described in the user documentation. They match the a/b/af/bf coefficients described in the theoretical documentation's section on bound...
by Yvan Fournier
Thu Jul 25, 2024 12:33 am
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 14
Views: 24825

Re: Problem with cs_user_initialization not passing the values

Hello, Your setup seems to be for v7.0. Could you try it in v8.0 ? Also, running the code in debug mode, I get a Fortran error in src/cogc/colecd.f90, line 607 (for v7.0), because iico2 is 0 (i.e. there is no CO2 variable), probably because the is no CO2 variable entry in your thermochemistry file. ...
by Yvan Fournier
Fri Jul 12, 2024 4:30 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 14
Views: 24825

Re: Problem with cs_user_initialization not passing the values

Hello,

Yes. The idea If you are not familiar with a debugger, I can do a quick test on my side (it seems all the required files are in your archive). Just remind me which version of the code you are using.

Best regards,

Yvan
by Yvan Fournier
Fri Jul 12, 2024 1:06 pm
Forum: code_saturne usage
Topic: Problem with cs_user_initialization not passing the values
Replies: 14
Views: 24825

Re: Problem with cs_user_initialization not passing the values

Hello, I suspect a reinitialization, but am not sure where it happens. If you are familiar with using a debugger, putting a breakpoint in your user initialization, and putting a watchpoint on the first value of one of your initialized fields would certainly help find this quickly. Otherwise adding &...