Search found 4077 matches

by Yvan Fournier
Tue Mar 05, 2024 11:40 am
Forum: code_saturne users survey
Topic: code_saturne users survey
Replies: 0
Views: 94

code_saturne users survey

The EDF Open-Source Code Valuation Team is launching a survey to improve distribution, support and training for EDF's open source codes, in order to help you achieve and maintain a good level of skill with your tool. We need your feedback to better understand your needs and challenges and how you us...
by Yvan Fournier
Tue Mar 05, 2024 12:50 am
Forum: code_saturne usage
Topic: Scalars and RIJ ssg
Replies: 4
Views: 90

Re: Scalars and RIJ ssg

Hello, the beta coefficient is defined by a field that is activated automatically with this model, but whose values must be set by the user. It is set by default to -1 so that if it is not defined, you get the error message you observed (rather than having no error message but not computing what you...
by Yvan Fournier
Tue Mar 05, 2024 12:46 am
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 19468

Re: streamwise periodicity

Hello, I do not see any obvious error in your code, except that it does not handle parallel summation of values such as total_volume, total_enthalpy, or feedback_term. Unless you sum those using a function such as cs_parall_sum (see examples), your code will be correct only as long as you run on a s...
by Yvan Fournier
Mon Mar 04, 2024 10:47 am
Forum: code_saturne usage
Topic: use a deformed mesh (med file)to restart code saturne calculation
Replies: 14
Views: 211535

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

Hello,

It is possible but I would recommend re-buildi g and installing code_saturne with that version also.

Best regards,

Yvan
by Yvan Fournier
Wed Feb 28, 2024 12:08 am
Forum: code_saturne usage
Topic: use a deformed mesh (med file)to restart code saturne calculation
Replies: 14
Views: 211535

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

Hello, If I understand correctly your issue is about converting a MED file to an older MED version ? The simplest solution (to avoid this) is to build code_saturne with the same MED version as code_aster, or vice-versa. It might also be possible to modify code_saturne's MED output to write in a comp...
by Yvan Fournier
Fri Feb 23, 2024 8:55 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 14156

Re: Restart not taken into account in v7

Hello, To run Valgrind, you need to run it on the cs_solver executable. There are instructions in the user guide for this, but it generally does not work well (or needs additional settings to avoid false positives) on a cluster with a fast network, and with a large mesh, it will be difficult to use ...
by Yvan Fournier
Fri Feb 23, 2024 4:51 pm
Forum: code_saturne usage
Topic: Define a new field and output it with time
Replies: 2
Views: 141

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
by Yvan Fournier
Thu Feb 22, 2024 7:32 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 19468

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

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

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