Search found 4070 matches

by Yvan Fournier
Thu Feb 22, 2024 7:32 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 14198

Re: streamwise periodicity

Hello, You need to replace: const cs_real_3_t centroid = domain->mesh_quantities->cell_cen[i]; With: const cs_real_t *centroid = &(domain->mesh_quantities->cell_cen[i*3]); Or the equivalent: const cs_real_t *centroid = domain->mesh_quantities->cell_cen +(i*3); This is due to the array being decl...
by Yvan Fournier
Thu Feb 22, 2024 7:25 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 10395

Re: Restart not taken into account in v7

Hello Daniele, Does RESU/20240215-1025/checkpoint contain a "mesh_input.csm" file or is the mesh input re-imported at each restart ? If the failure occurs just with this file, there might be a file corruption problem. Also, do you check "use unmodified checkpoint mesh in case of resta...
by Yvan Fournier
Thu Feb 22, 2024 1:06 am
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 10395

Re: Restart not taken into account in v7

Hello, This seems to occur in the partitioning stage, before the restart file is read. So I would guess it is independent of the restart. Which partitioning algorithms are you using ? I assume PT-Scotch, if it is installed, as it is the default. If this is the case, does the crash occur before writi...
by Yvan Fournier
Wed Feb 21, 2024 8:09 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 10395

Re: Restart not taken into account in v7

Hello Danièle,

Do you have a stack trace in the file indicating a SIGSEGV ?

Best regards,

Yvan
by Yvan Fournier
Wed Feb 21, 2024 5:19 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 14198

Re: streamwise periodicity

Hello, Regarding the first question, it seems that the code (based on an example) measures the mean mass flow based on the x direction, and averaging it over all interior faces. Depending on your geometry, this might not match with the flow rate you are seeking (for example since you have a varying ...
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: 10395

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

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

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

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

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