Search found 4085 matches

by Yvan Fournier
Tue Mar 12, 2024 11:34 am
Forum: code_saturne usage
Topic: Add source term. Need help
Replies: 1
Views: 1700

Re: Add source term. Need help

Hello,

Yes, check in body forces.

Yvan
by Yvan Fournier
Mon Mar 11, 2024 2:18 pm
Forum: code_saturne usage
Topic: Scalars and RIJ ssg
Replies: 4
Views: 1776

Re: Scalars and RIJ ssg

Hello,

I have suggested to some colleagues more expert in.the turbulence modeling of the code to check this post... I'll ping them again.

Best regards,

Yvan
by Yvan Fournier
Mon Mar 11, 2024 2:16 pm
Forum: code_saturne usage
Topic: Skin friction coefficient calculation
Replies: 5
Views: 4787

Re: Skin friction coefficient calculation

Hello,

Yes the analysis seems correct to me. If anyone with better knowledge of this part of the code has additional details to provide, they ae welcome...

Best regards,

Yvan
by Yvan Fournier
Mon Mar 11, 2024 2:14 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 27165

Re: streamwise periodicity

Hello, There are some user examples in.the documentation but they may not be sufficient. When.the code starts a new time step, the current value is copied into val_pre and the new value is computed. What I suspect is happening in your case is that when the source term user-defined function is called...
by Yvan Fournier
Fri Mar 08, 2024 12:51 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 26
Views: 27165

Re: streamwise periodicity

Hello, Yes, you seem to be using the standard temperature resolution. Do not forget that for enthalpy, you also need to multiply by density and CP. If this is missing your sink term might simply be too small ? What are the other factors (boundary and initial conditions) influencing enthalpy here ? B...
by Yvan Fournier
Fri Mar 08, 2024 3:18 am
Forum: code_saturne usage
Topic: Skin friction coefficient calculation
Replies: 5
Views: 4787

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

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

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

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

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