Search found 4091 matches
- Fri Feb 23, 2024 4:51 pm
- Forum: code_saturne usage
- Topic: Define a new field and output it with time
- Replies: 2
- Views: 1756
Re: Define a new field and output it with time
Hello, It seems no one has an example ready for this. But it should be quite simple to do this. You can even create the extra field with the GUI (in the post-processing section), and you then need to compute its values in a user-defined function, such as cs_user_extra_operations.c. Best regards, Yvan
- Thu Feb 22, 2024 7:32 pm
- Forum: code_saturne usage
- Topic: streamwise periodicity
- Replies: 26
- Views: 27895
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...
- Thu Feb 22, 2024 7:25 pm
- Forum: code_saturne usage
- Topic: Restart not taken into account in v7
- Replies: 11
- Views: 19888
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...
- Thu Feb 22, 2024 1:06 am
- Forum: code_saturne usage
- Topic: Restart not taken into account in v7
- Replies: 11
- Views: 19888
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...
- Wed Feb 21, 2024 8:09 pm
- Forum: code_saturne usage
- Topic: Restart not taken into account in v7
- Replies: 11
- Views: 19888
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
Do you have a stack trace in the file indicating a SIGSEGV ?
Best regards,
Yvan
- Wed Feb 21, 2024 5:19 pm
- Forum: code_saturne usage
- Topic: streamwise periodicity
- Replies: 26
- Views: 27895
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 ...
- Fri Feb 16, 2024 11:16 pm
- Forum: code_saturne usage
- Topic: Restart not taken into account in v7
- Replies: 11
- Views: 19888
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 ...
- Fri Feb 16, 2024 11:11 pm
- Forum: code_saturne usage
- Topic: streamwise periodicity
- Replies: 26
- Views: 27895
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 ...
- 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: 1690
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 ...
- 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: 28172
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...