Search found 4138 matches

by Yvan Fournier
Thu Oct 03, 2024 12:23 am
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 10
Views: 466

Re: Library not found with custom compile file

Hello, Could you post the run_solver file in your execution directory ? Also, odes the code run normally without the additional libary ? For PLE, you could also solve the issue in a manner similar to hdf5, but It would be interesting to first understand why you have this issue. Best regards, Yvan
by Yvan Fournier
Wed Oct 02, 2024 1:08 am
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 10
Views: 466

Re: Library not found with custom compile file

Hello, Could you replace: -L/home/cenvinzf@coria.fr/Desktop/hdf5-200/inst2/lib With: -L/home/cenvinzf@coria.fr/Desktop/hdf5-200/inst2/lib -Wl,-rpath -Wl,/home/cenvinzf@coria.fr/Desktop/hdf5-200/inst2/lib Or add export LD_LIBRARY_PATH=/home/cenvinzf@coria.fr/Desktop/hdf5-200/inst2/lib In your launch ...
by Yvan Fournier
Wed Oct 02, 2024 12:59 am
Forum: code_saturne usage
Topic: error C981
Replies: 1
Views: 246

Re: error C981

Hello, Can you confirm (as seems to be the case in your files) that you have only a GUI-based setup, and no user-defined functions ? It seems you have NaN values upon initialization, before even starting a time step. Could you test with v8.0, which is fully validated, compared to v8.1, which is an i...
by Yvan Fournier
Fri Sep 20, 2024 10:08 pm
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 10
Views: 466

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: 10
Views: 466

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: 10
Views: 466

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: 5377

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: 267

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: 3127

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: 267

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-...