Search found 4077 matches

by Yvan Fournier
Tue Jan 23, 2024 11:30 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 19203

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

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: 14
Views: 211526

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: 14
Views: 211526

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

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

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: 14
Views: 211526

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...
by Yvan Fournier
Sat Jan 06, 2024 5:35 pm
Forum: code_saturne usage
Topic: Error while launching cs under MacOS
Replies: 3
Views: 215460

Re: Error while launching cs under MacOS

Hello, In the src/base/cs_ale.c file, there is a "_cs_glob_ale_data" structure, and a "cs_glob_ale" pointer pointing to that, but no variable named "_cs_glob_ale". You can try renaming "_cs_glob_ale_data" as "_cs_glob_ale_data_s" for example in that ...
by Yvan Fournier
Sat Jan 06, 2024 5:26 pm
Forum: code_saturne usage
Topic: Cannot launch GUI due to Qt error
Replies: 6
Views: 219246

Re: Cannot launch GUI due to Qt error

Hello, I had not previously noticed that your Qt5 install seems to be local to your home directory, so not from the base Linux distro, but from some other packaging or install system (pip or Conda I assume ?). Which version of Qt was detected at install (this is why logs are mentioned in the forum u...
by Yvan Fournier
Thu Jan 04, 2024 12:42 am
Forum: code_saturne usage
Topic: Time tables
Replies: 3
Views: 120314

Re: Time tables

Hello,

The attached XML provides an example (from our CANYON_STREET test case).

Best regards,

Yvan