Search found 4085 matches

by Yvan Fournier
Fri Feb 16, 2024 11:16 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 19456

Re: Restart not taken into account in v7

Hello Daniele, When code_saturne does not find a partition input file matching a given number of MPI ranks, it simply recoputes the partition (so saving a partitioning is useful mostly for debugging, when we want to ensure we are in the same conditions as a failed computation). So I would guess the ...
by Yvan Fournier
Fri Feb 16, 2024 11:11 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 27204

Re: streamwise periodicity

Hello, The cs_user_source_terms can handle both source and sink terms, so you can use it for this. The most difficult part here is probably computing/measuring how much heat is accumulating, so as to know how which value to assign to the source term. A relatively simple solution might be to compute ...
by Yvan Fournier
Fri Feb 16, 2024 11:06 pm
Forum: Installation issues
Topic: "No such file or directory" when trying to use the Mathematical expression editor
Replies: 1
Views: 1360

Re: "No such file or directory" when trying to use the Mathematical expression editor

Hello, This issue was analyzed on a separate support channel. For other people reading this post, the issue seems to be due to the build process used by the IT support team installing the compilers locally as prerequisites, but not providing them in the final install. We had a similar issue about 2 ...
by Yvan Fournier
Fri Feb 09, 2024 6:54 pm
Forum: Discussion
Topic: Use of Azure Batch or Google Cloud HPC to run simulation on cloud cluster
Replies: 8
Views: 27743

Re: Use of Azure Batch or Google Cloud HPC to run simulation on cloud cluster

Hello, Yes, creating another post in the "code_saturne usage" section will be better. I will probably also move this thread from discussion to "installation", as it started as a general discussion subject but evolved into an install issue. If the computation is stuck, I recommene...
by Yvan Fournier
Wed Feb 07, 2024 3:33 pm
Forum: code_saturne usage
Topic: cs_mesh_cartesian_define_from_csv
Replies: 2
Views: 1519

Re: cs_mesh_cartesian_define_from_csv

Hello, We may be missing a way to tell the GUI that a Cartesion mesh is defined by user-defined functions and not the GUI (previously, the SRC would overwrite the GUI, but now they can be added). I think you can work around this by defining an "empty" Cartesion mesh in the GUI, defining 0 ...
by Yvan Fournier
Tue Feb 06, 2024 1:42 am
Forum: code_saturne usage
Topic: Automatic change in monitoring point
Replies: 1
Views: 1564

Re: Automatic change in monitoring point

Hello, Yes, you can set part of this behavior in the GUI ("one probe per cell"), and can have finer grained controls in user-defined functions. Check the Doxygen (html) documentation for cs_probe_set_t. The default behavior will also depend on whether the mesh is fixed (where we snap coord...
by Yvan Fournier
Tue Jan 30, 2024 2:45 am
Forum: Discussion
Topic: Use of Azure Batch or Google Cloud HPC to run simulation on cloud cluster
Replies: 8
Views: 27743

Re: Use of Azure Batch or Google Cloud HPC to run simulation on cloud cluster

Hello, To run in a manner similar to non-containerized installs, you would need to call either "code_saturne run' or "code_saturne submit" from within the container. "code_saturne submit" will first prepare the execution directory "immediately" (i.e. run "code...
by Yvan Fournier
Mon Jan 29, 2024 11:07 pm
Forum: Discussion
Topic: Use of Azure Batch or Google Cloud HPC to run simulation on cloud cluster
Replies: 8
Views: 27743

Re: Use of Azure Batch or Google Cloud HPC to run simulation on cloud cluster

Hello, To understand how code_saturne runs using SLURM, there are 2 important points in the documentation : - Configuring SLURM in the post-install step : https://github.com/code-saturne/code_saturne/blob/master/INSTALL.md#recommended-post-install-steps. (if you do no do this, you will need to work ...
by Yvan Fournier
Tue Jan 23, 2024 11:30 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 27204

Re: streamwise periodicity

Hello, Here is another, more complex example, with a target velocity. In this case, we measure the flow rate so as to compare it to the target, and adjust the source term accordingy. This example also handles restarts using this, and used various notebook variables for parametric data. I'll let you ...
by Yvan Fournier
Mon Jan 22, 2024 9:41 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 27204

Re: streamwise periodicity

Hello, I think the velocity should converge to that balancing the source term and the friction after a number of iterations. To choose the target velocity, I'll try to find another example. I think we had one at some time, but am not sure whether I am looking at the wrong example or if the setup was...