Search found 4070 matches

by Yvan Fournier
Fri Mar 08, 2024 3:18 am
Forum: code_saturne usage
Topic: Skin friction coefficient calculation
Replies: 5
Views: 113

Re: Skin friction coefficient calculation

Hello, I am not sure about the skin friction coefficient. The wall stresses contain not only the pressure, but some terms related to turbulence (I am not sure about the details, but you can search for "iforbr" in src/base/predvv.f90 for versions 8.0 or older, src/base/cs_solve_navier_stoke...
by Yvan Fournier
Fri Mar 08, 2024 3:05 am
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 14212

Re: streamwise periodicity

Hello, If you exclude the parallel sum, the values you print are those of MPI rank 0. So if none of the cells assigned to rank 0 (depending on the automatic partitioning) are in the selected region, it is normal to have 0. When you add the parallel sums, do you obtain expected values at least for th...
by Yvan Fournier
Fri Mar 08, 2024 12:50 am
Forum: Installation issues
Topic: Problems with Qt5
Replies: 1
Views: 47

Re: Problems with Qt5

Hello, The error message explains it all. If you follow the recommendations on the Wiki here (https://github.com/code-saturne/code_saturne/wiki/Pre-installation:-Linux-distribution-packages), you do not need to use pip to install PyQt. Only use pip if you understand its behavior well enough : unless...
by Yvan Fournier
Tue Mar 05, 2024 11:40 am
Forum: code_saturne users survey
Topic: code_saturne users survey
Replies: 0
Views: 50

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

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

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: 13
Views: 193993

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: 13
Views: 193993

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

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

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