Search found 4070 matches

by Yvan Fournier
Tue Feb 06, 2024 1:42 am
Forum: code_saturne usage
Topic: Automatic change in monitoring point
Replies: 1
Views: 174

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

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

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

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

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...
by Yvan Fournier
Thu Jan 18, 2024 1:05 am
Forum: code_saturne usage
Topic: use a deformed mesh (med file)to restart code saturne calculation
Replies: 13
Views: 193533

Re: use a deformed mesh (med file)to restart code saturne calculation

Hello, Graph2 seems better adapted to an iterative solution, assuming the flow has a significant influence on the water tank. What i not clear to me is the type of flow you are trying to compute. Most FSI studies done with code_saturne involve interaction with a complex flow, such as flow induced vi...
by Yvan Fournier
Mon Jan 15, 2024 9:08 pm
Forum: code_saturne usage
Topic: use a deformed mesh (med file)to restart code saturne calculation
Replies: 13
Views: 193533

Re: use a deformed mesh (med file)to restart code saturne calculation

Hello, Regarding your first question, does the deformed mesh have the same topology (number and connectivity of elements) as the original one ? If that is the case, you can simply: - Create an empty "checkpoint" directory. - Copy the .csm file for the new calculation into it. - Copy the ch...
by Yvan Fournier
Wed Jan 10, 2024 9:18 pm
Forum: Discussion
Topic: Why is CS Open Source?
Replies: 2
Views: 161614

Re: Why is CS Open Source?

Hello, Only a small portion of the code_saturne code has been publicly funded, so the argument is not a moral one. In practice, codes would not have been open-sourced if at least part of the teams had not been interested in open source, but the moral argument is not one which would hold much weight ...
by Yvan Fournier
Tue Jan 09, 2024 2:59 am
Forum: code_saturne usage
Topic: Atmospheric flow : Changing IWALFS
Replies: 4
Views: 224291

Re: Atmospheric flow : Changing IWALFS

Hello,

It does not appear in the documentation, but if you search for MONIN_OBUKHOV in the src/user_examples/cs_user_parameters-base.c file, you will find an example.

Best regards,

Yvan
by Yvan Fournier
Mon Jan 08, 2024 5:07 pm
Forum: code_saturne usage
Topic: use a deformed mesh (med file)to restart code saturne calculation
Replies: 13
Views: 193533

Re: use a deformed mesh (med file)to restart code saturne calculation

Hello, You can easily convert the rbassin.med file to CSM by using a separate code_saturne run, in "import mesh only" mode. If that mesh has the same connectivity as maillage_bassin, you can directly use the corresponding mesh_input.csm instead of the previous one in the restart. Otherwise...