Search found 4135 matches

by Yvan Fournier
Fri Sep 20, 2024 10:08 pm
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 5
Views: 111

Re: Library not found with custom compile file

Hello,

Does the hdf5 file version match the one in the build configure command for code_saturne ? Do you have the same environment settings or loaded modules when installing and trying to run the code ?

Looks like there may beca mismatch here.

Best regards,

Yvan
by Yvan Fournier
Thu Sep 19, 2024 6:21 pm
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 5
Views: 111

Re: Library not found with custom compile file

Hello,

Do you get any info in the terminal in which the computation is launched (if interactive) or in the batch log files ?

Is the cs_solver file created ?

Best regards,

Yvan
by Yvan Fournier
Thu Sep 19, 2024 12:43 am
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 5
Views: 111

Re: Library not found with custom compile file

Hello, I recommend separating compile and link flags: domain.compile_cflags = "-I/path/to/libtorch/include -I/path/to/libtorch/include/torch/csrc/api/include" domain.compile_cxxflags = "-I/path/to/libtorch/include -I/path/to/libtorch/include/torch/csrc/api/include" domain.compile...
by Yvan Fournier
Fri Sep 13, 2024 1:48 am
Forum: code_saturne usage
Topic: Tutorial FSI
Replies: 7
Views: 5214

Re: Tutorial FSI

Hello,

We probably need to remove the v2
.0 FSI tutorial, because it is unmaintainable unversioned pff file, and no acces ro the original author.

But if you check the code_saturne tutorial files on GitHub, there is an FSI tutorial (cylinfer cross-flow) which is kept up to date.

Best regards,

Yvan
by Yvan Fournier
Wed Sep 11, 2024 9:58 pm
Forum: code_saturne usage
Topic: Collecting variable values at different timesteps
Replies: 3
Views: 160

Re: Collecting variable values at different timesteps

Hello, The vals array stores pointers to each time step's values array, but each array is allocated separately so is not contiguous. So you cannot acces it as a single array, unless you modify the way it is allocated in cs_fields.c (which would be feasible but has never been required so far). Beat r...
by Yvan Fournier
Tue Sep 10, 2024 7:30 pm
Forum: code_saturne usage
Topic: How to compute TKE Budgets
Replies: 6
Views: 3012

Re: How to compute TKE Budgets

Hello, In the development version, there are quite a few optional fields than can be used to save various intermediate terms in the RSM solution, which might be useful for this (see src/turb/cs_turbulence_rij.cpp). Some elements of associated field names may be given in the Doxygen/HTML documentatio...
by Yvan Fournier
Tue Sep 10, 2024 7:23 pm
Forum: code_saturne usage
Topic: Collecting variable values at different timesteps
Replies: 3
Views: 160

Re: Collecting variable values at different timesteps

Hello, You can increase the number of time steps saved in a given field by using cs_field_set_n_time_vals for all fields where you need this, but if you keep too many values, the memory use may go up quite fast.. For each associated time, field->vals points to the values associated with time step n-...
by Yvan Fournier
Mon Sep 09, 2024 10:09 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 1
Views: 258

Re: mesh_output file not created

Hello, In ALE, the mesh deformation is not stored in the mesh_output, but in the auxiliary restart file. So what you need in this case is to restart from a different mesh, in which case the deformation from the first case will be interpolated to the new one. You may want to reset other fields to 0 i...
by Yvan Fournier
Thu Sep 05, 2024 9:47 pm
Forum: code_saturne usage
Topic: BC with convection + radiation to the ambient
Replies: 5
Views: 929

Re: BC with convection + radiation to the ambient

Hello,

Thanks for the detailed report. I have a very busy week ahead but I'll try to look into this as soon as possible, probably end of next week or early week after.

Best regards,

Yvan
by Yvan Fournier
Wed Sep 04, 2024 9:22 am
Forum: code_saturne usage
Topic: BC with convection + radiation to the ambient
Replies: 5
Views: 929

Re: BC with convection + radiation to the ambient

Hello, Do you have a small test case where in.1), the temperature does not seem to change ? Another user reported something similar (bu I have no.details) so I need to check whether this is a subtle case setup issue or whether we may have a bug here. To see the effect of radiation on.the wall, I thi...